public function setValues($values)
    {
        foreach ($this->findScenario() as $name) {
            if (array_key_exists($name, $values)) {
                $this->$name = $values[$name];
            }
        }
        return $this;
    }
public function setValues($values)
    {
        foreach ($this->findScenario() as $name) {
            if (array_key_exists($name, $values)) {
                $this->$name = $values[$name];
            }
        }
        return $this;
    }
public function setValues ( $ values ) { foreach ( $ this -> findScenario ( ) as $ name ) { if ( array_key_exists ( $ name , $ values ) ) { $ this -> $ name = $ values [ $ name ] ; } } return $ this ; }
Setting values into input filter.
@param array $values
@return static
Setting values into input filter .