dolibarr  7.0.0-beta
Public Member Functions | Public Attributes | List of all members
Conf Class Reference

Class to stock current configuration. More...

Public Member Functions

 __construct ()
 Constructor. More...
 
 setValues ($db)
 Load setup values into conf object (read llx_const) Note that this->db->xxx, this->file->xxx and this->multicompany have been already loaded when setValues is called. More...
 

Public Attributes

 $file
 To store properties found in conf file.
 
 $db
 Object with database handler.
 
 $global
 To store properties found into database.
 
 $use_javascript_ajax
 To store if javascript/ajax is enabked.
 
 $currency
 Used to store current 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.
 

Detailed Description

Class to stock current configuration.

Definition at line 33 of file conf.class.php.

Constructor & Destructor Documentation

Conf::__construct ( )

Constructor.

Charset for HTML output and for storing data in memory

Definition at line 80 of file conf.class.php.

References user.

Member Function Documentation

Conf::setValues (   $db)

Load setup values into conf object (read llx_const) Note that this->db->xxx, this->file->xxx and this->multicompany have been already loaded when setValues is called.

Parameters
DoliDB$dbDatabase handler
Returns
int < 0 if KO, >= 0 if OK

Definition at line 126 of file conf.class.php.

References $db, $file, $resql, dol_buildpath(), dol_include_once(), dol_osencode(), dol_sanitizeFileName(), dol_syslog(), if, and user.


The documentation for this class was generated from the following file: