function RulesLog::render
Renders the whole log.
1 call to RulesLog::render()
- RulesLog::checkLog in includes/
rules.core.inc - Checks the log and throws an exception if there were any problems.
File
-
includes/
rules.core.inc, line 2777
Class
- RulesLog
- The rules default logging class.
Code
public function render() {
$line = 0;
$output = array();
while (isset($this->log[$line])) {
$vars['head'] = t($this->log[$line][0], $this->log[$line][1]);
$vars['log'] = $this->renderHelper($line);
$output[] = theme('rules_debug_element', $vars);
$line++;
}
return implode('', $output);
}