示例#1
0
 /**
  * Show content.
  *
  * Display a hierarchical unordered list in the content area.
  * Uses ConversationTree to do most of the heavy lifting.
  *
  * @return void
  */
 function showContent()
 {
     $notices = Notice::conversationStream($this->id, null, null);
     $ct = new ConversationTree($notices, $this);
     $cnt = $ct->show();
 }
 public function onStartShowConversation(Action $action, Conversation $conv, Profile $scoped = null)
 {
     $nl = new ConversationTree($conv->getNotices($action->getScoped()), $action);
     $cnt = $nl->show();
     return false;
 }