Свойство | Тип | Описание | |
---|---|---|---|
$filterLoader | DMS\Filter\Filters\Loader\FilterLoaderInterface | ||
$object | object | ||
$reflClass | ReflectionClass |
Метод | Описание | |
---|---|---|
__construct ( object $object, DMS\Filter\Filters\Loader\FilterLoaderInterface $filterLoader ) | Constructor | |
applyFilterRule ( string $property, |
Applies a Filtering Rule to a property | |
applyFilterRules ( string $property, array $filterRules = [] ) | Applies the selected rules to a property in the object |
Метод | Описание | |
---|---|---|
getAccessibleReflectionProperty ( string $propertyName ) : ReflectionProperty | Retrieves a property from the object and makes it visible | |
getPropertyValue ( string $propertyName ) : mixed | Retrieves the value of the property, overcoming visibility problems | |
setPropertyValue ( $propertyName, mixed $value ) | Overrides the value of a property, overcoming visibility problems |
public __construct ( object $object, DMS\Filter\Filters\Loader\FilterLoaderInterface $filterLoader ) | ||
$object | object | |
$filterLoader | DMS\Filter\Filters\Loader\FilterLoaderInterface |
public applyFilterRule ( string $property, |
||
$property | string | |
$filterRule |
public applyFilterRules ( string $property, array $filterRules = [] ) | ||
$property | string | |
$filterRules | array |
protected FilterLoaderInterface,DMS\Filter\Filters\Loader $filterLoader | ||
Результат | DMS\Filter\Filters\Loader\FilterLoaderInterface |