CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
BatchListPage Class Reference
Inheritance diagram for BatchListPage:
FannieRESTfulPage FanniePage

Public Member Functions

 preprocess ()
 
 ajax_response ($action)
 
 newBatchInput ()
 
 batchListDisplay ($filter='', $mode='all', $maxBatchID='')
 
 get_view ()
 
 helpContent ()
 
- Public Member Functions inherited from FannieRESTfulPage
 readRoutes ()
 
 preprocess ()
 
 bodyContent ()
 
 unitTest ($phpunit)
 

Public Attributes

 $description
 
 $themed = true
 

Protected Member Functions

 post_newType_newName_newStart_newEnd_newOwner_handler ()
 
 post_id_batchName_batchType_startDate_endDate_owner_handler ()
 
 get_mode_filter_max_handler ()
 
 post_delete_id_handler ()
 
- Protected Member Functions inherited from FannieRESTfulPage
 unknownRequestHandler ()
 
 unknownRequestView ()
 
 getModel ($database_connection, $class, $params, $find=False)
 
 get_model ($database_connection, $class, $params, $find=False)
 

Protected Attributes

 $must_authenticate = true
 
 $auth_classes = array('batches','batches_audited')
 
 $title = 'Sales Batches Tool'
 
 $header = ''
 
- Protected Attributes inherited from FannieRESTfulPage
 $__method = ''
 
 $__models = array()
 
 $__routes
 
 $__route_stem = 'unknownRequest'
 

Member Function Documentation

BatchListPage::ajax_response (   $action)

ajax responses $out is the output sent back by convention, the request name ($_GET['action']) is prepended to all output so the javascript receiver can handle responses differently as needed. a backtick separates request name from data

BatchListPage::batchListDisplay (   $filter = '',
  $mode = 'all',
  $maxBatchID = '' 
)

strtotime() and date() are not reciprocal functions date('Y-m-d', strtotime('0000-00-00')) results in -0001-11-30 instead of the expected 0000-00-00

Member Data Documentation

BatchListPage::$description
Initial value:
= '[Sales Batches] is the primary tool for creating, editing, and managing
sale and price change batches.'

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