public function heartbeatParser::get_messages in Heartbeat 6.4
Same name and namespace in other branches
- 6.3 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 407 - HeartbeatParser object
Class
- heartbeatParser
- Class heartbeatParser
Code
public function get_messages($limit = 0) {
if ($limit > 0) {
return array_slice($this->_messages, 0, $limit);
}
return $this->_messages;
}