PHP 클래스 FluidTYPO3\Flux\Form\AbstractFormComponent

상속: implements FluidTYPO3\Flux\Form\FormInterface
파일 보기 프로젝트 열기: fluidtypo3/flux 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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() 공개 메소드

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() 공개 메소드

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