|
| __construct () |
|
| getManufacturer ($id=0) |
|
| store (&$data) |
|
| remove ($ids) |
|
| getManufacturerDropdown () |
|
| getManufacturers ($onlyPublished=false, $noLimit=false, $getMedia=false) |
|
| __construct ($cidName='cid', $config=array()) |
|
| setDebugSql ($b) |
|
| getName () |
|
| setState ($property, $value=null) |
|
| getState ($property=null, $default=null) |
|
| getTable ($name= '', $prefix= 'Table', $options=array()) |
|
| setIdName ($idName) |
|
| getIdName () |
|
| getId () |
|
| setId ($id) |
|
| setMainTable ($maintablename, $maintable=0) |
|
| getDefaultOrdering () |
|
| addvalidOrderingFieldName ($add) |
|
| removevalidOrderingFieldName ($name) |
|
| setDefaultValidOrderingFields ($defaultTable=null) |
|
| _getOrdering ($preTable='') |
|
| checkFilterOrder ($toCheck, $view=0, $task= '') |
|
| checkValidOrderingFieldName ($toCheck) |
|
| checkFilterDir ($toCheck, $view=0, $task= '') |
|
| getPagination ($perRow=5) |
|
| setPaginationLimits () |
|
| getTotal () |
|
| setGetCount ($withCount) |
|
| exeSortSearchListQuery ($object, $select, $joinedTables, $whereString= '', $groupBy= '', $orderBy= '', $filter_order_Dir= '', $nbrReturnProducts=false) |
|
| emptyCache () |
|
| getData ($id=0) |
|
| store (&$data) |
|
| remove ($ids) |
|
| setToggleName ($togglesName) |
|
| toggle ($field, $val=NULL, $cidname=0, $tablename=0, $view=false) |
|
| move ($direction, $filter=null) |
|
| saveorder ($cid=array(), $order, $filter=null) |
|
| addImages ($obj, $limit=0) |
|
| resetErrors () |
|
| __toString () |
|
| get ($prop, $def=null) |
|
| set ($prop, $value=null) |
|
| setProperties ($props) |
|
|
static | getManufacturersOfProductsInCategory ($virtuemart_category_id, $vmlang, $mlang=false) |
|
static | addTablePath ($path) |
|
static | addIncludePath ($path= '', $prefix= '') |
|
static | getInstance ($type, $prefix= '', $config=array()) |
|
static | getModel ($name=false) |
|
static | joinLangTables ($tablename, $prefix, $on, $method=0) |
|
static | joinLangSelectFields ($langFields, $as=true) |
|
static | joinLangLikeFields ($langFields, $keyword) |
|
static | joinLangLikeField ($searchField, $keyword) |
|
VirtueMartModelManufacturer::__construct |
( |
| ) |
|
constructs a VmModel setMainTable defines the maintable of the model
- Author
- Max Milbers
VirtueMartModelManufacturer::getManufacturer |
( |
|
$id = 0 | ) |
|
Load a single manufacturer
VirtueMartModelManufacturer::getManufacturerDropdown |
( |
| ) |
|
Returns a dropdown menu with manufacturers
- Author
- Max Milbers
- Returns
- object List of manufacturer to build filter select box
VirtueMartModelManufacturer::getManufacturers |
( |
|
$onlyPublished = false , |
|
|
|
$noLimit = false , |
|
|
|
$getMedia = false |
|
) |
| |
Retireve a list of countries from the database.
- Parameters
-
string | $onlyPuiblished | True to only retreive the publish countries, false otherwise |
string | $noLimit | True if no record count limit is used, false otherwise |
- Returns
- object List of manufacturer objects
static VirtueMartModelManufacturer::getManufacturersOfProductsInCategory |
( |
|
$virtuemart_category_id, |
|
|
|
$vmlang, |
|
|
|
$mlang = false |
|
) |
| |
|
static |
VirtueMartModelManufacturer::remove |
( |
|
$ids | ) |
|
VirtueMartModelManufacturer::store |
( |
& |
$data | ) |
|
Bind the post data to the manufacturer table and save it
- Author
- Max Milbers
- Returns
- boolean True is the save was successful, false otherwise.
The documentation for this class was generated from the following file: