Definition at line 30 of file api_agendaevents.class.php.
◆ _cleanObjectDatas()
AgendaEvents::_cleanObjectDatas |
( |
|
$object | ) |
|
|
protected |
Clean sensible object datas.
- Parameters
-
Object | $object | Object to clean |
- Returns
- Object Object with cleaned properties
Reimplemented from DolibarrApi.
Definition at line 354 of file api_agendaevents.class.php.
◆ _validate()
AgendaEvents::_validate |
( |
|
$data | ) |
|
|
private |
◆ delete()
AgendaEvents::delete |
( |
|
$id | ) |
|
◆ get()
Get properties of a Agenda Events object.
Return an array with Agenda Events informations
- Parameters
-
- Returns
- array|mixed Data without useless information
- Exceptions
-
Definition at line 65 of file api_agendaevents.class.php.
◆ index()
AgendaEvents::index |
( |
|
$sortfield = "t.id" , |
|
|
|
$sortorder = 'ASC' , |
|
|
|
$limit = 100 , |
|
|
|
$page = 0 , |
|
|
|
$user_ids = 0 , |
|
|
|
$sqlfilters = '' |
|
) |
| |
List Agenda Events.
Get a list of Agenda Events
- Parameters
-
string | $sortfield | Sort field |
string | $sortorder | Sort order |
int | $limit | Limit for list |
int | $page | Page number |
string | $user_ids | User ids filter field (owners of event). Example: '1' or '1,2,3' {@pattern /^[0-9,]*$/i} |
string | $sqlfilters | Other criteria to filter answers separated by a comma. Syntax example "(t.label:like:'%dol%') and (t.datec:<:'20160101')" |
- Returns
- array Array of Agenda Events objects
Definition at line 106 of file api_agendaevents.class.php.
◆ post()
AgendaEvents::post |
( |
|
$request_data = null | ) |
|
Create Agenda Event object.
- Parameters
-
array | $request_data | Request data |
- Returns
- int ID of Agenda Event
Definition at line 208 of file api_agendaevents.class.php.
◆ put()
AgendaEvents::put |
( |
|
$id, |
|
|
|
$request_data = null |
|
) |
| |
Update Agenda Event general fields.
- Parameters
-
int | $id | Id of Agenda Event to update |
array | $request_data | Datas |
- Returns
- int
Definition at line 247 of file api_agendaevents.class.php.
The documentation for this class was generated from the following file: