You are here

protected function HeartbeatMessageBuilder::setError in Heartbeat 6.3

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

File

includes/heartbeatmessagebuilder.inc, line 47
Strategy with access behaviour

Class

HeartbeatMessageBuilder
Class HeartbeatMessageBuilder Message builder that fetches and customizes a users activity on the site. The builder takes a heartbeataccess state object to handle the request to fetch the messages.

Code

protected function setError($errors) {
  $this->_errors = $errors;
  $this->_hasErrors = TRUE;
}