Brands
Access, create, update and delete the brands of products that you sell online.
Methods
Invoke via \Components\Commerce\Products\Brands::method()
Click a method name to copy it.
Deletes a record from the database
Parameters
$tProductBrandId
tinyint unsigned
A record's product_brand_id
Return
Returns true if record existed and was deleted, otherwise false
Gets a record from the database
Parameters
$tProductBrandId
tinyint unsigned
A record's product_brand_id
Return a set of records from the database
Returns all brands for a given category
Gets a single field from a record
Parameters
$tProductBrandId
tinyint unsigned
A record's product_brand_id
Returns the number of records in the database (matching the filter if specified)
Retrieves a brand from its page URI suffix
Saves a record into the database
Saves a specific column of a row into a database
Parameters
$tProductBrandId
tinyint unsigned
A record's product_brand_id
Return
Array of
Brands that match the search query.