PHP Class Dashboard_model, TastyIgniter

Inheritance: extends CI_Model
Show file Open project: tastyigniter/tastyigniter Class Usage Examples

Public Methods

Method Description
getDateChart ( $date = FALSE )
getNewsFeed ( $number = 5, $expiry = 3 )
getReviewChart ( $rating_id, $menu_id )
getStatistics ( $stat_range = '' )
getTodayChart ( $hour = FALSE )
getTopCustomers ( $filter = [] )
getTotalCashPayments ( $range_query = '' )
getTotalCollectionOrders ( $range_query = '' )
getTotalCustomers ( $range_query )
getTotalDeliveryOrders ( $range_query = '' )
getTotalLostSales ( $range_query )
getTotalMenus ( )
getTotalOrders ( $range_query )
getTotalOrdersCompleted ( $range_query = '' )
getTotalSales ( $range_query )
getTotalTables ( )
getTotalTablesReserved ( $range_query = '' )
getYearChart ( $year = FALSE, $month = FALSE )

Method Details

getDateChart() public method

public getDateChart ( $date = FALSE )

getNewsFeed() public method

public getNewsFeed ( $number = 5, $expiry = 3 )

getReviewChart() public method

public getReviewChart ( $rating_id, $menu_id )

getStatistics() public method

public getStatistics ( $stat_range = '' )

getTodayChart() public method

public getTodayChart ( $hour = FALSE )

getTopCustomers() public method

public getTopCustomers ( $filter = [] )

getTotalCashPayments() public method

public getTotalCashPayments ( $range_query = '' )

getTotalCollectionOrders() public method

public getTotalCollectionOrders ( $range_query = '' )

getTotalCustomers() public method

public getTotalCustomers ( $range_query )

getTotalDeliveryOrders() public method

public getTotalDeliveryOrders ( $range_query = '' )

getTotalLostSales() public method

public getTotalLostSales ( $range_query )

getTotalMenus() public method

public getTotalMenus ( )

getTotalOrders() public method

public getTotalOrders ( $range_query )

getTotalOrdersCompleted() public method

public getTotalOrdersCompleted ( $range_query = '' )

getTotalSales() public method

public getTotalSales ( $range_query )

getTotalTables() public method

public getTotalTables ( )

getTotalTablesReserved() public method

public getTotalTablesReserved ( $range_query = '' )

getYearChart() public method

public getYearChart ( $year = FALSE, $month = FALSE )