PHP Класс FluidTYPO3\Flux\Form\AbstractFormComponent

Наследование: implements FluidTYPO3\Flux\Form\FormInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$disableLocalLanguageLabels boolean If TRUE, disables LLL label usage and always returns the raw value of $label.
$enabled boolean
$extensionName string
$inherit boolean
$inheritEmpty boolean
$label string
$localLanguageFileRelativePath string Relative (from extension $extensionName) path to locallang file containing labels for the LLL values built by this class.
$name string
$parent FluidTYPO3\Flux\Form\ContainerInterface
$variables array

Открытые методы

Метод Описание
create ( array $settings = [] ) : FluidTYPO3\Flux\Form\FormInterface
createComponent ( string $namespace, string $type, string $name, string | null $label = NULL ) : FluidTYPO3\Flux\Form\FormInterface
createContainer ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\ContainerInterface
createField ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\FieldInterface
createWizard ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\WizardInterface
getDisableLocalLanguageLabels ( ) : boolean
getEnabled ( ) : boolean
getExtensionName ( ) : string
getInherit ( ) : integer
getInheritEmpty ( ) : boolean
getLabel ( ) : string
getLocalLanguageFileRelativePath ( ) : string
getName ( ) : string
getParent ( ) : FluidTYPO3\Flux\Form\ContainerInterface
getPath ( ) : string
getRoot ( ) : FluidTYPO3\Flux\Form\ContainerInterface
getVariable ( string $name ) : mixed
getVariables ( ) : array
isChildOfType ( string $type ) : boolean
modify ( array $structure ) : FluidTYPO3\Flux\Form\FormInterface Modifies the current Form Component by changing any properties that were passed in $structure. If a component supports special indices in $structure (for example a "fields" property) then that component may specify its own modify() method and manually process each of the specially supported keywords.
setDisableLocalLanguageLabels ( boolean $disableLocalLanguageLabels ) : FluidTYPO3\Flux\Form\FormInterface
setEnabled ( boolean $enabled ) : FluidTYPO3\Flux\Form\FormInterface
setExtensionName ( string $extensionName ) : FluidTYPO3\Flux\Form\FormInterface
setInherit ( boolean $inherit ) : FluidTYPO3\Flux\Form\FormInterface
setInheritEmpty ( boolean $inheritEmpty ) : FluidTYPO3\Flux\Form\FormInterface
setLabel ( string $label ) : FluidTYPO3\Flux\Form\FormInterface
setLocalLanguageFileRelativePath ( string $localLanguageFileRelativePath ) : FluidTYPO3\Flux\Form\FormInterface
setName ( string $name ) : FluidTYPO3\Flux\Form\FormInterface
setParent ( FluidTYPO3\Flux\Form\ContainerInterface $parent ) : FluidTYPO3\Flux\Form\FormInterface
setVariable ( string $name, mixed $value ) : FluidTYPO3\Flux\Form\FormInterface
setVariables ( array $variables ) : FluidTYPO3\Flux\Form\FormInterface

Защищенные методы

Метод Описание
buildChildren ( SplObjectStorage | array $children ) : array
createComponentClassName ( string $type, string $prefix ) : string
getConfigurationService ( ) : FluxService
getObjectManager ( ) : TYPO3\CMS\Extbase\Object\ObjectManagerInterface
resolveLocalLanguageValueOfLabel ( string $label, string $path = NULL ) : null | string

Описание методов

buildChildren() защищенный Метод

protected buildChildren ( SplObjectStorage | array $children ) : array
$children SplObjectStorage | array
Результат array

create() публичный статический Метод

public static create ( array $settings = [] ) : FluidTYPO3\Flux\Form\FormInterface
$settings array
Результат FluidTYPO3\Flux\Form\FormInterface

createComponent() публичный Метод

public createComponent ( string $namespace, string $type, string $name, string | null $label = NULL ) : FluidTYPO3\Flux\Form\FormInterface
$namespace string
$type string
$name string
$label string | null
Результат FluidTYPO3\Flux\Form\FormInterface

createComponentClassName() защищенный Метод

protected createComponentClassName ( string $type, string $prefix ) : string
$type string
$prefix string
Результат string

createContainer() публичный Метод

public createContainer ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\ContainerInterface
$type string
$name string
$label string
Результат FluidTYPO3\Flux\Form\ContainerInterface

createField() публичный Метод

public createField ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\FieldInterface
$type string
$name string
$label string
Результат FluidTYPO3\Flux\Form\FieldInterface

createWizard() публичный Метод

public createWizard ( string $type, string $name, string $label = NULL ) : FluidTYPO3\Flux\Form\WizardInterface
$type string
$name string
$label string
Результат FluidTYPO3\Flux\Form\WizardInterface

getConfigurationService() защищенный Метод

protected getConfigurationService ( ) : FluxService
Результат FluidTYPO3\Flux\Service\FluxService

getDisableLocalLanguageLabels() публичный Метод

public getDisableLocalLanguageLabels ( ) : boolean
Результат boolean

getEnabled() публичный Метод

public getEnabled ( ) : boolean
Результат boolean

getExtensionName() публичный Метод

public getExtensionName ( ) : string
Результат string

getInherit() публичный Метод

public getInherit ( ) : integer
Результат integer

getInheritEmpty() публичный Метод

public getInheritEmpty ( ) : boolean
Результат boolean

getLabel() публичный Метод

