'commentObjectTypeID' => CommentHandler::getInstance()->getObjectTypeID('com.woltlab.wcf.page'),
'lastCommentTime' => $this->objectList->getMinCommentTime(),
'pageID' => RequestHandler::getInstance()->getActiveRequest()->getPageID(),
- 'likeData' => ((MODULE_LIKE && $this->objectList) ? $this->objectList->getLikeData() : []),
+ 'likeData' => ((MODULE_LIKE && $this->objectList) ? $this->objectList->getLikeData() : [])
]);
}
$contentList->readObjects();
foreach ($contentList as $content) {
$results[] = new ACPSearchResult($content->title, LinkHandler::getInstance()->getLink('ArticleEdit', [
- 'id' => $content->articleID,
+ 'id' => $content->articleID
]));
}
$boxList->readObjects();
foreach ($boxList as $box) {
$results[] = new ACPSearchResult($box->name, LinkHandler::getInstance()->getLink('BoxEdit', [
- 'id' => $box->boxID,
+ 'id' => $box->boxID
]));
}
$pageList->readObjects();
foreach ($pageList as $page) {
$results[] = new ACPSearchResult($page->name, LinkHandler::getInstance()->getLink('PageEdit', [
- 'id' => $page->pageID,
+ 'id' => $page->pageID
]));
}