CORE POS - Fannie
The CORE POS back end
Public Member Functions | List of all members
BaseItemModule Class Reference
Inheritance diagram for BaseItemModule:
COREPOS\Fannie\API\item\ItemModule

Public Member Functions

 showEditForm ($upc, $display_mode=1, $expand_mode=1)
 
 getFormJavascript ($upc)
 
 SaveFormData ($upc)
 
 summaryRows ($upc)
 
- Public Member Functions inherited from COREPOS\Fannie\API\item\ItemModule
 db ()
 
 setConfig (\FannieConfig $c)
 
 setForm (\COREPOS\common\mvc\ValueContainer $f)
 
 setConnection (\SQLManager $s)
 
 width ()
 
 showEditForm ($upc, $display_mode=1, $expand_mode=1)
 
 getFormJavascript ($upc)
 
 saveFormData ($upc)
 
 summaryRows ($upc)
 
 hasSearch ()
 
 showSearchForm ()
 
 getSearchResults ()
 
 runCron ()
 

Additional Inherited Members

- Public Attributes inherited from COREPOS\Fannie\API\item\ItemModule
const META_WIDTH_FULL = 100
 
const META_WIDTH_HALF = 50
 
const META_WIDTH_THIRD = 33
 
- Protected Attributes inherited from COREPOS\Fannie\API\item\ItemModule
 $config
 
 $connection
 
 $form
 

Member Function Documentation

BaseItemModule::SaveFormData (   $upc)

If a vendor is selected, intialize a vendorItems record

BaseItemModule::showEditForm (   $upc,
  $display_mode = 1,
  $expand_mode = 1 
)

Check products.default_vendor_id to see if it is a valid reference to the vendors table

Use a <select> box if the current vendor corresponds to a valid entry OR if no vendor entry exists. Only allow free text if it's already in place


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