dolibarr  21.0.0-alpha
Public Member Functions | Public Attributes | List of all members
Conf Class Reference

Class to stock current configuration. More...

Inheritance diagram for Conf:
Inheritance graph
[legend]
Collaboration diagram for Conf:
Collaboration graph
[legend]

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

 $mycompany
 To store some setup of generic modules.
 
 $multicompany
 To store properties of multi-company.
 
 $expedition_bon
 To store module status of special module names.
 
 $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)
 
 $standard_menu
 Used to store current menu handler.
 
 $produit
 
 $contrat
 
 $commande
 
 $facture
 
 $adherent
 
 $projet
 

Detailed Description

Class to stock current configuration.

Definition at line 33 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 208 of file conf.class.php.

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 278 of file conf.class.php.

◆ 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 296 of file conf.class.php.

References dol_syslog().

Member Data Documentation

◆ $adherent

Conf::$adherent
Deprecated:
Use member

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

◆ $commande

Conf::$commande
Deprecated:
Use order

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

◆ $contrat

Conf::$contrat
Deprecated:
Use contract

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

◆ $facture

Conf::$facture
Deprecated:
Use invoice

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

◆ $produit

Conf::$produit
Deprecated:
Use product

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

◆ $projet

Conf::$projet
Deprecated:
Use project

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


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