protected function raiseError(ActiveRecord $object) {
		
		// get error list from the ActiveRecord object
		$errors = $object->getErrors();
		
		$message = $this->lang('ERROR_ON_LAST_REQUEST') . ($errors ? ": \n" . implode(" \n", $errors) : '');
		$this->enqueueError($message);
		$this->view = 'default';
		
	}
protected function raiseError(ActiveRecord $object) {
		
		// get error list from the ActiveRecord object
		$errors = $object->getErrors();
		
		$message = $this->lang('ERROR_ON_LAST_REQUEST') . ($errors ? ": \n" . implode(" \n", $errors) : '');
		$this->enqueueError($message);
		$this->view = 'default';
		
	}
protected function raiseError ( ActiveRecord $ object ) { // get error list from the ActiveRecord object $ errors = $ object -> getErrors ( ) ; $ message = $ this -> lang ( 'ERROR_ON_LAST_REQUEST' ) . ( $ errors ? ": \n" . implode ( " \n" , $ errors ) : '' ) ; $ this -> enqueueError ( $ message ) ; $ this -> view = 'default' ; }
Get error list from an ActiveRecord object and show it to the user.

@param	ActiveRecord	The inherited object.
Get error list from an ActiveRecord object and show it to the user .