40                parent::__construct(
$config, $reserved);
 
   41                assert(
'is_array($config)');
 
   44                $this->targetAttribute = 
$config->getString(
'targetAttribute');
 
   45                $this->sourceAttribute = 
$config->getString(
'sourceAttribute');
 
   55                assert(
'is_array($request)');
 
   56                assert(
'array_key_exists("Attributes", $request)');
 
   73                $scopeIndex = strrpos($sourceAttrVal, 
'@');
 
   75                if ($scopeIndex !== FALSE) {
 
   77                        $scope = substr($sourceAttrVal, $scopeIndex+1);
 
   80                                                 $this->targetAttribute . 
', with scope ' .
 
   84                                                   $this->sourceAttribute .
 
   85                                                   ' does not have a scope. Did not add attribute ' .
 
   86                                                   $this->targetAttribute . 
'.');
 
An exception for terminatinating execution or to throw for unit testing.
static loadFromArray($config, $location='[ARRAY]', $instance=null)
Loads a configuration from the given array.
Retrieve a scope from a source attribute and add it as a virtual target attribute.
process(&$request)
Apply this filter.
__construct($config, $reserved)
Initialize this filter, parse configuration.