[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/phpgwapi/inc/ -> class.config.inc.php (sommaire)

(pas de description)

Poids: 162 lignes (5 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

config:: (7 méthodes):
  config()
  read_repository()
  save_repository()
  save_value()
  delete_repository()
  delete_value()
  value()


Classe: config  - X-Ref

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