| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 1372 lignes (53 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Horde_Config:: (15 méthodes):
Horde_Config()
readXMLConfig()
getPHPConfig()
generatePHPConfig()
_generatePHPConfig()
_parseLevel()
_configSQL()
_configVFS()
_default()
_defaultRaw()
_getNodeOnlyText()
_getEnumValues()
_getSwitchValues()
_handleSpecials()
_quote()
ConfigForm:: (2 méthodes):
ConfigForm()
_buildVariables()
Horde_Config_Document:: (3 méthodes):
factory()
Horde_Config_Document()
root()
Horde_Config_Node:: (8 méthodes):
Horde_Config_Node()
__get()
child_nodes()
first_child()
get_content()
has_child_nodes()
next_sibling()
node_value()
Horde_Config_Element:: (1 méthode):
get_attribute()
Classe: Horde_Config - X-Ref
The Config:: package provides a framework for managing the| Horde_Config($app) X-Ref |
| Constructor. param: string $app The name of the application to be configured. |
| readXMLConfig($custom_conf = null) X-Ref |
| Reads the application's conf.xml file and builds an associative array from its XML tree. param: array $custom_conf Any settings that shall be included in the return: array An associative array representing the configuration tree. |
| getPHPConfig() X-Ref |
| Returns the file content of the current configuration file. return: string The unparsed configuration file content. |
| generatePHPConfig($formvars, $custom_conf = null) X-Ref |
| Generates the content of the application's configuration file. param: Variables $formvars The processed configuration form data. param: array $custom_conf Any settings that shall be included in the return: string The content of the generated configuration file. |
| _generatePHPConfig($section, $prefix, $formvars) X-Ref |
| Generates the configuration file items for a part of the configuration tree. param: array $section An associative array containing the part of the param: string $prefix A configuration prefix determining the current param: Variables $formvars The processed configuration form data. |
| _parseLevel(&$conf, $children, $ctx) X-Ref |
| Parses one level of the configuration XML tree into the associative array containing the traversed configuration tree. param: array &$conf The already existing array where the processed param: array $children An array containing the XML nodes of the level param: string $ctx A string representing the current position |
| _configSQL($ctx, $node = null, $switchname = 'driverconfig') X-Ref |
| Returns the configuration tree for an SQL backend configuration to replace a <configsql> tag. Subnodes will be parsed and added to both the Horde defaults and the Custom configuration parts. param: string $ctx The context of the <configsql> tag. param: DomNode $node The DomNode representation of the <configsql> param: string $switchname If DomNode is not set, the value of the return: array An associative array with the SQL configuration tree. |
| _configVFS($ctx, $node) X-Ref |
| Returns the configuration tree for a VFS backend configuration to replace a <configvfs> tag. Subnodes will be parsed and added to both the Horde defaults and the Custom configuration parts. param: string $ctx The context of the <configvfs> tag. param: DomNode $node The DomNode representation of the <configvfs> return: array An associative array with the VFS configuration tree. |
| _default($ctx, $default) X-Ref |
| Returns a certain value from the current configuration array or a default value, if not found. param: string $ctx A string representing the key of the param: mixed $default The default value to return if the key wasn't return: mixed Either the value of the configuration array's requested |
| _defaultRaw($ctx, $default) X-Ref |
| Returns a certain value from the current configuration file or a default value, if not found. It does NOT return the actual value, but the PHP expression as used in the configuration file. param: string $ctx A string representing the key of the param: mixed $default The default value to return if the key wasn't return: mixed Either the value of the configuration file's requested |
| _getNodeOnlyText($node) X-Ref |
| Returns the content of all text node children of the specified node. param: DomNode $node A DomNode object whose text node children to return. return: string The concatenated values of all text nodes. |
| _getEnumValues($node) X-Ref |
| Returns an associative array containing all possible values of the specified <configenum> tag. The keys contain the actual enum values while the values contain their corresponding descriptions. param: DomNode $node The DomNode representation of the <configenum> tag return: array An associative array with all possible enum values. |
| _getSwitchValues(&$node, $curctx) X-Ref |
| Returns a multidimensional associative array representing the specified <configswitch> tag. param: DomNode &$node The DomNode representation of the <configswitch> return: array An associative array representing the node. |
| _handleSpecials($node) X-Ref |
| Returns an associative array containing the possible values of a <configspecial> tag as used inside of enum configurations. param: DomNode $node The DomNode representation of the <configspecial> return: array An associative array with the possible values. |
| _quote($string) X-Ref |
| Returns the specified string with escaped single quotes param: string $string A string to escape. return: string The specified string with single quotes being escaped. |
Classe: ConfigForm - X-Ref
A Horde_Form:: form that implements a user interface for the config| ConfigForm(&$vars, $app) X-Ref |
| Constructor. param: Variables &$vars The Variables object of this form. param: string $app The name of the application that this |
| _buildVariables($config, $prefix = '') X-Ref |
| Builds the form based on the specified level of the configuration tree. param: array $config The portion of the configuration tree for that param: string $prefix A string representing the current position |
Classe: Horde_Config_Document - X-Ref
Classe: Horde_Config_Node - X-Ref
| Horde_Config_Node($aDomNode) X-Ref |
| Pas de description |
| __get($name) X-Ref |
| Pas de description |
| child_nodes() X-Ref |
| Pas de description |
| first_child() X-Ref |
| Pas de description |
| get_content() X-Ref |
| Pas de description |
| has_child_nodes() X-Ref |
| Pas de description |
| next_sibling() X-Ref |
| Pas de description |
| node_value() X-Ref |
| Pas de description |
Classe: Horde_Config_Element - X-Ref
| get_attribute($name) X-Ref |
| Pas de description |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |