function showContent() { $nl = new PrimaryNoticeList($this->notice, $this, array('show_n' => NOTICES_PER_PAGE)); $cnt = $nl->show(); if (0 === $cnt) { $this->showEmptyListMessage(); } $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'replies', array('nickname' => $this->target->getNickname())); }
protected function showContent() { if (Event::handle('StartTagShowContent', array($this))) { $nl = new PrimaryNoticeList($this->notice, $this, array('show_n' => NOTICES_PER_PAGE)); $cnt = $nl->show(); $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'tag', array('tag' => $this->tag)); Event::handle('EndTagShowContent', array($this)); } }
function showNotices() { if (Event::handle('StartShowProfileTagContent', array($this))) { $nl = new PrimaryNoticeList($this->notice, $this, array('show_n' => NOTICES_PER_PAGE)); $cnt = $nl->show(); if (0 == $cnt) { $this->showEmptyListMessage(); } $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'showprofiletag', array('tag' => $this->peopletag->tag, 'tagger' => $this->tagger->nickname)); Event::handle('EndShowProfileTagContent', array($this)); } }