public function reset()
    {
        $this->_operation      = '';
        $this->_arguments      = array();
        $this->_input          = null;
        $this->_message        = null;
        $this->_output         = '';
        $this->_commandBuffer  = '';

        $this->_statusHandlers = array();
        $this->_errorHandlers  = array();

        if ($this->_debug) {
            $this->addStatusHandler(array($this, '_handleDebugStatus'));
            $this->addErrorHandler(array($this, '_handleDebugError'));
        }

        $this->_processHandler = new Crypt_GPG_ProcessHandler($this);

        $this->addStatusHandler(array($this->_processHandler, 'handleStatus'));
        $this->addErrorHandler(array($this->_processHandler, 'handleError'));
    }
public function reset()
    {
        $this->_operation      = '';
        $this->_arguments      = array();
        $this->_input          = null;
        $this->_message        = null;
        $this->_output         = '';
        $this->_commandBuffer  = '';

        $this->_statusHandlers = array();
        $this->_errorHandlers  = array();

        if ($this->_debug) {
            $this->addStatusHandler(array($this, '_handleDebugStatus'));
            $this->addErrorHandler(array($this, '_handleDebugError'));
        }

        $this->_processHandler = new Crypt_GPG_ProcessHandler($this);

        $this->addStatusHandler(array($this->_processHandler, 'handleStatus'));
        $this->addErrorHandler(array($this->_processHandler, 'handleError'));
    }
public function reset ( ) { $ this -> _operation = '' ; $ this -> _arguments = array ( ) ; $ this -> _input = null ; $ this -> _message = null ; $ this -> _output = '' ; $ this -> _commandBuffer = '' ; $ this -> _statusHandlers = array ( ) ; $ this -> _errorHandlers = array ( ) ; if ( $ this -> _debug ) { $ this -> addStatusHandler ( array ( $ this , '_handleDebugStatus' ) ) ; $ this -> addErrorHandler ( array ( $ this , '_handleDebugError' ) ) ; } $ this -> _processHandler = new Crypt_GPG_ProcessHandler ( $ this ) ; $ this -> addStatusHandler ( array ( $ this -> _processHandler , 'handleStatus' ) ) ; $ this -> addErrorHandler ( array ( $ this -> _processHandler , 'handleError' ) ) ; }
Resets the GPG engine, preparing it for a new operation

@return void

@see Crypt_GPG_Engine::run()
@see Crypt_GPG_Engine::setOperation()
Resets the GPG engine preparing it for a new operation