[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
Zend Framework (http://framework.zend.com/)
Copyright: | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
License: | http://framework.zend.com/license/new-bsd New BSD License |
File Size: | 287 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
__construct() X-Ref |
Initializes a new instance of this class. |
getStrategy($name) X-Ref |
Gets the strategy with the given name. param: string $name The name of the strategy to get. return: StrategyInterface |
hasStrategy($name) X-Ref |
Checks if the strategy with the given name exists. param: string $name The name of the strategy to check for. return: bool |
addStrategy($name, StrategyInterface $strategy) X-Ref |
Adds the given strategy under the given name. param: string $name The name of the strategy to register. param: StrategyInterface $strategy The strategy to register. return: HydratorInterface |
removeStrategy($name) X-Ref |
Removes the strategy with the given name. param: string $name The name of the strategy to remove. return: HydratorInterface |
extractValue($name, $value, $object = null) X-Ref |
Converts a value for extraction. If no strategy exists the plain value is returned. param: string $name The name of the strategy to use. param: mixed $value The value that should be converted. param: mixed $object The object is optionally provided as context. return: mixed |
hydrateValue($name, $value, $data = null) X-Ref |
Converts a value for hydration. If no strategy exists the plain value is returned. param: string $name The name of the strategy to use. param: mixed $value The value that should be converted. param: array $data The whole data is optionally provided as context. return: mixed |
extractName($name, $object = null) X-Ref |
Convert a name for extraction. If no naming strategy exists, the plain value is returned. param: string $name The name to convert. param: null $object The object is optionally provided as context. return: mixed |
hydrateName($name, $data = null) X-Ref |
Converts a value for hydration. If no naming strategy exists, the plain value is returned. param: string $name The name to convert. param: array $data The whole data is optionally provided as context. return: mixed |
getFilter() X-Ref |
Get the filter instance return: Filter\FilterComposite |
addFilter($name, $filter, $condition = FilterComposite::CONDITION_OR) X-Ref |
Add a new filter to take care of what needs to be hydrated. To exclude e.g. the method getServiceLocator: <code> $composite->addFilter("servicelocator", function ($property) { list($class, $method) = explode('::', $property); if ($method === 'getServiceLocator') { return false; } return true; }, FilterComposite::CONDITION_AND ); </code> param: string $name Index in the composite param: callable|Filter\FilterInterface $filter param: int $condition return: Filter\FilterComposite |
hasFilter($name) X-Ref |
Check whether a specific filter exists at key $name or not param: string $name Index in the composite return: bool |
removeFilter($name) X-Ref |
Remove a filter from the composition. To not extract "has" methods, you simply need to unregister it <code> $filterComposite->removeFilter('has'); </code> param: $name return: Filter\FilterComposite |
setNamingStrategy(NamingStrategyInterface $strategy) X-Ref |
Adds the given naming strategy param: NamingStrategyInterface $strategy The naming to register. return: self |
getNamingStrategy() X-Ref |
Gets the naming strategy. return: NamingStrategyInterface |
hasNamingStrategy() X-Ref |
Checks if a naming strategy exists. return: bool |
removeNamingStrategy() X-Ref |
Removes the naming strategy return: self |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |