CORE POS - Fannie
The CORE POS back end
Public Member Functions | Public Attributes | List of all members
COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField Class Reference

Public Member Functions

 toHTML ()
 

Public Attributes

const FIELD_TYPE_SELECT = 'select'
 
const FIELD_TYPE_TEXT = 'text'
 
 $name
 
 $label
 
 $type
 
 $default
 
 $options
 

Detailed Description

Object representation of a <form> field. Used with CwReportDataSource when a data source supports additional fields beyond what is offered in the standard report

Member Function Documentation

COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField::toHTML ( )

Convert field to HTML representation

Returns
[string] HTML

Member Data Documentation

COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField::$default

Field default value

COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField::$label

Text label for form field

COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField::$name

Name of the form field

COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField::$options

Array of options for FIELD_TYPE_SELECT fields

COREPOS\Fannie\Plugin\CoreWarehouse\CwReportField::$type

Type of field; use one of the constants


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