mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
Add trigger after documentItem->getComments()
This commit is contained in:
parent
877863854e
commit
bb51db5956
1 changed files with 3 additions and 0 deletions
|
|
@ -917,6 +917,9 @@ class documentItem extends Object
|
||||||
Context::set($cpageStr, $output->page_navigation->cur_page);
|
Context::set($cpageStr, $output->page_navigation->cur_page);
|
||||||
Context::set('cpage', $output->page_navigation->cur_page);
|
Context::set('cpage', $output->page_navigation->cur_page);
|
||||||
if($output->total_page>1) $this->comment_page_navigation = $output->page_navigation;
|
if($output->total_page>1) $this->comment_page_navigation = $output->page_navigation;
|
||||||
|
|
||||||
|
// Call trigger (after)
|
||||||
|
$output = ModuleHandler::triggerCall('document.getComments', 'after', $comment_list);
|
||||||
|
|
||||||
return $comment_list;
|
return $comment_list;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue