VirtueMart  3.2.14.9808
Public Member Functions | List of all members
VirtueMartModelVirtueMart Class Reference
Inheritance diagram for VirtueMartModelVirtueMart:
Inheritance graph
[legend]
Collaboration diagram for VirtueMartModelVirtueMart:
Collaboration graph
[legend]

Public Member Functions

 getTotalCustomers ()
 
 getTotalActiveProducts ()
 
 getTotalInActiveProducts ()
 
 getTotalFeaturedProducts ()
 
 getTotalOrdersByStatus ()
 
 getRecentOrders ($nbrOrders=5)
 
 getRecentCustomers ($nbrCusts=5)
 
- Public Member Functions inherited from VmModel
 __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 ()
 
- Public Member Functions inherited from vObject
 __toString ()
 
 get ($prop, $def=null)
 
 set ($prop, $value=null)
 
 setProperties ($props)
 

Additional Inherited Members

- Static Public Member Functions inherited from VmModel
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)
 
- Public Attributes inherited from VmModel
 $_id = 0
 
 $_data = null
 
 $_query = null
 
 $_total = null
 
 $_pagination = 0
 
 $_limit = 0
 
 $_limitStart = 0
 
 $_maintable = ''
 
 $_maintablename = ''
 
 $_idName = ''
 
 $_cidName = 'cid'
 
 $_togglesName = null
 
 $_selectedOrderingDir = 'DESC'
 
 $_noLimit = false
 
 $_tablePreFix = ''
 
 $_validOrderingFieldName = array()
 
 $_validFilterDir = array('ASC','DESC')
 
- Protected Member Functions inherited from VmModel
 populateState ()
 
 _createTable ($name, $prefix= 'Table', $config=array())
 
 _getList ($query, $limitstart=0, $limit=0)
 
 _getListCount ($query)
 
- Static Protected Member Functions inherited from VmModel
static _createFileName ($type, $parts=array())
 
- Protected Attributes inherited from VmModel
 $__state_set = null
 
 $name
 
 $option = null
 
 $state
 
 $event_clean_cache = null
 
 $_maxItems = 1000
 

Member Function Documentation

VirtueMartModelVirtueMart::getRecentCustomers (   $nbrCusts = 5)

Gets a list of recent customers

Author
RickG
Returns
ObjectList List of recent orders.
VirtueMartModelVirtueMart::getRecentOrders (   $nbrOrders = 5)

Gets a list of recent orders

Author
RickG
Returns
ObjectList List of recent orders.
VirtueMartModelVirtueMart::getTotalActiveProducts ( )

Gets the total number of active products

Author
RickG
Returns
int Total number of active products in the database
VirtueMartModelVirtueMart::getTotalCustomers ( )

Gets the total number of customers

Author
RickG
Returns
int Total number of customers in the database
VirtueMartModelVirtueMart::getTotalFeaturedProducts ( )

Gets the total number of featured products

Author
RickG
Returns
int Total number of featured products in the database
VirtueMartModelVirtueMart::getTotalInActiveProducts ( )

Gets the total number of inactive products

Author
RickG
Returns
int Total number of inactive products in the database
VirtueMartModelVirtueMart::getTotalOrdersByStatus ( )

Gets the total number of orders with the given status

Author
RickG
Returns
int Total number of orders with the given status

The documentation for this class was generated from the following file: