Class FOFFormHeader
An interface for FOFFormHeader fields, used to define the filters and the elements of the header row in repeatable (browse) views
Direct known subclasses
FOFFormHeaderField
,
FOFFormHeaderOrdering
,
FOFFormHeaderRowselect
Indirect known subclasses
FOFFormHeaderAccesslevel
,
FOFFormHeaderFielddate
,
FOFFormHeaderFiltersql
,
FOFFormHeaderLanguage
,
FOFFormHeaderModel
,
FOFFormHeaderPublished
,
FOFFormHeaderFieldfilterable
,
FOFFormHeaderFieldsearchable
,
FOFFormHeaderFieldselectable
,
FOFFormHeaderFieldsql
,
FOFFormHeaderFilterdate
,
FOFFormHeaderFilterfilterable
,
FOFFormHeaderFiltersearchable
,
FOFFormHeaderFilterselectable
Package: FrameworkOnFramework\form
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 2.0
Located at fof/form/header.php
Methods summary
public
|
|
public
mixed
|
|
public
|
|
public
boolean
|
#
setup(
Method to attach a FOFForm object to the field. |
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
string
|
|
protected
mixed
|
|
protected
string
|
#
getFilterSource( string $filterSource )
Return the key of the filter value in the model state or, if it's not set, the name of the field. |
protected
boolean
|
|
protected
string|null
|
|
protected
string|null
|
|
protected
string|null
|
#
getButtons( )
Returns the HTML for the buttons to be rendered in the filter row, next to the text input filter, or null if this element should render no text input filter buttons. |
protected
array
|
#
getOptions( )
Returns the JHtml options for a drop-down filter. Do not include an empty option, it is added automatically. |
Magic methods summary
Properties summary
protected
string
|
$description |
#
The description text for the form field. Usually used in tooltips. |
protected
|
$element |
#
The SimpleXMLElement object of the <field /> XML element that describes the header field. |
protected
|
$form |
#
The FOFForm object of the form attached to the header field. |
protected
string
|
$label |
#
The label for the header field. |
protected
string|null
|
$header |
#
The header HTML. |
protected
string|null
|
$filter |
#
The filter HTML. |
protected
string|null
|
$buttons |
#
The buttons HTML. |
protected
array|null
|
$options |
#
The options for a drop-down filter. |
protected
string
|
$name |
#
The name of the form field. |
protected
string
|
$fieldname |
#
The name of the field. |
protected
string
|
$group |
#
The group of the field. |
protected
string
|
$type |
#
The form field type. |
protected
mixed
|
$value |
#
The value of the filter. |
protected
mixed
|
$tdwidth |
#
The intended table data width (in pixels or percent). |
protected
mixed
|
$filterSource |
#
The key of the filter value in the model state. |
protected
boolean
|
$sortable |
#
Is this a sortable column? |