dolibarr 20.0.2
|
Class Cchargesociales. More...
Public Member Functions | |
__construct (DoliDB $db) | |
Constructor. | |
create (User $user, $notrigger=0) | |
Create object into database. | |
fetch ($id, $ref=null) | |
Load object in memory from the database. | |
update (User $user, $notrigger=0) | |
Update object into database. | |
delete (User $user, $notrigger=0) | |
Delete object in database. | |
LibStatut ($status, $mode=0) | |
Load an object from its id and create a new one in database. | |
initAsSpecimen () | |
Initialise object with example values Id must be 0 if object instance is a specimen. | |
Private Member Functions | |
trimParameters ($parameters) | |
Trim object parameters. | |
Class Cchargesociales.
Definition at line 36 of file cchargesociales.class.php.
Cchargesociales::__construct | ( | DoliDB | $db | ) |
Constructor.
Definition at line 88 of file cchargesociales.class.php.
Cchargesociales::create | ( | User | $user, |
$notrigger = 0 ) |
Create object into database.
Definition at line 100 of file cchargesociales.class.php.
References dol_syslog(), and trimParameters().
Cchargesociales::delete | ( | User | $user, |
$notrigger = 0 ) |
Delete object in database.
Definition at line 316 of file cchargesociales.class.php.
References dol_syslog().
Cchargesociales::fetch | ( | $id, | |
$ref = null ) |
Load object in memory from the database.
int | $id | Id object |
string | $ref | Ref |
Definition at line 184 of file cchargesociales.class.php.
References dol_syslog().
Cchargesociales::initAsSpecimen | ( | ) |
Initialise object with example values Id must be 0 if object instance is a specimen.
Definition at line 520 of file cchargesociales.class.php.
Cchargesociales::LibStatut | ( | $status, | |
$mode = 0 ) |
Load an object from its id and create a new one in database.
int | $withpicto | Include picto in link (0=No picto, 1=Include picto into link, 2=Only picto) |
string | $option | On what the link point to |
integer | $notooltip | 1=Disable tooltip |
int | $maxlen | Max length of visible user name |
string | $morecss | Add more css on link |
int | $mode | 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto |
int | $status | Id status |
int | $mode | 0=long label, 1=short label, 2=Picto + short label, 3=Picto, 4=Picto + long label, 5=Short label + Picto, 6=Long label + Picto |
Definition at line 468 of file cchargesociales.class.php.
References img_picto().
|
private |
Trim object parameters.
string[] | $parameters | array of parameters to trim |
Definition at line 541 of file cchargesociales.class.php.
Cchargesociales::update | ( | User | $user, |
$notrigger = 0 ) |
Update object into database.
Definition at line 243 of file cchargesociales.class.php.
References dol_syslog(), and trimParameters().