function dump – French Translation – Keybot Dictionary

Spacer TTN Translation Network TTN TTN Login Deutsch Français Spacer Help
Source Languages Target Languages
Keybot      91 Results   39 Domains
  2 Hits book.cakephp.org  
DS; } $this->_path = $path; } public function read($key) { $xml = Xml::build($this->_path . $key . '.xml'); return Xml::toArray($xml); } // As of 2.3 a dump() method is also required public function dump($key, $data) { // code to dump data to file } }
// dans app/Lib/Configure/MyXmlReader.php App::uses('Xml', 'Utility'); class MyXmlReader implements ConfigReaderInterface { public function __construct($path = null) { if (!$path) { $path = APP . 'Config' . DS; } $this->_path = $path; } public function read($key) { $xml = Xml::build($this->_path . $key . '.xml'); return Xml::toArray($xml); } // Depuis 2.3 une méthode dump() est ausi requise public function dump($key, $data) { // code pour supprimer les données d'un fichier } }