Add item
integer
addItem
(array $data)
-
array
$data: Statistics data:
- service integer - Service type
- access integer - Access type
- layers string - Requested layers separated by comma
- size integer - Size of the data requested
- user_id integer - If option is set saves the id of the requesting user
- imageSize array - Size in width and height of the image
- extent array - Extent of the window
Get data for charts
Zend_Db_Table_Rowset
getChartItems
([ $options = array()])
-
array
$options: Available options:
- interval integer - Number of intervals to create
- whereServices array - Fetch rows that match the services
- whereAccesses array - Fetch rows that match the accesses
- whereDateInterval array - Get elements between the start time and end time
- whereAccountLike string - Get elements with users.account like the passed string
Get service requests totals
Zend_Db_Table_Rowset
getTotals
([ $options = array()])
-
array
$options: Available options:
- whereServices array - Fetch rows that match the services
- whereAccesses array - Fetch rows that match the accesses
- whereDateInterval array - Get elements between the start time and end time
- whereAccountLike string - Get elements with users.account like the passed string
Fetch rows that match the access field
void
whereAccesses
(Zend_Db_Select $select, [ $options = array()])
-
Zend_Db_Select
$select
-
array
$options: Available options:
- whereAccesses array - If option is set selects rows with the given accesses
Fetch rows that partially or totally match the users.account field
void
whereAccountLike
(Zend_Db_Select $select, [ $options = array()])
-
Zend_Db_Select
$select
-
array
$options: Available options:
- whereAccountLike string - If option is set selects rows with account like the value
Fetch rows that are between date fields
void
whereDateInterval
(Zend_Db_Select $select, [ $options = array()])
-
Zend_Db_Select
$select
-
array
$options: Available options:
- whereDateInterval array - If option is set selects rows between the given dates
Fetch rows that match the service field
void
whereServices
(Zend_Db_Select $select, [ $options = array()])
-
Zend_Db_Select
$select
-
array
$options: Available options:
- whereServices array - If option is set selects rows with the given services
Inherited Methods
Inherited From Giscuit_Db_Table_Abstract
Giscuit_Db_Table_Abstract::__construct()
Giscuit_Db_Table_Abstract::count()
Giscuit_Db_Table_Abstract::getPrimaryKey()
Giscuit_Db_Table_Abstract::joinMultilangField()
Giscuit_Db_Table_Abstract::moveItem()
Giscuit_Db_Table_Abstract::whereActive()
Giscuit_Db_Table_Abstract::whereCurrentUser()
Giscuit_Db_Table_Abstract::whereId()