function render($template = 'message', $backup_path = null) { if ($this->hasMethod(__FUNCTION__)) { return $this->override(__FUNCTION__, array($template, $backup_path)); } return parent::render($template, array('message' => $this), 'messages', $backup_path); }