public function heartbeatParser::get_messages in Heartbeat 6.3
Same name and namespace in other branches
- 6.4 includes/heartbeatparser.inc \heartbeatParser::get_messages()
- 7 includes/heartbeatparser.inc \heartbeatParser::get_messages()
Gets the messages as they exist for the time asked
File
- includes/
heartbeatparser.inc, line 70
Class
Code
public function get_messages($limit = 25) {
if ($limit > 0) {
return array_slice($this->_messages, 0, $limit);
}
return $this->_messages;
}