public function addConditions(array $conditions)
    {
        foreach ($conditions as $condition) {
            call_user_func_array([$this, key($condition)], current($condition));
        }

        return $this;
    }
public function addConditions(array $conditions)
    {
        foreach ($conditions as $condition) {
            call_user_func_array([$this, key($condition)], current($condition));
        }

        return $this;
    }
public function addConditions ( array $ conditions ) { foreach ( $ conditions as $ condition ) { call_user_func_array ( [ $ this , key ( $ condition ) ] , current ( $ condition ) ) ; } return $ this ; }
Add conditions to grid model.

@param array $conditions

@return $this
Add conditions to grid model .