VirtueMart  3.2.14.9808
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
VirtuemartModelReport Class Reference
Inheritance diagram for VirtuemartModelReport:
Inheritance graph
[legend]
Collaboration diagram for VirtuemartModelReport:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 correctTimeOffset (&$inputDate)
 
 setPeriod ()
 
 setPeriodByPreset ()
 
 getItemsByRevenue ($revenue)
 
 getRevenue ($cache=0)
 
 getRevenueSortListOrderQuery ($vendorId, $orderstates, $intervals, $filterorders, $orderdir, $virtuemart_product_id)
 
 getOrderItems ($noLimit=FALSE)
 
 setDatePresets ()
 
 renderDateSelectList ()
 
 renderIntervalsList ()
 
 updateOrderItems ()
 
- 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)
 

Static Public Member Functions

static getRevenueDiag ($vendorId, $orderstates, $intervals, $filterorders, $orderdir, $virtuemart_product_id, $from_period, $until_period)
 
- 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

 $from_period = ''
 
 $until_period = ''
 
- 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

 populateState ()
 
- Protected Member Functions inherited from VmModel
 populateState ()
 
 _createTable ($name, $prefix= 'Table', $config=array())
 
 _getList ($query, $limitstart=0, $limit=0)
 
 _getListCount ($query)
 

Private Attributes

 $date_presets = NULL
 
 $period = NULL
 

Additional Inherited Members

- 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
 

Constructor & Destructor Documentation

VirtuemartModelReport::__construct ( )

Member Function Documentation

VirtuemartModelReport::correctTimeOffset ( $inputDate)
VirtuemartModelReport::getItemsByRevenue (   $revenue)
VirtuemartModelReport::getOrderItems (   $noLimit = FALSE)

Retrieve a list of report items from the database. DONT know why this ???? Patrick Kohl

Author
Wicksj
Parameters
string$noLimitTrue if no record count limit is used, false otherwise
Returns
object List of order objects
VirtuemartModelReport::getRevenue (   $cache = 0)

Retrieve a list of report items from the database.

Parameters
string$noLimitTrue if no record count limit is used, false otherwise
Returns
object List of order objects
static VirtuemartModelReport::getRevenueDiag (   $vendorId,
  $orderstates,
  $intervals,
  $filterorders,
  $orderdir,
  $virtuemart_product_id,
  $from_period,
  $until_period 
)
static
VirtuemartModelReport::getRevenueSortListOrderQuery (   $vendorId,
  $orderstates,
  $intervals,
  $filterorders,
  $orderdir,
  $virtuemart_product_id 
)
VirtuemartModelReport::populateState ( )
protected
VirtuemartModelReport::renderDateSelectList ( )
VirtuemartModelReport::renderIntervalsList ( )
VirtuemartModelReport::setDatePresets ( )
VirtuemartModelReport::setPeriod ( )
VirtuemartModelReport::setPeriodByPreset ( )
VirtuemartModelReport::updateOrderItems ( )

Member Data Documentation

VirtuemartModelReport::$date_presets = NULL
private
VirtuemartModelReport::$from_period = ''
VirtuemartModelReport::$period = NULL
private
VirtuemartModelReport::$until_period = ''

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