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

Public Member Functions

 process_file ($linedata)
 
 results_content ()
 
 form_content ()
 
 preprocess ()
 
- 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

 $title = "Fannie - Load Vendor SKU/PLU mapping"
 
 $header = "Upload Vendor SKU/PLU file"
 
 $description
 
 $themed = true
 
- Public Attributes inherited from COREPOS\Fannie\API\FannieUploadPage
 $required = true
 
 $description
 
 $page_set = 'Import Tools'
 

Protected Attributes

 $preview_opts
 
 $use_splits = False
 
- 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 Function Documentation

UploadPluMapPage::results_content ( )

This option is rather unsafe. Removing the existing map is probably a bad idea in most cases. function preview_content(){ return 'Mode <select name="map_mode"><option value="0">Update</option> <option value="1">Replace</option></select>'; }

Member Data Documentation

UploadPluMapPage::$description
Initial value:
= '[Vendor PLU Map] loads a list of vendor SKUs and the corresponding
POS UPC used to sell the item. Typically these are things like bulk PLUs but any UPC is
permitted.'
UploadPluMapPage::$preview_opts
protected
Initial value:
= array(
'sku' => array(
'name' => 'sku',
'display_name' => 'SKU',
'default' => 0,
'required' => True
),
'plu' => array(
'name' => 'plu',
'display_name' => 'PLU',
'default' => 1,
'required' => True
)
)

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