PHP Interface DMS\Filter\Filters\ObjectAwareFilter

Allows filters to be aware of the object they are being applied to.
Mostra file Open project: rdohms/dms-filter

Public Methods

Method Description
getCurrentObject ( ) : object | null Retrieves the current Object to be used
setCurrentObject ( $object ) : object Set the current object so that the filter can access it

Method Details

getCurrentObject() public method

Retrieves the current Object to be used
public getCurrentObject ( ) : object | null
return object | null | null

setCurrentObject() public method

Set the current object so that the filter can access it
public setCurrentObject ( $object ) : object
$object
return object mixed