previousConfig_Container::updateAttributes (Previous) (Next) Consolenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Config_Container::writeDatasrc

Config_Container::writeDatasrc() – Écrire l'item dans le fichier

Synopsis

require_once 'Config/Container.php';

booléen Config_Container::writeDatasrc ( mixed $datasrc , chaîne $configType , tableau $options = array() )

Description

Par defaut, cette méthode écrit une nouvelle chaîne dans un fichier avec la méthode toString() . Si la méthode writeDatasrc() existe dans le type de configuration choisie, cette méthode sera appelée à la place. Ceci est permis pour plus de flexibilité et rend possible d'ajouter vos propres gestionnaires de sauvegarde.

Parameter

mixed $datasrc

Information sur la source de données, comme le chemin vers le fichier de configuration ou le DSN...

string $configType

Type de configuration

array $options

Options

Return value

Retourne TRUE en cas de réussite.

Throws

Note

This function can not be called statically.

previousConfig_Container::updateAttributes (Previous) (Next) Consolenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.