Replace __construct() with __run() for all pages
authorAlexander Ebert <ebert@woltlab.com>
Tue, 5 Jun 2012 17:12:00 +0000 (19:12 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Tue, 5 Jun 2012 17:12:00 +0000 (19:12 +0200)
commit8f1ba4d230880bbe1424ceb98a511ba871b40caa
treea659cae34959a5c0f03ca67da083dae36ab58b6e
parent91b5b09f45ce8f391eb5aa9c0d30b2cd2e33680d
Replace __construct() with __run() for all pages

Initialization no longer takes place within __construct(), instead all logic is moved into __run().

This way you can access the current request object via RequestHandler::getInstance()->getActiveRequest()->getRequestObject(), but beware it isn't fully initialized yet (as the __run() is active while you access the object itself).
wcfsetup/install/files/lib/action/AJAXProxyAction.class.php
wcfsetup/install/files/lib/action/AbstractAction.class.php
wcfsetup/install/files/lib/action/ClipboardAction.class.php
wcfsetup/install/files/lib/action/ClipboardProxyAction.class.php
wcfsetup/install/files/lib/action/IAction.class.php
wcfsetup/install/files/lib/page/AbstractPage.class.php
wcfsetup/install/files/lib/page/IPage.class.php
wcfsetup/install/files/lib/system/request/Request.class.php