![]() |
TYPO3
7.6
|
Static Public Member Functions | |
static | translateModelNameToRepositoryName ($modelName) |
static | translateModelNameToValidatorName ($modelName) |
static | translateRepositoryNameToModelName ($repositoryName) |
static | explodeObjectControllerName ($controllerObjectName) |
Several functions related to naming and conversions of names such as translation between Repository and Model names or exploding an objectControllerName into pieces
Definition at line 24 of file ClassNamingUtility.php.
|
static |
Explodes a controllerObjectName like into several pieces like vendorName, extensionName, subpackageKey and controllerName
string | $controllerObjectName | The controller name to be exploded |
Definition at line 86 of file ClassNamingUtility.php.
Referenced by Request\setControllerObjectName().
|
static |
Translates a model name to an appropriate repository name e.g. Tx_Extbase_Domain_Model_Foo to Tx_Extbase_Domain_Repository_FooRepository or to
string | $modelName | Name of the model to translate |
Definition at line 34 of file ClassNamingUtility.php.
Referenced by ReflectionService\buildClassSchema().
|
static |
Translates a model name to an appropriate validator name e.g. Tx_Extbase_Domain_Model_Foo to Tx_Extbase_Domain_Validator_FooValidator or to
string | $modelName | Name of the model to translate |
Definition at line 51 of file ClassNamingUtility.php.
Referenced by ValidatorResolver\addCustomValidators().
|
static |
Translates a repository name to an appropriate model name e.g. Tx_Extbase_Domain_Repository_FooRepository to Tx_Extbase_Domain_Model_Foo or to
string | $repositoryName | Name of the repository to translate |
Definition at line 68 of file ClassNamingUtility.php.
Referenced by Repository\__construct().