dolibarr 21.0.0-alpha
|
Class of dictionary of opportunity status. More...
Public Member Functions | |
__construct ($db) | |
Constructor. | |
create ($user, $notrigger=0) | |
Create object into database. | |
fetch ($id, $code='') | |
Load object in memory from database. | |
fetchAll ($sortorder='', $sortfield='', $limit=0, $offset=0, $filter='', $filtermode='AND') | |
Load list of objects in memory from the database. | |
update ($user=null, $notrigger=0) | |
Update object into database. | |
delete ($user, $notrigger=0) | |
Delete object in database. | |
Class of dictionary of opportunity status.
Definition at line 33 of file cleadstatus.class.php.
CLeadStatus::__construct | ( | $db | ) |
Constructor.
Definition at line 66 of file cleadstatus.class.php.
CLeadStatus::create | ( | $user, | |
$notrigger = 0 ) |
Create object into database.
Definition at line 79 of file cleadstatus.class.php.
References dol_syslog(), and position.
CLeadStatus::delete | ( | $user, | |
$notrigger = 0 ) |
Delete object in database.
Definition at line 301 of file cleadstatus.class.php.
References dol_syslog().
CLeadStatus::fetch | ( | $id, | |
$code = '' ) |
Load object in memory from database.
int | $id | Id of CUnit object to fetch (rowid) |
string | $code | Code |
Definition at line 123 of file cleadstatus.class.php.
References position.
CLeadStatus::fetchAll | ( | $sortorder = '', | |
$sortfield = '', | |||
$limit = 0, | |||
$offset = 0, | |||
$filter = '', | |||
$filtermode = 'AND' ) |
Load list of objects in memory from the database.
string | $sortorder | Sort Order |
string | $sortfield | Sort field |
int | $limit | Limit |
int | $offset | Offset |
string | $filter | Filter USF |
string | $filtermode | Filter mode (AND or OR) |
Definition at line 177 of file cleadstatus.class.php.
References dol_syslog(), and forgeSQLFromUniversalSearchCriteria().
CLeadStatus::update | ( | $user = null, | |
$notrigger = 0 ) |
Update object into database.
Definition at line 266 of file cleadstatus.class.php.
References dol_syslog(), and position.