You are here

protected function HeartbeatStream::setError in Heartbeat 7

setError Alias for addError.

Parameters

$text String of found error:

Return value

void

File

includes/heartbeatstream.inc, line 162
HeartbeatStream object is the object that takes stream configuration to create a stream of activity objects. It is the controlling organ at the pre-query, query and post-query phases.

Class

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

Code

protected function setError($text) {
  $this
    ->_addError($text);
}