| [ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 162 lignes (5 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
config:: (7 méthodes):
config()
read_repository()
save_repository()
save_value()
delete_repository()
delete_value()
value()
| config($appname = '') X-Ref |
| Pas de description |
| read_repository() X-Ref |
| reads the whole repository for $this->appname, appname has to be set via the constructor the whole config-array for that app |
| save_repository() X-Ref |
| updates the whole repository for $this->appname, you have to call read_repository() before (!) |
| save_value($name,$value,$app=False) X-Ref |
| updates or insert a single config-value param: $name string name of the config-value param: $value mixed content param: $app string app-name, defaults to $this->appname set via the constructor |
| delete_repository() X-Ref |
| deletes the whole repository for $this->appname, appname has to be set via the constructor |
| delete_value($variable_name) X-Ref |
| deletes a single value from the repository, you need to call save_repository after param: $variable_name string name of the config |
| value($variable_name,$variable_data) X-Ref |
| sets a single value in the repositry, you need to call save_repository after param: $variable_name string name of the config param: $variable_data mixed the content |
| Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |