protected function _applyFilter(&$val)
    {
        if (is_array($val)) {
            foreach($val as $key => &$item) {
                $this->_applyFilter($item);
            }
        } else {
            foreach($this->filters as $filter) {
                $val = $filter($val);
            }
        }
    }
protected function _applyFilter(&$val)
    {
        if (is_array($val)) {
            foreach($val as $key => &$item) {
                $this->_applyFilter($item);
            }
        } else {
            foreach($this->filters as $filter) {
                $val = $filter($val);
            }
        }
    }
protected function _applyFilter ( & $ val ) { if ( is_array ( $ val ) ) { foreach ( $ val as $ key => & $ item ) { $ this -> _applyFilter ( $ item ) ; } } else { foreach ( $ this -> filters as $ filter ) { $ val = $ filter ( $ val ) ; } } }
recursively apply filters to a value

@access protected
@param mixed $val reference
@return void
recursively apply filters to a value