|
| __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...
|
|
◆ _cleanObjectDatas()
Supplierproposals::_cleanObjectDatas |
( |
|
$object | ) |
|
|
protected |
◆ _validate()
Supplierproposals::_validate |
( |
|
$data | ) |
|
|
private |
◆ get()
Supplierproposals::get |
( |
|
$id | ) |
|
Get properties of a supplier proposal (price request) object.
Return an array with supplier proposal informations
- Parameters
-
int | $id | ID of supplier proposal |
- Returns
- array|mixed data without useless information
- Exceptions
-
Definition at line 65 of file api_supplier_proposals.class.php.
◆ index()
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') {@pattern /^[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.
The documentation for this class was generated from the following file: