Class FOFForm
FOFForm is an extension to JForm which support not only edit views but also browse (record list) and read (single record display) views based on XML forms.
- JForm
- FOFForm
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/form.php
Methods summary
public static
object
|
#
getInstance( string $name, string $data = null, array $options = array(), boolean $replace = true, boolean|string $xpath = false )
Method to get an instance of a form. |
public
mixed
|
#
getAttribute( string $attribute, mixed $default = null )
Returns the value of an attribute of the form itself |
public
|
|
public
|
|
public
JRegistry
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
array
|
|
protected
mixed
&
|
#
findHeadersByGroup( mixed $group = null, boolean $nested = false )
Method to get an array of <header /> elements from the form XML document which are in a control group by name. |
public
mixed
|
|
protected
mixed
|
#
findHeader( string $name, string $group = null )
Method to get a header field represented as an XML element object. |
protected
mixed
|
#
loadHeader( string $element, string $group = null, mixed $value = null )
Method to load, setup and return a FOFFormHeader object based on field data. |
public
boolean
|
#
removeHeader( string $name, string $group = null )
Method to remove a header from the form definition. |
protected
mixed
|
|
protected
mixed
|
|
protected
mixed
|
|
public static
array
|
|
public static
array
|
|
public static
array
|
|
public static
array
|
Methods inherited from JForm
__construct()
,
addNode()
,
bind()
,
bindLevel()
,
filter()
,
filterField()
,
findField()
,
findFieldsByFieldset()
,
findFieldsByGroup()
,
findGroup()
,
getControlGroup()
,
getControlGroups()
,
getErrors()
,
getField()
,
getFieldAttribute()
,
getFieldXml()
,
getFieldset()
,
getFieldsets()
,
getFormControl()
,
getGroup()
,
getInput()
,
getLabel()
,
getName()
,
getValue()
,
getXml()
,
load()
,
loadField()
,
loadFile()
,
mergeNode()
,
mergeNodes()
,
removeField()
,
removeGroup()
,
renderField()
,
renderFieldset()
,
reset()
,
setField()
,
setFieldAttribute()
,
setFields()
,
setValue()
,
syncPaths()
,
validate()
,
validateField()
Magic methods summary
Properties summary
protected
|
$model |
#
The model attached to this view |
protected
|
$view |
#
The view used to render this form |