claroline/claroline/inc/lib/config.lib.inc.php File Reference

Go to the source code of this file.

Namespaces

namespace  CONFIG

Functions

 trueFalse ($booleanState)
 claro_get_conf_def_file ($configCode)
 generate_conf (&$config, $properties=null)
 get_def_folder_list ($type= 'all')
 get_config_code_list ($type= 'all')
 get_config_code_class_list ($type= 'all')

Function Documentation

claro_get_conf_def_file ( configCode  ) 

return the path of a def file following the configCode

Parameters:
string $configCode
Returns:
path
Todo:
$centralizedDef won't be hardcoded.

Definition at line 117 of file config.lib.inc.php.

generate_conf ( &$  config,
properties = null 
)

Generate the conf for a given config

Parameters:
object $config instance of config to manage.
array $properties array of properties to changes
Returns:
array list of messages and error tag

Definition at line 133 of file config.lib.inc.php.

get_config_code_class_list ( type = 'all'  ) 

Return config code list with name and class of the configuration

Definition at line 235 of file config.lib.inc.php.

get_config_code_list ( type = 'all'  ) 

Return array list of found definition files

Returns:
array list of found definition files

Definition at line 207 of file config.lib.inc.php.

get_def_folder_list ( type = 'all'  ) 

Return list of folder where we can retrieve definition configuration file

Definition at line 178 of file config.lib.inc.php.

trueFalse ( booleanState  ) 

The boolean value as string

Parameters:
$booleanState boolean
Returns:
string boolean value as string

Definition at line 103 of file config.lib.inc.php.

Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3