public function process()
    {
        $args = $this->getArgs();
        $map = $this->getConfig('map');
        foreach ($map as $to => $from) {
            $args[$to] = isset($args[$from]) ? $args[$from] : null;
        }

        $options = $this->getConfig('options');
        $args += $options;

        $this->getQuery()->find($this->finder(), $args);

        return true;
    }
public function process()
    {
        $args = $this->getArgs();
        $map = $this->getConfig('map');
        foreach ($map as $to => $from) {
            $args[$to] = isset($args[$from]) ? $args[$from] : null;
        }

        $options = $this->getConfig('options');
        $args += $options;

        $this->getQuery()->find($this->finder(), $args);

        return true;
    }
public function process ( ) { $ args = $ this -> getArgs ( ) ; $ map = $ this -> getConfig ( 'map' ) ; foreach ( $ map as $ to => $ from ) { $ args [ $ to ] = isset ( $ args [ $ from ] ) ? $ args [ $ from ] : null ; } $ options = $ this -> getConfig ( 'options' ) ; $ args += $ options ; $ this -> getQuery ( ) -> find ( $ this -> finder ( ) , $ args ) ; return true ; }
Add a condition based on a custom finder.

@return bool
Add a condition based on a custom finder .