Affiliates
Create, update and delete affiliates.
Methods
Invoke via \Components\Commerce\Affiliates::method()
Click a method name to copy it.
Returns the current affiliation
Deletes a record from the database
Parameters
$iAffiliateId
int unsigned
A record's affiliate_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$iAffiliateId
int unsigned
A record's affiliate_id
Return a set of records from the database
Gets a single field from a record
Parameters
$iAffiliateId
int unsigned
A record's affiliate_id
Returns the number of records in the database (matching the filter if specified)
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$iAffiliateId
int unsigned
A record's affiliate_id
Return
Array of
Affiliates that match the search query.