|
dolibarr
x.y.z
|
Class to stock current configuration. More...
Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| setEntityValues ($db, $entity) | |
| Load setup values into conf object (read llx_const) for a specified entity Note that this->db->xxx, this->file->xxx and this->multicompany have been already loaded when setEntityValues is called. More... | |
| setValues ($db) | |
| Load setup values into conf object (read llx_const) Note that this->db->xxx, this->file->xxx have been already set when setValues is called. More... | |
Public Attributes | |
| $global | |
| To store properties found into database. | |
| $browser | |
| To store browser info. | |
| $use_javascript_ajax | |
| To store if javascript/ajax is enabked. | |
| $disable_compute | |
| To store if javascript/ajax is enabked. | |
| $currency | |
| Used to store current currency (ISO code like 'USD', 'EUR', ...). To get the currency symbol: $langs->getCurrencySymbol($this->currency) | |
| $theme | |
| Used to store current css (from theme) | |
| $standard_menu | |
| Used to store current menu handler. | |
| $multicompany | |
| To store properties of multi-company. | |
| $entity = 1 | |
| Used to store running instance for multi-company (default 1) | |
| $entities = array() | |
| Used to store list of entities to use for each element. | |
Class to stock current configuration.
Definition at line 33 of file conf.class.php.
| Conf::__construct | ( | ) |
Constructor.
Charset for HTML output and for storing data in memory
Definition at line 102 of file conf.class.php.
| Conf::setEntityValues | ( | $db, | |
| $entity | |||
| ) |
Load setup values into conf object (read llx_const) for a specified entity Note that this->db->xxx, this->file->xxx and this->multicompany have been already loaded when setEntityValues is called.
Definition at line 175 of file conf.class.php.
| Conf::setValues | ( | $db | ) |
Load setup values into conf object (read llx_const) Note that this->db->xxx, this->file->xxx have been already set when setValues is called.
Definition at line 193 of file conf.class.php.
References dol_syslog().