public function clearHistory()
    {
        $this->historyLines = array();
        $this->historyPosition = null;

        if ($this->historyUnsaved !== null) {
            $this->setInput($this->historyUnsaved);
            $this->historyUnsaved = null;
        }

        return $this;
    }
public function clearHistory()
    {
        $this->historyLines = array();
        $this->historyPosition = null;

        if ($this->historyUnsaved !== null) {
            $this->setInput($this->historyUnsaved);
            $this->historyUnsaved = null;
        }

        return $this;
    }
public function clearHistory ( ) { $ this -> historyLines = array ( ) ; $ this -> historyPosition = null ; if ( $ this -> historyUnsaved !== null ) { $ this -> setInput ( $ this -> historyUnsaved ) ; $ this -> historyUnsaved = null ; } return $ this ; }
Clears the complete history list

@return self
Clears the complete history list