[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch




/vendor/zendframework/zend-stdlib/src/Hydrator/ -> FilterEnabledInterface.php (summary)

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: 63 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

FilterEnabledInterface:: (3 methods):

Interface: FilterEnabledInterface  - X-Ref

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:

function ($property) {
list($class, $method) = explode('::', $property);
if ($method === 'getServiceLocator') {
return false;
return true;

param: string $name Index in the composite
param: callable|FilterInterface $filter
param: int $condition
return: 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


param: $name
return: FilterComposite

Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1