3 if (!defined('GNUSOCIAL')) { exit(1); }
5 // @todo FIXME: needs documentation.
6 class ThreadedNoticeListSubItem extends NoticeListItem
8 protected $root = null;
10 function __construct(Notice $notice, $root, $out)
13 parent::__construct($notice, $out);
18 return AVATAR_STREAM_SIZE; // @fixme would like something in between
21 function showNoticeLocation()
26 function showNoticeSource()
31 function getAttentionProfiles()
33 $all = parent::getAttentionProfiles();
37 $rootAuthor = $this->root->getProfile();
39 foreach ($all as $profile) {
40 if ($profile->id != $rootAuthor->id) {
41 $profiles[] = $profile;
50 $threadActive = null; // unused here for now, but maybe in the future?
51 if (Event::handle('StartShowThreadedNoticeTailItems', array($this, $this->notice, &$threadActive))) {
52 // Repeats and Faves/Likes are handled in plugins.
53 Event::handle('EndShowThreadedNoticeTailItems', array($this, $this->notice, &$threadActive));