|
| __construct () |
|
| getCalc ($id=0) |
|
| getCalcs ($onlyPublished=false, $noLimit=false, $search=false) |
|
| store (&$data) |
|
| remove ($cids) |
|
| __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) |
|
VirtueMartModelCalc::__construct |
( |
| ) |
|
Constructor for the calc model.
The calc id is read and detmimined if it is an array of ids or just one single id.
- Author
- RickG
VirtueMartModelCalc::getCalc |
( |
|
$id = 0 | ) |
|
Retrieve the detail record for the current $id if the data has not already been loaded.
- Author
- Max Milbers
VirtueMartModelCalc::getCalcs |
( |
|
$onlyPublished = false , |
|
|
|
$noLimit = false , |
|
|
|
$search = false |
|
) |
| |
Retrieve a list of calculation rules from the database.
- Author
- Max Milbers
- Parameters
-
string | $onlyPuiblished | True to only retreive the published Calculation rules, false otherwise |
string | $noLimit | True if no record count limit is used, false otherwise |
- Returns
- object List of calculation rule objects
static VirtueMartModelCalc::getDADiscounts |
( |
| ) |
|
|
static |
static VirtueMartModelCalc::getDBDiscounts |
( |
| ) |
|
|
static |
static VirtueMartModelCalc::getDiscounts |
( |
| ) |
|
|
static |
static VirtueMartModelCalc::getRule |
( |
|
$kind | ) |
|
|
static |
static VirtueMartModelCalc::getTaxes |
( |
| ) |
|
|
static |
VirtueMartModelCalc::remove |
( |
|
$cids | ) |
|
Delete all calcs selected
- Author
- Max Milbers
- Parameters
-
array | $cids | categories to remove |
- Returns
- boolean if the item remove was successful
VirtueMartModelCalc::store |
( |
& |
$data | ) |
|
Bind the post data to the calculation 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:
- administrator/components/com_virtuemart/models/calc.php