CORE POS - Fannie
The CORE POS back end
Public Member Functions | Protected Attributes | List of all members
COREPOS\Fannie\Plugin\CoreWarehouse\sources\ZipCodeDataSource Class Reference
Inheritance diagram for COREPOS\Fannie\Plugin\CoreWarehouse\sources\ZipCodeDataSource:
COREPOS\Fannie\Plugin\CoreWarehouse\CwReportDataSource

Public Member Functions

 fetchReportData ($report_class_name,\FannieConfig $config,\SQLManager $connection)
 
 additionalFields ($report_class_name)
 
- Public Member Functions inherited from COREPOS\Fannie\Plugin\CoreWarehouse\CwReportDataSource
 fetchReportData ($report_class_name,\FannieConfig $config,\SQLManager $connection)
 
 additionalFields ($report_class_name)
 

Protected Attributes

 $valid_reports = array('ZipCodeReport')
 
- Protected Attributes inherited from COREPOS\Fannie\Plugin\CoreWarehouse\CwReportDataSource
 $valid_reports = array()
 

Additional Inherited Members

- Static Public Member Functions inherited from COREPOS\Fannie\Plugin\CoreWarehouse\CwReportDataSource
static getDataSource ($report_class_name)
 
- Protected Member Functions inherited from COREPOS\Fannie\Plugin\CoreWarehouse\CwReportDataSource
 sourceForReport ($report_class_name)
 
 dateToID ($date)
 

Member Function Documentation

COREPOS\Fannie\Plugin\CoreWarehouse\sources\ZipCodeDataSource::additionalFields (   $report_class_name)

Get list of additional fields, if any, that can be used with this data source and the specified report

Parameters
[string]$report_class_name name of report
Returns
[array] of CwReportField objects
COREPOS\Fannie\Plugin\CoreWarehouse\sources\ZipCodeDataSource::fetchReportData (   $report_class_name,
\FannieConfig  $config,
\SQLManager  $connection 
)

Fetch data for the specified report

Parameters
[string]$report_class_name name of report
[FannieConfig]$config current configuration
[SQLManager]$connection database connection
Returns
[array] report records or [boolean] false if this source cannot handle the request

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