Property | Type | Description | |
---|---|---|---|
$emptyOption | boolean | string | If not-FALSE, adds one empty option/value pair to the generated selector box and tries to use this property's value (cast to string) as label. | |
$items | mixed | Mixed - string (CSV), Traversable or array of items. Format of key/value pairs is also optional. For single-dim arrays, key becomes option value and each member value becomes label. For multidim/Traversable each member is inspected; if it is a raw value it is used for both value and label, if it is a scalar value the first item is used as value and the second as label. | |
$renderType | string | Special rendering type of this component - supports all values normally supported by TCA of the "select" field type. | |
$showIconTable | boolean | Displays option icons as table beneath the select. | |
$translateCsvItems | boolean | If set to TRUE, Flux will attempt to translate the LLL labels of items provided as CSV values, e.g. items "foo,bar" would try to resolve LLL values for "LLL:EXT:myext/Resources/Private/Languages/locallang.xlf:foo" and "LLL:EXT:myext/Resources/Private/Languages/locallang.xlf:bar" to be used as value labels. |
Method | Description | |
---|---|---|
buildConfiguration ( ) : array | ||
getEmptyOption ( ) : boolean | string | ||
getItems ( ) : array | ||
getRenderType ( ) : string | ||
getShowIconTable ( ) : boolean | ||
getTranslateCsvItems ( ) : boolean | ||
setEmptyOption ( boolean | string $emptyOption ) : |
||
setItems ( array $items ) : |
||
setRenderType ( string $renderType ) : void | ||
setShowIconTable ( boolean $showIconTable ) : |
||
setTranslateCsvItems ( boolean $translateCsvItems ) : |
Method | Description | |
---|---|---|
addOptionsFromResults ( TYPO3\CMS\Extbase\Persistence\QueryInterface $query ) : array | ||
getLabelPropertyName ( string $table, string $type ) : string |
protected addOptionsFromResults ( TYPO3\CMS\Extbase\Persistence\QueryInterface $query ) : array | ||
$query | TYPO3\CMS\Extbase\Persistence\QueryInterface | |
return | array |
public setEmptyOption ( boolean | string $emptyOption ) : |
||
$emptyOption | boolean | string | |
return |
public setRenderType ( string $renderType ) : void | ||
$renderType | string | |
return | void |
public setShowIconTable ( boolean $showIconTable ) : |
||
$showIconTable | boolean | |
return |
public setTranslateCsvItems ( boolean $translateCsvItems ) : |
||
$translateCsvItems | boolean | |
return |
protected mixed $items | ||
return | mixed |
protected string $renderType | ||
return | string |
protected bool $showIconTable | ||
return | boolean |
protected bool $translateCsvItems | ||
return | boolean |