Reset the model data and state

@param  array $modified List of changed state names
@return ModelAbstract
19989
final public function reset(array $modified = array())
    {
        $context = $this->getContext();
        $context->modified = $modified;

        if ($this->invokeCommand('before.reset', $context) !== false)
        {
            $this->_actionReset($context);
            $this->invokeCommand('after.reset', $context);
        }

        return $this;
    }
707666
public function reset()
    {
        $this->arguments = [];
        $this->section = '';
        $this->format = null;
        $this->createAbsoluteUri = false;
        $this->addQueryString = false;
        $this->argumentsToBeExcludedFromQueryString = [];

        return $this;
    }
130296
public function Reset() {
      // Check the _NoReset flag.
      switch($this->_NoReset) {
         case 1:
            $this->_NoReset = 0;
            return;
         case 2:
            return;
      }
      $this->_Selects         = array();
      $this->_Froms           = array();
      $this->_Joins           = array();
      $this->_Wheres          = array();
      $this->_WhereConcat     = 'and';
      $this->_WhereConcatDefault = 'and';
      $this->_WhereGroupCount = 0;
      $this->_OpenWhereGroupCount = 0;
      $this->_GroupBys        = array();
      $this->_Havings         = array();
      $this->_OrderBys        = array();
      $this->_AliasMap        = array();
      
      $this->_CacheKey        = NULL;
      $this->_CacheOperation  = NULL;
      $this->_CacheOptions    = NULL;
      $this->_Distinct        = FALSE;
      $this->_Limit           = FALSE;
      $this->_Offset          = FALSE;
      $this->_Order           = FALSE;
      
      $this->_Sets            = array();
      $this->_NamedParameters = array();
      $this->_Options         = array();
      
      return $this;
   }
566267
public function reset()
    {

        $result = WpOption::updateOrCreate(
            ['option_name' => $this->optionsName],
            ['option_value' => json_encode( $this->optionsData )]
        );


        $this->_value = (array) $mergeOptions;

        return $result;

    }
958887
public function revert()
    {
        $model = $this->getModel();
        unset( $model->{$model->getCreatedAtColumn()} );
        unset( $model->{$model->getUpdatedAtColumn()} );
        if (method_exists($model, 'getDeletedAtColumn')) {
            unset( $model->{$model->getDeletedAtColumn()} );
        }
        $model->save();
        return $model;
    }
303258
public function reset()
    {
        $this->getRepository()->getSpace()->setEntityState($this, AnDomain::STATE_CLEAN);
        $this->_modified = array();

        return $this;
    }
1222313
public function reset()
	{
		$this->_current_cfg = [];
		$this->_cfg = [];
    $this->_root_element = false;
    $this->_current_element = false;
		foreach ( $this->_defaults as $k => $v ){
			$this->_current_cfg[$k] = $v;
		}
    return $this;
	}
309160
public function reset()
    {
        $this->itemsPerPage = null;
        $this->currentPage = null;
        $this->totalAmount = null;
        $this->url = null;

        return $this;
    }
1044797
private function reset() {
      $this->select  = " SELECT * ";
      $this->from    = " FROM _table_ ";
      $this->join    = " ";
      $this->on      = " ";
      $this->where   = " ";
      $this->groupBy = " ";
      $this->having  = " ";
      $this->orderBy = " ";
      $this->limit   = " ";
      $this->offset  = " ";
      $this->union   = " ";
      $this->case    = "";
      $this->when    = "";
      $this->else    = "";
      $this->rows    = [] ;
      $this->placeholder_data = [] ;
      $_ENV["daniia_daniia"]  = null;

      $this->get_instance();
      return $this;
   }
215226
protected function reset()
    {
        $this->element = null;
        $this->arguments = [];
        $this->methods = [];
        $this->cloneElement = false;
        $this->translatableIndicator = false;

        return $this;
    }
938011
public function reset()
    {
        $this->class    = null;
        $this->with     = [];
        $this->flags    = [];
        $this->columns  = [];
        $this->from     = [];
        $this->join     = [];
        $this->where    = [];
        $this->groupBy  = [];
        $this->having   = [];
        $this->orderBy  = [];
        $this->limit    = null;
        $this->offset   = null;
        $this->bindings = [
            'select' => [],
            'from'   => [],
            'join'   => [],
            'where'  => [],
            'group'  => [],
            'having' => [],
            'order'  => [],
        ];

        return $this;
    }
1038858
public function resetState()
	{
		// clean states
		$this->setStateArray( new StateArray() );
		$state_array = $this->getStateArray();
		$state_array->append( new $this->initial_state );
		Session::put($this->session_key,$state_array);
	}
1266960
public function reset()
	{
		$this->uri 		   = null;
		$this->method 	   = self::GET;
		$this->headers 	   = array();
		$this->paramsGet   = array();
		$this->paramsPost  = array();
		$this->useRawData  = false;
		$this->dataRaw 	   = null;
		$this->httpVersion = self::HTTP_1;
		$this->curlOpts    = array();
		
		return $this;
	}
674571
public function reset( array $names = array() )
    {
        if( array() == $names )
        {
            // Unset new instance to force reset
            $this->new_instance = array();
            return $this->update();
        }
        else
        {
            foreach( $this->components as $c )
            {
                if( in_array($c->get_name(), $names) )
                {
                    $this->new_instance[$c->get_name()] = $c->get_default_value();
                }
            }
            return $this->update();
        }
    }
1269613
public function resetModified($col = null)
    {
        if (null !== $col) {
            if (isset($this->modifiedColumns[$col])) {
                unset($this->modifiedColumns[$col]);
            }
        } else {
            $this->modifiedColumns = array();
        }
    }
574882
public function reset()
	{
		unset($this->_registry);
		unset($this->_mixin);
		unset($this->_errorHandler);
		unset($this->_errorContext);
		unset($this->_middleware);
		return $this;
	}
275167
public function resetModified($col = null)
    {
        if ($col !== null) {
            while (($offset = array_search($col, $this->modifiedColumns)) !== false) {
                array_splice($this->modifiedColumns, $offset, 1);
            }
        } else {
            $this->modifiedColumns = array();
        }

        return $this;
    }