Add afterInitObjectList event to MultipleLinkPage
authorTim Düsterhus <duesterhus@woltlab.com>
Mon, 26 Feb 2018 15:03:06 +0000 (16:03 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Mon, 26 Feb 2018 15:12:06 +0000 (16:12 +0100)
commitdc9c6eb9030a172162916ee0267042ea15bbbbca
tree139d6c0591d9de9b9a25255c4f5c13b207913d86
parent1d2f2b1c36b0bf0ccb2d00008147a9eabd1c173b
Add afterInitObjectList event to MultipleLinkPage

This event basically is equivalent to the calculateNumberOfPages event.
It does, however, provide a less ambiguous place for additional SQL
conditions added by plugins: Pages that extend MultipleLinkPage add
their conditions in initObjectList, plugins can use afterInitObjectList
instead of calculateNumberOfPages for clarity.
wcfsetup/install/files/lib/page/MultipleLinkPage.class.php