프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
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 ) : |
메소드 | 설명 | |
---|---|---|
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 | |
리턴 | array |
public setEmptyOption ( boolean | string $emptyOption ) : |
||
$emptyOption | boolean | string | |
리턴 |
public setRenderType ( string $renderType ) : void | ||
$renderType | string | |
리턴 | void |
public setShowIconTable ( boolean $showIconTable ) : |
||
$showIconTable | boolean | |
리턴 |
public setTranslateCsvItems ( boolean $translateCsvItems ) : |
||
$translateCsvItems | boolean | |
리턴 |
protected mixed $items | ||
리턴 | mixed |
protected string $renderType | ||
리턴 | string |
protected bool $showIconTable | ||
리턴 | boolean |
protected bool $translateCsvItems | ||
리턴 | boolean |