|
|
| __construct () |
| | Constructor.
|
| |
| | get ($id) |
| | Get properties of a supplier proposal (price request) object. More...
|
| |
| | index ($sortfield="t.rowid", $sortorder= 'ASC', $limit=100, $page=0, $thirdparty_ids= '', $sqlfilters= '') |
| | List supplier proposals. More...
|
| |
| | __construct ($db, $cachedir= '', $refreshCache=false) |
| | Constructor. More...
|
| |
| Supplierproposals::_cleanObjectDatas |
( |
|
$object | ) |
|
|
protected |
| Supplierproposals::_validate |
( |
|
$data | ) |
|
|
private |
Validate fields before create or update object.
- Parameters
-
| array | $data | Array with data to verify |
- Returns
- array
- Exceptions
-
Definition at line 180 of file api_supplier_proposals.class.php.
| Supplierproposals::get |
( |
|
$id | ) |
|
| Supplierproposals::index |
( |
|
$sortfield = "t.rowid", |
|
|
|
$sortorder = 'ASC', |
|
|
|
$limit = 100, |
|
|
|
$page = 0, |
|
|
|
$thirdparty_ids = '', |
|
|
|
$sqlfilters = '' |
|
) |
| |
List supplier proposals.
Get a list of supplier proposals
- Parameters
-
| string | $sortfield | Sort field |
| string | $sortorder | Sort order |
| int | $limit | Limit for list |
| int | $page | Page number |
| string | $thirdparty_ids | Thirdparty ids to filter supplier proposals (example '1' or '1,2,3') { /^[0-9,]*$/i} |
| string | $sqlfilters | Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.datec:<:'20160101')" |
- Returns
- array Array of order objects
Definition at line 97 of file api_supplier_proposals.class.php.
References DolibarrApi\_checkFilters(), _cleanObjectDatas(), and db.
The documentation for this class was generated from the following file: