private function resetParams($params)
    {
        $keys = is_array($params) ? $params : func_get_args();

        foreach ($keys as $key) {
            if (property_exists($this, $key))
                $this->$key = null;
        }
    }
private function resetParams($params)
    {
        $keys = is_array($params) ? $params : func_get_args();

        foreach ($keys as $key) {
            if (property_exists($this, $key))
                $this->$key = null;
        }
    }
private function resetParams ( $ params ) { $ keys = is_array ( $ params ) ? $ params : func_get_args ( ) ; foreach ( $ keys as $ key ) { if ( property_exists ( $ this , $ key ) ) $ this -> $ key = null ; } }
Reset extra data to base values

@param $params
Reset extra data to base values