protected function getPredicateFunctions($array)
    {
        $predicateFunctions = [];
        if(is_array($array))
        {
            if(isset($array['predicates']))
            {
                $predicateFunctions['predicates'] = $array['predicates'];
            } else
            {
                $predicateFunctions[key($array)] = $array[key($array)];
                $predicateFunctions = array_merge($predicateFunctions, $this->getPredicateFunctions($array[key($array)]));
            }
        }
        return $predicateFunctions;
    }
protected function getPredicateFunctions($array)
    {
        $predicateFunctions = [];
        if(is_array($array))
        {
            if(isset($array['predicates']))
            {
                $predicateFunctions['predicates'] = $array['predicates'];
            } else
            {
                $predicateFunctions[key($array)] = $array[key($array)];
                $predicateFunctions = array_merge($predicateFunctions, $this->getPredicateFunctions($array[key($array)]));
            }
        }
        return $predicateFunctions;
    }
protected function getPredicateFunctions ( $ array ) { $ predicateFunctions = [ ] ; if ( is_array ( $ array ) ) { if ( isset ( $ array [ 'predicates' ] ) ) { $ predicateFunctions [ 'predicates' ] = $ array [ 'predicates' ] ; } else { $ predicateFunctions [ key ( $ array ) ] = $ array [ key ( $ array ) ] ; $ predicateFunctions = array_merge ( $ predicateFunctions , $ this -> getPredicateFunctions ( $ array [ key ( $ array ) ] ) ) ; } } return $ predicateFunctions ; }
Recursively get functions that can modify a predicate
@param array $array
@access protected
@return array
Recursively get functions that can modify a predicate