public getLabel ( ) : string
Результат string

getLocalLanguageFileRelativePath() публичный Метод

public getLocalLanguageFileRelativePath ( ) : string
Результат string

getName() публичный Метод

public getName ( ) : string
Результат string

getObjectManager() защищенный Метод

protected getObjectManager ( ) : TYPO3\CMS\Extbase\Object\ObjectManagerInterface
Результат TYPO3\CMS\Extbase\Object\ObjectManagerInterface

getParent() публичный Метод

public getParent ( ) : FluidTYPO3\Flux\Form\ContainerInterface
Результат FluidTYPO3\Flux\Form\ContainerInterface

getPath() публичный Метод

public getPath ( ) : string
Результат string

getRoot() публичный Метод

public getRoot ( ) : FluidTYPO3\Flux\Form\ContainerInterface
Результат FluidTYPO3\Flux\Form\ContainerInterface

getVariable() публичный Метод

public getVariable ( string $name ) : mixed
$name string
Результат mixed

getVariables() публичный Метод

public getVariables ( ) : array
Результат array

isChildOfType() публичный Метод

public isChildOfType ( string $type ) : boolean
$type string
Результат boolean

modify() публичный Метод

For example, the AbstractFormContainer supports passing "fields" and each field is then attempted fetched from children. If not found, it is created (and the structure passed to the create() function which uses the same structure syntax). If it already exists, the modify() method is called on that object to trigger the recursive modification of all child components.
public modify ( array $structure ) : FluidTYPO3\Flux\Form\FormInterface
$structure array
Результат FluidTYPO3\Flux\Form\FormInterface

resolveLocalLanguageValueOfLabel() защищенный Метод

protected resolveLocalLanguageValueOfLabel ( string $label, string $path = NULL ) : null | string
$label string
$path string
Результат null | string

setDisableLocalLanguageLabels() публичный Метод

public setDisableLocalLanguageLabels ( boolean $disableLocalLanguageLabels ) : FluidTYPO3\Flux\Form\FormInterface
$disableLocalLanguageLabels boolean
Результат FluidTYPO3\Flux\Form\FormInterface

setEnabled() публичный Метод

public setEnabled ( boolean $enabled ) : FluidTYPO3\Flux\Form\FormInterface
$enabled boolean
Результат FluidTYPO3\Flux\Form\FormInterface

setExtensionName() публичный Метод

public setExtensionName ( string $extensionName ) : FluidTYPO3\Flux\Form\FormInterface
$extensionName string
Результат FluidTYPO3\Flux\Form\FormInterface

setInherit() публичный Метод

public setInherit ( boolean $inherit ) : FluidTYPO3\Flux\Form\FormInterface
$inherit boolean
Результат FluidTYPO3\Flux\Form\FormInterface

setInheritEmpty() публичный Метод

public setInheritEmpty ( boolean $inheritEmpty ) : FluidTYPO3\Flux\Form\FormInterface
$inheritEmpty boolean
Результат FluidTYPO3\Flux\Form\FormInterface

setLabel() публичный Метод

public setLabel ( string $label ) : FluidTYPO3\Flux\Form\FormInterface
$label string
Результат FluidTYPO3\Flux\Form\FormInterface

setLocalLanguageFileRelativePath() публичный Метод

public setLocalLanguageFileRelativePath ( string $localLanguageFileRelativePath ) : FluidTYPO3\Flux\Form\FormInterface
$localLanguageFileRelativePath string
Результат FluidTYPO3\Flux\Form\FormInterface

setName() публичный Метод

public setName ( string $name ) : FluidTYPO3\Flux\Form\FormInterface
$name string
Результат FluidTYPO3\Flux\Form\FormInterface

setParent() публичный Метод

public setParent ( FluidTYPO3\Flux\Form\ContainerInterface $parent ) : FluidTYPO3\Flux\Form\FormInterface
$parent FluidTYPO3\Flux\Form\ContainerInterface
Результат FluidTYPO3\Flux\Form\FormInterface

setVariable() публичный Метод

public setVariable ( string $name, mixed $value ) : FluidTYPO3\Flux\Form\FormInterface
$name string
$value mixed
Результат FluidTYPO3\Flux\Form\FormInterface

setVariables() публичный Метод

public setVariables ( array $variables ) : FluidTYPO3\Flux\Form\FormInterface
$variables array
Результат FluidTYPO3\Flux\Form\FormInterface

Описание свойств

$disableLocalLanguageLabels защищенное свойство

If TRUE, disables LLL label usage and always returns the raw value of $label.
protected bool $disableLocalLanguageLabels
Результат boolean

$enabled защищенное свойство

protected bool $enabled
Результат boolean

$extensionName защищенное свойство

protected string $extensionName
Результат string

$inherit защищенное свойство

protected bool $inherit
Результат boolean

$inheritEmpty защищенное свойство

protected bool $inheritEmpty
Результат boolean

$label защищенное свойство

protected string $label
Результат string

$localLanguageFileRelativePath защищенное свойство

Relative (from extension $extensionName) path to locallang file containing labels for the LLL values built by this class.
protected string $localLanguageFileRelativePath
Результат string

$name защищенное свойство

protected string $name
Результат string

$parent защищенное свойство

protected ContainerInterface,FluidTYPO3\Flux\Form $parent
Результат FluidTYPO3\Flux\Form\ContainerInterface

$variables защищенное свойство

protected array $variables
Результат array