PHP Class FluidTYPO3\Flux\Form\AbstractFormField

Inheritance: extends AbstractFormComponent, implements FluidTYPO3\Flux\Form\FieldInterface
Mostrar archivo Open project: fluidtypo3/flux Class Usage Examples

Protected Properties

Property Type Description
$clearable boolean
$default mixed
$displayCondition string
$enable boolean
$exclude boolean
$inherit boolean
$inheritEmpty boolean
$requestUpdate boolean
$required boolean
$transform string
$validate string
$wizards SplObjectStorage

Public Methods

Method Description
__construct ( ) CONSTRUCTOR
add ( FluidTYPO3\Flux\Form\WizardInterface $wizard ) : FluidTYPO3\Flux\Form\FieldInterface
build ( ) : array Creates a TCEforms configuration array based on the configuration stored in this ViewHelper. Calls the expected-to-be-overridden stub method getConfiguration() to return the TCE field configuration - see that method for information about how to implement that method.
create ( array $settings = [] ) : FluidTYPO3\Flux\Form\FieldInterface
createWizard ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\WizardInterface
get ( string $wizardName ) : FluidTYPO3\Flux\Form\WizardInterface | FALSE
getClearable ( ) : boolean
getDefault ( ) : mixed
getDisplayCondition ( ) : string
getEnable ( ) : boolean
getExclude ( ) : boolean
getRequestUpdate ( ) : boolean
getRequired ( ) : boolean
getTransform ( ) : string
getValidate ( ) : string
has ( mixed $childOrChildName ) : boolean
hasChildren ( ) : boolean
modify ( array $structure ) : FluidTYPO3\Flux\Form\ContainerInterface
remove ( string $wizardName ) : FluidTYPO3\Flux\Form\WizardInterface | FALSE
setClearable ( boolean $clearable ) : FluidTYPO3\Flux\Form\FieldInterface
setDefault ( mixed $default ) : FluidTYPO3\Flux\Form\FieldInterface
setDisplayCondition ( string $displayCondition ) : FluidTYPO3\Flux\Form\FieldInterface
setEnable ( boolean $enable ) : FluidTYPO3\Flux\Form\FieldInterface
setExclude ( boolean $exclude ) : FluidTYPO3\Flux\Form\FieldInterface
setRequestUpdate ( boolean $requestUpdate ) : FluidTYPO3\Flux\Form\FieldInterface
setRequired ( boolean $required ) : FluidTYPO3\Flux\Form\FieldInterface
setTransform ( string $transform ) : FluidTYPO3\Flux\Form\FieldInterface
setValidate ( string $validate ) : FluidTYPO3\Flux\Form\FieldInterface

Protected Methods

Method Description
prepareConfiguration ( string $type ) : array

Method Details

__construct() public method

CONSTRUCTOR
public __construct ( )

add() public method

public add ( FluidTYPO3\Flux\Form\WizardInterface $wizard ) : FluidTYPO3\Flux\Form\FieldInterface
$wizard FluidTYPO3\Flux\Form\WizardInterface
return FluidTYPO3\Flux\Form\FieldInterface

build() public method

Creates a TCEforms configuration array based on the configuration stored in this ViewHelper. Calls the expected-to-be-overridden stub method getConfiguration() to return the TCE field configuration - see that method for information about how to implement that method.
public build ( ) : array
return array

create() public static method

public static create ( array $settings = [] ) : FluidTYPO3\Flux\Form\FieldInterface
$settings array
return FluidTYPO3\Flux\Form\FieldInterface

createWizard() public method

public createWizard ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\WizardInterface
$type string
$name string
$label string
return FluidTYPO3\Flux\Form\WizardInterface

get() public method

public get ( string $wizardName ) : FluidTYPO3\Flux\Form\WizardInterface | FALSE
$wizardName string
return FluidTYPO3\Flux\Form\WizardInterface | FALSE

