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

Public Member Functions

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

Public Attributes

 $description
 
 $themed = true
 
- Public Attributes inherited from COREPOS\Fannie\API\FannieUploadPage
 $required = true
 
 $description
 
 $page_set = 'Import Tools'
 

Protected Attributes

 $title = "Fannie :: Upload Likecode Prices"
 
 $header = "Upload Likecode Prices"
 
 $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 ()
 
 getColumnIndex ($name)
 
 get_column_index ($name)
 
 fileToArray ($limit=0)
 
 csvToArray ($limit=0)
 
 xlsToArray ($limit)
 
 xlsxToArray ($limit)
 

Member Data Documentation

LikeCodePriceUploadPage::$description
Initial value:
= '[Like Code Prices] uploads a spreadsheet of like codes and prices
and immediately updates the prices for those like coded items.'
LikeCodePriceUploadPage::$preview_opts
protected
Initial value:
= array(
'likecode' => array(
'name' => 'likecode',
'display_name' => 'Like Code #',
'default' => 0,
'required' => true
),
'price' => array(
'name' => 'price',
'display_name' => 'Price',
'default' => 1,
'required' => true
),
'cost' => array(
'name' => 'cost',
'display_name' => 'Cost (Unit)',
'default' => 2,
'required' => false
),
)

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