You are here

protected function HeartbeatAccess::setError in Heartbeat 6.3

Same name and namespace in other branches
  1. 6.4 includes/heartbeataccess.inc \HeartbeatAccess::setError()
1 call to HeartbeatAccess::setError()
HeartbeatAccess::__construct in includes/heartbeataccess.inc

File

includes/heartbeataccess.inc, line 47

Class

HeartbeatAccess
Abstract class heartbeataccess This base class has final template methods which are used by the derived concretes. The HeartbeatAccess is a state object that is given to the HeartbeatMessageBuilder to set the access to the current request.

Code

protected function setError($text) {
  $this->_errors[] = $text;
  $this->_has_errors = TRUE;
}