getClearable() public method

public getClearable ( ) : boolean
return boolean

getDefault() public method

public getDefault ( ) : mixed
return mixed

getDisplayCondition() public method

public getDisplayCondition ( ) : string
return string

getEnable() public method

public getEnable ( ) : boolean
return boolean

getExclude() public method

public getExclude ( ) : boolean
return boolean

getRequestUpdate() public method

public getRequestUpdate ( ) : boolean
return boolean

getRequired() public method

public getRequired ( ) : boolean
return boolean

getTransform() public method

public getTransform ( ) : string
return string

getValidate() public method

public getValidate ( ) : string
return string

has() public method

public has ( mixed $childOrChildName ) : boolean
$childOrChildName mixed
return boolean

hasChildren() public method

public hasChildren ( ) : boolean
return boolean

modify() public method

public modify ( array $structure ) : FluidTYPO3\Flux\Form\ContainerInterface
$structure array
return FluidTYPO3\Flux\Form\ContainerInterface

prepareConfiguration() protected method

protected prepareConfiguration ( string $type ) : array
$type string
return array

remove() public method

public remove ( string $wizardName ) : FluidTYPO3\Flux\Form\WizardInterface | FALSE
$wizardName string
return FluidTYPO3\Flux\Form\WizardInterface | FALSE

setClearable() public method

public setClearable ( boolean $clearable ) : FluidTYPO3\Flux\Form\FieldInterface
$clearable boolean
return FluidTYPO3\Flux\Form\FieldInterface

setDefault() public method

public setDefault ( mixed $default ) : FluidTYPO3\Flux\Form\FieldInterface
$default mixed
return FluidTYPO3\Flux\Form\FieldInterface

setDisplayCondition() public method

public setDisplayCondition ( string $displayCondition ) : FluidTYPO3\Flux\Form\FieldInterface
$displayCondition string
return FluidTYPO3\Flux\Form\FieldInterface

setEnable() public method

public setEnable ( boolean $enable ) : FluidTYPO3\Flux\Form\FieldInterface
$enable boolean
return FluidTYPO3\Flux\Form\FieldInterface

setExclude() public method

public setExclude ( boolean $exclude ) : FluidTYPO3\Flux\Form\FieldInterface
$exclude boolean
return FluidTYPO3\Flux\Form\FieldInterface

setRequestUpdate() public method

public setRequestUpdate ( boolean $requestUpdate ) : FluidTYPO3\Flux\Form\FieldInterface
$requestUpdate boolean
return FluidTYPO3\Flux\Form\FieldInterface

setRequired() public method

public setRequired ( boolean $required ) : FluidTYPO3\Flux\Form\FieldInterface
$required boolean
return FluidTYPO3\Flux\Form\FieldInterface

setTransform() public method

public setTransform ( string $transform ) : FluidTYPO3\Flux\Form\FieldInterface
$transform string
return FluidTYPO3\Flux\Form\FieldInterface

setValidate() public method

public setValidate ( string $validate ) : FluidTYPO3\Flux\Form\FieldInterface
$validate string
return FluidTYPO3\Flux\Form\FieldInterface

Property Details

$clearable protected_oe property

protected bool $clearable
return boolean

$default protected_oe property

protected mixed $default
return mixed

$displayCondition protected_oe property

protected string $displayCondition
return string

$enable protected_oe property

protected bool $enable
return boolean

$exclude protected_oe property

protected bool $exclude
return boolean

$inherit protected_oe property

protected bool $inherit
return boolean

$inheritEmpty protected_oe property

protected bool $inheritEmpty
return boolean

$requestUpdate protected_oe property

protected bool $requestUpdate
return boolean

$required protected_oe property

protected bool $required
return boolean

$transform protected_oe property

protected string $transform
return string

$validate protected_oe property

protected string $validate
return string

$wizards protected_oe property

protected SplObjectStorage $wizards
return SplObjectStorage