You are here

protected function HeartbeatMessageBuilder::setError in Heartbeat 6.4

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

File

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

Class

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

Code

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