Beispiel #1
0
 function render($template = 'tag', $backup_path = null)
 {
     if ($this->hasMethod(__FUNCTION__)) {
         return $this->override(__FUNCTION__, array($template, $backup_path));
     }
     return parent::renderObj($template, array('tag' => $this), 'content', $backup_path);
 }
Beispiel #2
0
 function render($template = 'output', $backup_path = null)
 {
     if ($this->hasMethod(__FUNCTION__)) {
         return $this->override(__FUNCTION__, array($template, $backup_path));
     }
     return parent::renderObj($template, array('user' => $this), 'people', $backup_path);
 }
Beispiel #3
0
 function render($template = 'thread', $backup_path = null)
 {
     return parent::renderObj($template, array('thread' => $this), 'messages', $backup_path);
 }