TYPO3  7.6
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
AbstractJsonElement Class Reference
Inheritance diagram for AbstractJsonElement:
ButtonJsonElement CheckboxJsonElement ContainerJsonElement FileuploadJsonElement HeaderJsonElement HiddenJsonElement PasswordJsonElement RadioJsonElement ResetJsonElement SelectJsonElement SubmitJsonElement TextareaJsonElement TextblockJsonElement TextlineJsonElement

Public Member Functions

 setParameters (array $parameters)
 
 childElementsAllowed ()
 

Public Attributes

 $xtype = ''
 
 $configuration = array()
 

Protected Member Functions

 setAttributes (array $parameters)
 
 setFilters (array $parameters)
 
 setLabel (array $parameters)
 
 setLayout (array $parameters)
 
 setValidation (array $parameters)
 

Protected Attributes

 $allowedAttributes = array()
 
 $childElementsAllowed = true
 

Detailed Description

JSON element abstract

Definition at line 20 of file AbstractJsonElement.php.

Member Function Documentation

childElementsAllowed ( )

Check if child elements are allowed within this element

Returns
bool TRUE if allowed

Definition at line 86 of file AbstractJsonElement.php.

References AbstractJsonElement\$childElementsAllowed.

setAttributes ( array  $parameters)
protected

Set the attributes according to the allowed attributes of this element

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 97 of file AbstractJsonElement.php.

References elseif.

Referenced by AbstractJsonElement\setParameters().

setFilters ( array  $parameters)
protected

Set the filters of the element

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 114 of file AbstractJsonElement.php.

Referenced by AbstractJsonElement\setParameters().

setLabel ( array  $parameters)
protected

Set the label of the element

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 138 of file AbstractJsonElement.php.

References elseif.

Referenced by AbstractJsonElement\setParameters().

setLayout ( array  $parameters)
protected

Set the layout of the element

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 153 of file AbstractJsonElement.php.

Referenced by AbstractJsonElement\setParameters().

setParameters ( array  $parameters)

Set all the parameters for this object

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 58 of file AbstractJsonElement.php.

References AbstractJsonElement\setAttributes(), AbstractJsonElement\setFilters(), AbstractJsonElement\setLabel(), AbstractJsonElement\setLayout(), and AbstractJsonElement\setValidation().

setValidation ( array  $parameters)
protected

Set the validation rules for the element

Parameters
array$parametersConfiguration array
Returns
void

Definition at line 170 of file AbstractJsonElement.php.

Referenced by AbstractJsonElement\setParameters().

Member Data Documentation

$allowedAttributes = array()
protected

Definition at line 41 of file AbstractJsonElement.php.

$childElementsAllowed = true
protected

Definition at line 50 of file AbstractJsonElement.php.

Referenced by AbstractJsonElement\childElementsAllowed().

$configuration = array()

Definition at line 34 of file AbstractJsonElement.php.

$xtype = ''

Definition at line 27 of file AbstractJsonElement.php.