Reset everything if necessary.
@private

@throws \coding_Exception if used outside of unit tests.
774424
public static function phpunit_reset() {
        if (!PHPUNIT_TEST) {
            throw new \coding_exception('Cannot reset event manager outside of phpunit tests!');
        }
        self::$buffer = array();
        self::$extbuffer = array();
        self::$dispatching = false;
        if (!self::$reloadaftertest) {
            self::$allobservers = null;
        }
        self::$reloadaftertest = false;
    }
533167
private function reset()
    {
        $this->table = null;
        $this->tables = null;
        $this->columns = '*';
        //
        $this->values =
        $this->sets = [];
        //
        $this->where =
        $this->order =
        $this->group = '';
    }
795349
public function reset()
    {
        $this->values[self::RATCHETKEY] = null;
        $this->values[self::COUNTER] = null;
        $this->values[self::PREVIOUSCOUNTER] = null;
        $this->values[self::CIPHERTEXT] = null;
    }
404
public void reset()
    {
        try{
            out=IO.getNullWriter();
            super.flush();
            out=new OutputStreamWriter(os,encoding);
            written=false;
        }
        catch(UnsupportedEncodingException e)
        {
            log.fatal(e); System.exit(1);
        }
    }
912671
function() {
    var oThis = this;

    var argsPassed = oThis._filterArgs(arguments);

    var args = [oThis.getPrefix(this.ERR_PRE)];
    args = args.concat(Array.prototype.slice.call(argsPassed));
    args.push(this.CONSOLE_RESET);
    console.log.apply(console, args);
  }
1252558
public static function reset() {
		if ( empty( self::$initial_state ) ) {
			self::$initial_state = get_class_vars( 'Inflector' );

			return;
		}

		foreach ( self::$initial_state as $key => $val ) {
			if ( 'initial_state' !== $key ) {
				self::${$key} = $val;
			}
		}
	}
701719
private function reset()
    {
        $vars = get_object_vars($this);
        //
        foreach ($vars as $key => $value) {
            unset($this->$key);
        }
    }
626674
public static function reset()
    {
        if (empty(self::$initialState)) {
            self::$initialState = get_class_vars(Inflector::class);
            return;
        }
        foreach (self::$initialState as $key => $val) {
            if ($key != 'initialState') {
                self::${$key} = $val;
            }
        }
        self::$cache = [];
    }
1231369
public function clear()
    {
        $this->id = null;
        $this->code = null;
        $this->en = null;
        $this->de = null;
        $this->alreadyInSave = false;
        $this->alreadyInValidation = false;
        $this->alreadyInClearAllReferencesDeep = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
241371
public function reset()
    {
        if (null !== $this->_dataReader) {
            $this->_dataReader->close();
        }
        $this->_dataReader = null;
        $this->_batch = null;
        $this->_value = null;
        $this->_key = null;
    }
808468
public void reset() {
		this.errorType = ErrorType.NONE;
		this.message = null;
		this.columnName = null;
		this.columnValue = null;
		this.columnType = null;
		this.line = null;
		this.lineNumber = 0;
		this.linePos = 0;
	}
37734
public function reset()
    {
        $this->values[self::ID] = null;
        $this->values[self::PUBLICKEY] = null;
        $this->values[self::PRIVATEKEY] = null;
    }
47923
function reset() {
    $this->_position["x"] = null;
    $this->_position["y"] = null;
    
    $this->_containing_block["x"] = null;
    $this->_containing_block["y"] = null;
    $this->_containing_block["w"] = null;
    $this->_containing_block["h"] = null;

    $this->_style = null;
    unset($this->_style);
    $this->_style = clone $this->_original_style;
  }
932263
function reset()
    {

        // iterate through the form's controls
        foreach ($this->controls as $key => $control) {

            // reference to the control
            $obj = & $this->controls[$key];

            // reset
            $obj->reset();

        }

    }
525725
private function reset()
    {
        $this->settings['columns'] = null;
        $this->settings['table'] = null;
        $this->settings['where'] = null;
        $this->settings['order'] = null;
        $this->settings['limit'] = null;
        $this->settings['statements'] = null;
        $this->settings['foreing'] = null;
        $this->settings['reference'] = null;
        $this->settings['on'] = null;
        $this->settings['actions'] = null;
        $this->settings['engine'] = null;
        $this->settings['charset'] = null;
    }
502094
function reset()
    {
        $this->_frame->reset();

        $this->_counters = array();

        $this->_cached_parent = null; //clear get_parent() cache

        // Reset all children
        foreach ($this->get_children() as $child) {
            $child->reset();
        }
    }
541501
public function reset()
	{
		$this->started = $this->now();
		$this->prefix  = '';
		$this->marks   = array();
		$this->memory  = memory_get_usage(true);
	}