|
| | __construct () |
| |
| | getSingleState ($id=0) |
| |
| | getStates ($countryId, $noLimit=false, $published=false) |
| |
| | store (&$data) |
| |
| | remove ($ids) |
| |
| | __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 | testStateCountry (&$countryId, &$stateId) |
| |
| 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) |
| |
| VirtueMartModelState::__construct |
( |
| ) |
|
constructs a VmModel setMainTable defines the maintable of the model
- Author
- Max Milbers
| VirtueMartModelState::getSingleState |
( |
|
$id = 0 | ) |
|
Retrieve the detail record for the current $id if the data has not already been loaded.
Renamed to getSingleState to avoid overwriting by jseros
- Author
- Max Milbers
| VirtueMartModelState::getStates |
( |
|
$countryId, |
|
|
|
$noLimit = false, |
|
|
|
$published = false |
|
) |
| |
Retireve a list of countries from the database.
- Author
- RickG, Max Milbers
- Returns
- object List of state objects
| VirtueMartModelState::remove |
( |
|
$ids | ) |
|
| VirtueMartModelState::store |
( |
& |
$data | ) |
|
| static VirtueMartModelState::testStateCountry |
( |
& |
$countryId, |
|
|
& |
$stateId |
|
) |
| |
|
static |
Tests if a state and country fits together and if they are published
- Author
- Max Milbers
- Returns
- String Attention, this function gives a 0=false back in case of success
The documentation for this class was generated from the following file:
- administrator/components/com_virtuemart/models/state.php