|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| injectConfigurationManager (Tx_Extbase_Configuration_ConfigurationManagerInterface $configurationManager) | |
| setDataCache (t3lib_cache_frontend_VariableFrontend $dataCache) | |
| initialize () | |
| isInitialized () | |
| shutdown () | |
| getClassPropertyNames ($className) | |
| getClassSchema ($classNameOrObject) | |
| getMethodTagsValues ($className, $methodName) | |
| getMethodParameters ($className, $methodName) | |
| getPropertyTagsValues ($className, $propertyName) | |
| getPropertyTagValues ($className, $propertyName, $tag) | |
| isClassReflected ($className) | |
| isClassTaggedWith ($className, $tag) | |
| isPropertyTaggedWith ($className, $propertyName, $tag) | |
Protected Member Functions | |
| reflectClass ($className) | |
| buildClassSchema ($className) | |
| convertParameterReflectionToArray (ReflectionParameter $parameter, $parameterPosition, ReflectionMethod $method=NULL) | |
| getMethodReflection ($className, $methodName) | |
| loadFromCache () | |
| saveToCache () | |
Protected Attributes | |
| $initialized = FALSE | |
| $dataCache | |
| $detectClassChanges = FALSE | |
| $reflectedClassNames = array() | |
| $taggedClasses = array() | |
| $classTagsValues = array() | |
| $methodTagsValues = array() | |
| $methodParameters = array() | |
| $classPropertyNames = array() | |
| $propertyTagsValues = array() | |
| $ignoredTags = array('package', 'subpackage', 'license', 'copyright', 'author', 'version', 'const') | |
| $dataCacheNeedsUpdate = FALSE | |
| $classSchemata = array() | |
| $configurationManager | |
| $cacheIdentifier | |
Definition at line 34 of file Service.php.
| Tx_Extbase_Reflection_Service::buildClassSchema | ( | $ | className | ) | [protected] |
Builds class schemata from classes annotated as entities or value objects
Definition at line 393 of file Service.php.
References getClassPropertyNames(), getPropertyTagValues(), isPropertyTaggedWith(), Tx_Extbase_Reflection_ClassSchema\MODELTYPE_ENTITY, and Tx_Extbase_Reflection_ClassSchema\MODELTYPE_VALUEOBJECT.
Referenced by getClassSchema().
| Tx_Extbase_Reflection_Service::convertParameterReflectionToArray | ( | ReflectionParameter $ | parameter, |
| $ | parameterPosition, | ||
| ReflectionMethod $ | method = NULL |
||
| ) | [protected] |
Converts the given parameter reflection into an information array
| ReflectionParameter | $parameter | The parameter to reflect |
Definition at line 434 of file Service.php.
References getMethodTagsValues().
Referenced by getMethodParameters(), and reflectClass().
| Tx_Extbase_Reflection_Service::getClassPropertyNames | ( | $ | className | ) |
Returns the names of all properties of the specified class
| string | $className | Name of the class to return the property names of |
Definition at line 206 of file Service.php.
References reflectClass().
Referenced by buildClassSchema().
| Tx_Extbase_Reflection_Service::getClassSchema | ( | $ | classNameOrObject | ) |
Returns the class schema for the given class
| mixed | $classNameOrObject | The class name or an object |
Definition at line 218 of file Service.php.
References buildClassSchema().
| Tx_Extbase_Reflection_Service::getMethodParameters | ( | $ | className, |
| $ | methodName | ||
| ) |
Returns an array of parameters of the given method. Each entry contains additional information about the parameter position, type hint etc.
| string | $className | Name of the class containing the method |
| string | $methodName | Name of the method to return parameter information of |
Definition at line 257 of file Service.php.
References convertParameterReflectionToArray(), and getMethodReflection().
| Tx_Extbase_Reflection_Service::getMethodReflection | ( | $ | className, |
| $ | methodName | ||
| ) | [protected] |
Returns the Reflection of a method.
| string | $className | Name of the class containing the method |
| string | $methodName | Name of the method to return the Reflection for |
Definition at line 472 of file Service.php.
Referenced by getMethodParameters(), and getMethodTagsValues().
| Tx_Extbase_Reflection_Service::getMethodTagsValues | ( | $ | className, |
| $ | methodName | ||
| ) |
Returns all tags and their values the specified method is tagged with
| string | $className | Name of the class containing the method |
| string | $methodName | Name of the method to return the tags and values of |
Definition at line 235 of file Service.php.
References getMethodReflection().
Referenced by convertParameterReflectionToArray().
| Tx_Extbase_Reflection_Service::getPropertyTagsValues | ( | $ | className, |
| $ | propertyName | ||
| ) |
Returns all tags and their values the specified class property is tagged with
| string | $className | Name of the class containing the property |
| string | $propertyName | Name of the property to return the tags and values of |
Definition at line 275 of file Service.php.
References reflectClass().
| Tx_Extbase_Reflection_Service::getPropertyTagValues | ( | $ | className, |
| $ | propertyName, | ||
| $ | tag | ||
| ) |
Returns the values of the specified class property tag
| string | $className | Name of the class containing the property |
| string | $propertyName | Name of the tagged property |
| string | $tag | Tag to return the values of |
Definition at line 291 of file Service.php.
References reflectClass().
Referenced by buildClassSchema().
| Tx_Extbase_Reflection_Service::initialize | ( | ) |
Initializes this service
Definition at line 167 of file Service.php.
References Tx_Extbase_Configuration_ConfigurationManagerInterface\CONFIGURATION_TYPE_FRAMEWORK, and loadFromCache().
| Tx_Extbase_Reflection_Service::injectConfigurationManager | ( | Tx_Extbase_Configuration_ConfigurationManagerInterface $ | configurationManager | ) |
| Tx_Extbase_Configuration_ConfigurationManagerInterface | $configurationManager |
Definition at line 146 of file Service.php.
References $configurationManager.
| Tx_Extbase_Reflection_Service::isClassReflected | ( | $ | className | ) |
Tells if the specified class is known to this reflection service and reflection information is available.
| string | $className | Name of the class |
Definition at line 306 of file Service.php.
| Tx_Extbase_Reflection_Service::isClassTaggedWith | ( | $ | className, |
| $ | tag | ||
| ) |
Tells if the specified class is tagged with the given tag
| string | $className | Name of the class |
| string | $tag | Tag to check for |
Definition at line 319 of file Service.php.
References reflectClass().
| Tx_Extbase_Reflection_Service::isInitialized | ( | ) |
Returns whether the Reflection Service is initialized.
Definition at line 184 of file Service.php.
| Tx_Extbase_Reflection_Service::isPropertyTaggedWith | ( | $ | className, |
| $ | propertyName, | ||
| $ | tag | ||
| ) |
Tells if the specified class property is tagged with the given tag
| string | $className | Name of the class |
| string | $propertyName | Name of the property |
| string | $tag | Tag to check for |
Definition at line 336 of file Service.php.
References reflectClass().
Referenced by buildClassSchema().
| Tx_Extbase_Reflection_Service::loadFromCache | ( | ) | [protected] |
Tries to load the reflection data from this service's cache.
Definition at line 485 of file Service.php.
Referenced by initialize().
| Tx_Extbase_Reflection_Service::reflectClass | ( | $ | className | ) | [protected] |
Reflects the given class and stores the results in this service's properties.
| string | $className | Full qualified name of the class to reflect |
Definition at line 349 of file Service.php.
References convertParameterReflectionToArray().
Referenced by getClassPropertyNames(), getPropertyTagsValues(), getPropertyTagValues(), isClassTaggedWith(), and isPropertyTaggedWith().
| Tx_Extbase_Reflection_Service::saveToCache | ( | ) | [protected] |
Exports the internal reflection data into the ReflectionData cache.
Definition at line 499 of file Service.php.
Referenced by shutdown().
| Tx_Extbase_Reflection_Service::setDataCache | ( | t3lib_cache_frontend_VariableFrontend $ | dataCache | ) |
Sets the data cache.
The cache must be set before initializing the Reflection Service.
| t3lib_cache_frontend_VariableFrontend | $dataCache | Cache for the Reflection service |
Definition at line 158 of file Service.php.
References $dataCache.
| Tx_Extbase_Reflection_Service::shutdown | ( | ) |
Shuts the Reflection Service down.
Definition at line 193 of file Service.php.
References saveToCache().
Tx_Extbase_Reflection_Service::$cacheIdentifier [protected] |
Definition at line 140 of file Service.php.
Tx_Extbase_Reflection_Service::$classPropertyNames = array() [protected] |
Definition at line 97 of file Service.php.
Tx_Extbase_Reflection_Service::$classSchemata = array() [protected] |
Definition at line 130 of file Service.php.
Tx_Extbase_Reflection_Service::$classTagsValues = array() [protected] |
Definition at line 75 of file Service.php.
Tx_Extbase_Reflection_Service::$configurationManager [protected] |
Definition at line 135 of file Service.php.
Referenced by injectConfigurationManager().
Tx_Extbase_Reflection_Service::$dataCache [protected] |
Definition at line 46 of file Service.php.
Referenced by setDataCache().
Tx_Extbase_Reflection_Service::$dataCacheNeedsUpdate = FALSE [protected] |
Definition at line 124 of file Service.php.
Tx_Extbase_Reflection_Service::$detectClassChanges = FALSE [protected] |
Definition at line 53 of file Service.php.
Tx_Extbase_Reflection_Service::$ignoredTags = array('package', 'subpackage', 'license', 'copyright', 'author', 'version', 'const') [protected] |
Definition at line 111 of file Service.php.
Tx_Extbase_Reflection_Service::$initialized = FALSE [protected] |
Definition at line 41 of file Service.php.
Tx_Extbase_Reflection_Service::$methodParameters = array() [protected] |
Definition at line 90 of file Service.php.
Tx_Extbase_Reflection_Service::$methodTagsValues = array() [protected] |
Definition at line 82 of file Service.php.
Tx_Extbase_Reflection_Service::$propertyTagsValues = array() [protected] |
Definition at line 104 of file Service.php.
Tx_Extbase_Reflection_Service::$reflectedClassNames = array() [protected] |
Definition at line 61 of file Service.php.
Tx_Extbase_Reflection_Service::$taggedClasses = array() [protected] |
Definition at line 68 of file Service.php.
1.7.5.1