Added an event to modify the object list prior to reading objects
authorAlexander Ebert <ebert@woltlab.com>
Sun, 23 Jun 2013 12:01:21 +0000 (14:01 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 23 Jun 2013 12:01:21 +0000 (14:01 +0200)
wcfsetup/install/files/lib/page/MultipleLinkPage.class.php

index 51b0fae307b7073243667621e6e86faccf8072ef..2c327bb34ae5562f35e7484dcdfd92265c053a06 100644 (file)
@@ -145,6 +145,9 @@ abstract class MultipleLinkPage extends AbstractPage {
                $this->objectList->sqlLimit = $this->sqlLimit;
                $this->objectList->sqlOffset = $this->sqlOffset;
                if ($this->sqlOrderBy) $this->objectList->sqlOrderBy = $this->sqlOrderBy;
+               
+               EventHandler::getInstance()->fireAction($this, 'beforeReadObjects');
+               
                $this->objectList->readObjects();
        }