CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | Protected Attributes | List of all members
CoopDealsUploadPage Class Reference
Inheritance diagram for CoopDealsUploadPage:
COREPOS\Fannie\API\FannieUploadPage FanniePage

Public Member Functions

 process_file ($linedata, $indexes)
 
 form_content ()
 
 preview_content ()
 
 results_content ()
 
 helpContent ()
 
 unitTest ($phpunit)
 
- Public Member Functions inherited from COREPOS\Fannie\API\FannieUploadPage
 preprocess ()
 
 process_file ($linedata, $indexes)
 
 split_start ()
 
 split_end ()
 
 bodyContent ()
 
 form_content ()
 
 preview_content ()
 
 javascript_content ()
 
 results_content ()
 
 ajaxContent ()
 
 helpContent ()
 
 unitTest ($phpunit)
 

Public Attributes

 $title = "Fannie - Co+op Deals sales"
 
 $header = "Upload Co+op Deals file"
 
 $description
 
 $themed = true
 
- Public Attributes inherited from COREPOS\Fannie\API\FannieUploadPage
 $required = true
 
 $description
 
 $page_set = 'Import Tools'
 

Protected Attributes

 $preview_opts
 
- Protected Attributes inherited from COREPOS\Fannie\API\FannieUploadPage
 $content_function = "form_content"
 
 $preview = true
 
 $preview_opts
 
 $preview_selections = array()
 
 $upload_field_name = 'FannieUploadFile'
 
 $upload_file_name = ''
 
 $allowed_extensions = array('csv','xls','xlsx')
 
 $error_details = 'n/a'
 
 $use_splits = false
 
 $use_js = false
 

Additional Inherited Members

- Protected Member Functions inherited from COREPOS\Fannie\API\FannieUploadPage
 processUpload ()
 
 uploadError ()
 
 processingError ()
 
 basicForm ()
 
 basicPreview ()
 
 getIndexes ()
 
 getColumnIndex ($name)
 
 get_column_index ($name)
 
 fileToArray ($limit=0)
 
 csvToArray ($limit=0)
 
 xlsToArray ($limit)
 
 xlsxToArray ($limit)
 
 simpleStats ($stats, $key='imported')
 
 checkIndex ($index, $line)
 

Member Data Documentation

CoopDealsUploadPage::$description
Initial value:
= '[Co+op Deals Import] loads sales information from Co+op Deals pricing spreadsheets.
This data can be used to create sales batches.'
CoopDealsUploadPage::$preview_opts
protected
Initial value:
= array(
'upc' => array(
'display_name' => 'UPC',
'default' => 8,
'required' => true
),
'price' => array(
'display_name' => 'Sale Price',
'default' => 26,
'required' => true
),
'abt' => array(
'display_name' => 'A/B/TPR',
'default' => 6,
'required' => true
),
'sku' => array(
'display_name' => 'SKU',
'default' => 9,
),
'mult' => array(
'display_name' => 'Line Notes',
'default' => 15,
),
)

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