dolibarr 24.0.0-beta
Conf Class Reference

Class to stock current configuration. More...

Inheritance diagram for Conf:
Collaboration diagram for Conf:

Public Member Functions

 __construct ()
 Constructor.
 
 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.
 
 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.
 

Detailed Description

Class to stock current configuration.

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

Constructor & Destructor Documentation

◆ __construct()

Conf::__construct ( )

Constructor.

Charset for HTML output and for storing data in memory

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

References user.

Member Function Documentation

◆ setEntityValues()

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.

Parameters
DoliDB$dbDatabase handler
int$entityEntity to get
Returns
int Return integer < 0 if KO, >= 0 if OK

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

References setValues().

◆ setValues()

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.

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

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

References dol_buildpath(), dol_include_once(), dol_osencode(), dol_sanitizeFileName(), dol_syslog(), dolDecrypt(), getDolGlobalInt(), getDolGlobalString(), isModEnabled(), and user.

Referenced by setEntityValues().


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