コード例 #1
0
ファイル: Tag.php プロジェクト: RichieDupes/PeoplePods
 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);
 }
コード例 #2
0
ファイル: Users.php プロジェクト: RichieDupes/PeoplePods
 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);
 }
コード例 #3
0
ファイル: Messages.php プロジェクト: RichieDupes/PeoplePods
 function render($template = 'thread', $backup_path = null)
 {
     return parent::renderObj($template, array('thread' => $this), 'messages', $backup_path);
 }