CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | List of all members
COREPOS\Fannie\API\webservices\FannieItemLaneSync Class Reference
Inheritance diagram for COREPOS\Fannie\API\webservices\FannieItemLaneSync:
COREPOS\Fannie\API\webservices\FannieWebService

Public Member Functions

 run ($args=array())
 
- Public Member Functions inherited from COREPOS\Fannie\API\webservices\FannieWebService
 __construct ()
 
 run ($args=array())
 

Public Attributes

 $type = 'json'
 
- Public Attributes inherited from COREPOS\Fannie\API\webservices\FannieWebService
 $type = 'json'
 

Additional Inherited Members

- Protected Member Functions inherited from COREPOS\Fannie\API\webservices\FannieWebService
 renderJson ($arr)
 
 renderPlain ($arr)
 

Member Function Documentation

COREPOS\Fannie\API\webservices\FannieItemLaneSync::run (   $args = array())

Do whatever the service is supposed to do. Should override this.

Parameters
$argsarray of data
Returns
an array of data

In "fast" mode, look up the items and run UPDATE queries on each lane. This reduces overhead substantially but will overlook brand-new items since there's no check whether the item exists on the lane.

If "fast" is not specified, each UPC record is copied to the lane exactly using models. This mode is preferrable unless performance becomes an issue.


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