TYPO3
7.6
|
Public Member Functions | |
__construct () | |
getRegisteredElementTypes () | |
setRegisteredElementTypes (array $registeredElementTypes=array()) | |
getModelDefinedHtmlAttributes ($elementType= '') | |
getDefaultFluidTemplate ($elementType, $partialType= 'partialPath') | |
getModelConfigurationByScope ($elementType, $scope) | |
getRegisteredClassName ($name, $scope) | |
Protected Member Functions | |
resolveTypoScriptReferences (array $typoScript) | |
Protected Attributes | |
$modelDefinitionTypoScript = array() | |
$registeredElementTypes = array() | |
$typoScriptParser | |
Provide the TypoScript data-source
Definition at line 24 of file TypoScriptRepository.php.
__construct | ( | ) |
The constructor
Definition at line 44 of file TypoScriptRepository.php.
References $GLOBALS, GeneralUtility\makeInstance(), TypoScriptRepository\resolveTypoScriptReferences(), and TypoScriptRepository\setRegisteredElementTypes().
getDefaultFluidTemplate | ( | $elementType, | |
$partialType = 'partialPath' |
|||
) |
Get the default fluid template for a element.
string | $elementType | |
string | $partialType |
Definition at line 122 of file TypoScriptRepository.php.
References TypoScriptRepository\getModelConfigurationByScope().
getModelConfigurationByScope | ( | $elementType, | |
$scope | |||
) |
Get the model definition from TypoScript for a specific scope.
string | $elementType | |
string | $scope |
Definition at line 138 of file TypoScriptRepository.php.
Referenced by TypoScriptRepository\getDefaultFluidTemplate(), and TypoScriptRepository\getModelDefinedHtmlAttributes().
getModelDefinedHtmlAttributes | ( | $elementType = '' | ) |
Get the html attributes defined by the model with their default values
string | $elementType |
Definition at line 93 of file TypoScriptRepository.php.
References elseif, and TypoScriptRepository\getModelConfigurationByScope().
getRegisteredClassName | ( | $name, | |
$scope | |||
) |
Get a registered class name by a specific scope (validator or filter)
string | $name | |
string | $scope | (registeredValidators, registeredFilters) |
Definition at line 154 of file TypoScriptRepository.php.
getRegisteredElementTypes | ( | ) |
Get all registered form elements
Definition at line 58 of file TypoScriptRepository.php.
References TypoScriptRepository\$registeredElementTypes.
|
protected |
Render a TypoScript and resolve all references (eg. " < plugin.tx_form...") recursively
array | $typoScript |
Definition at line 170 of file TypoScriptRepository.php.
References $GLOBALS, and elseif.
Referenced by TypoScriptRepository\__construct().
setRegisteredElementTypes | ( | array | $registeredElementTypes = array() | ) |
Set all registered form elements
array | $registeredElementTypes |
\InvalidArgumentException |
Definition at line 70 of file TypoScriptRepository.php.
References TypoScriptRepository\$registeredElementTypes.
Referenced by TypoScriptRepository\__construct().
|
protected |
Definition at line 29 of file TypoScriptRepository.php.
|
protected |
Definition at line 34 of file TypoScriptRepository.php.
Referenced by TypoScriptRepository\getRegisteredElementTypes(), and TypoScriptRepository\setRegisteredElementTypes().
|
protected |
Definition at line 39 of file TypoScriptRepository.php.