]> git.mxchange.org Git - core.git/commitdiff
Controller instance shall now be fetched from registry
authorRoland Häder <roland@mxchange.org>
Thu, 20 Nov 2008 19:54:30 +0000 (19:54 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Nov 2008 19:54:30 +0000 (19:54 +0000)
24 files changed:
inc/classes/main/filter/auth/class_UserAuthFilter.php
inc/classes/main/filter/change/class_EmailChangeFilter.php
inc/classes/main/filter/change/class_PasswordChangeFilter.php
inc/classes/main/filter/checkboxes/class_RulesAcceptedFilter.php
inc/classes/main/filter/class_
inc/classes/main/filter/crypto/class_CaptchaEncryptFilter.php
inc/classes/main/filter/guest/class_UserNameIsGuestFilter.php
inc/classes/main/filter/news/class_NewsDownloadFilter.php
inc/classes/main/filter/news/class_NewsProcessFilter.php
inc/classes/main/filter/null/class_NullFilter.php
inc/classes/main/filter/update/class_UserStatusConfimedUpdateFilter.php
inc/classes/main/filter/update/class_UserUpdateFilter.php
inc/classes/main/filter/validator/class_EmailValidatorFilter.php
inc/classes/main/filter/validator/class_PasswordValidatorFilter.php
inc/classes/main/filter/validator/class_UserNameValidatorFilter.php
inc/classes/main/filter/verifier/class_AccountPasswordVerifierFilter.php
inc/classes/main/filter/verifier/class_ConfirmCodeVerifierFilter.php
inc/classes/main/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php
inc/classes/main/filter/verifier/class_PasswordGuestVerifierFilter.php
inc/classes/main/filter/verifier/class_PasswordVerifierFilter.php
inc/classes/main/filter/verifier/class_UserGuestVerifierFilter.php
inc/classes/main/filter/verifier/class_UserNameVerifierFilter.php
inc/classes/main/filter/verifier/class_UserStatusVerifierFilter.php
inc/classes/main/filter/verifier/class_UserUnconfirmedVerifierFilter.php

index c2b0ac4287164c49e3ac59dae1f57565b6483f85..2557816a4044a9d347bc7aa3393bb6c2d495b08a 100644 (file)
@@ -43,16 +43,12 @@ class UserAuthFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserAuthFilter (Controller $controllerInstance) {
+       public final static function createUserAuthFilter () {
                // Get a new instance
                $filterInstance = new UserAuthFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Set default auth method
                $filterInstance->setDefaultAuthMethod();
 
index bc481dd709fa8af868cdc17017f58f4e535b882b..6a32d74dda7fc4de849b5a997129c50cee1e4355 100644 (file)
@@ -35,16 +35,12 @@ class EmailChangeFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createEmailChangeFilter (Controller $controllerInstance) {
+       public final static function createEmailChangeFilter () {
                // Get a new instance
                $filterInstance = new EmailChangeFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index e7b8b50556ee3899294a85808ca6c37839c48ae1..e5536731ef2554b1df7a574a716f96a41085695e 100644 (file)
@@ -38,13 +38,10 @@ class PasswordChangeFilter extends BaseFilter implements Filterable {
         * @param       $controllerInstance             An instance of a controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createPasswordChangeFilter (Controller $controllerInstance) {
+       public final static function createPasswordChangeFilter () {
                // Get a new instance
                $filterInstance = new PasswordChangeFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 03b769a270c13fe0f6742c94e438c10668d80fff..23664b64f9a6c2a67ca78a4da91ad0e5834608d5 100644 (file)
@@ -37,16 +37,12 @@ class RulesAcceptedFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createRulesAcceptedFilter (Controller $controllerInstance) {
+       public final static function createRulesAcceptedFilter () {
                // Get a new instance
                $filterInstance = new RulesAcceptedFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index bd14a20d0255ebc56ac27aa784a7140679b90f0d..4fe41a14f9b5c64193d776976e05de8a0b348e8c 100644 (file)
@@ -35,16 +35,12 @@ class ???Filter extends BaseFrameworkSystem implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function create???Filter (Controller $controllerInstance) {
+       public final static function create???Filter () {
                // Get a new instance
                $filterInstance = new ???Filter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 3a20eb2929e248358629cb47a37f7e704f8dec07..7208c60db0e4bb1cd54599cd34225b6d53ed0cf3 100644 (file)
@@ -35,16 +35,12 @@ class CaptchaEncryptFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createCaptchaEncryptFilter (Controller $controllerInstance) {
+       public final static function createCaptchaEncryptFilter () {
                // Get a new instance
                $filterInstance = new CaptchaEncryptFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 20155ac3d92bfe70a741b88dfc8df7c0f07dfb00..e4a32e416079bb4dc0c2ccd51619626c9ec50785 100644 (file)
@@ -36,16 +36,12 @@ class UserNameIsGuestFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserNameIsGuestFilter (Controller $controllerInstance) {
+       public final static function createUserNameIsGuestFilter () {
                // Get a new instance
                $filterInstance = new UserNameIsGuestFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 8799398e325ac9cda4730ba4a294b18d9de3dc3d..5034018f5e086a56a6be2ae0250a44486970338d 100644 (file)
@@ -37,16 +37,12 @@ class NewsDownloadFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createNewsDownloadFilter (Controller $controllerInstance) {
+       public final static function createNewsDownloadFilter () {
                // Get a new instance
                $filterInstance = new NewsDownloadFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 5ecb0960553438b91c580cf0738833fced24584a..611b73e5ec90fdb806a3a1f0917fe3922f8ab8e4 100644 (file)
@@ -36,16 +36,12 @@ class NewsProcessFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createNewsProcessFilter (Controller $controllerInstance) {
+       public final static function createNewsProcessFilter () {
                // Get a new instance
                $filterInstance = new NewsProcessFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 3dd83829b2013d9e4c1ad6e06cd6c1b2feee9da2..bcfa2b0b6c29e66cb41bc0c2f3b78d1c0066eb7e 100644 (file)
@@ -36,16 +36,12 @@ class NullFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createNullFilter (Controller $controllerInstance) {
+       public final static function createNullFilter () {
                // Get a new instance
                $filterInstance = new NullFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index a7e409b0a16327391e5d3e982e097ab674ded7fe..b158d7656533e98b9cd4617c8279ecc0a15b0c85 100644 (file)
@@ -35,16 +35,12 @@ class UserStatusConfimedUpdateFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserStatusConfimedUpdateFilter (Controller $controllerInstance) {
+       public final static function createUserStatusConfimedUpdateFilter () {
                // Get a new instance
                $filterInstance = new UserStatusConfimedUpdateFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 69c62d80a81ce2b9d33bc9043e77df3340267f59..7f3790d2066debe86b215c094ec51195509b71eb 100644 (file)
@@ -36,16 +36,12 @@ class UserUpdateFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserUpdateFilter (Controller $controllerInstance) {
+       public final static function createUserUpdateFilter () {
                // Get a new instance
                $filterInstance = new UserUpdateFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 6183b33b265066b17fe5d9cf5babaa7e86e3b599..94fd2567f6c1ccd0b649f55736bc0c4f9fac0f2b 100644 (file)
@@ -38,16 +38,12 @@ class EmailValidatorFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createEmailValidatorFilter (Controller $controllerInstance) {
+       public final static function createEmailValidatorFilter () {
                // Get a new instance
                $filterInstance = new EmailValidatorFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 2591f1ea78efc2a4af1a0e65c452dcbeb9b11118..a666d262f4c5c612c8558d3f9f4d52ab172a0b53 100644 (file)
@@ -36,16 +36,12 @@ class PasswordValidatorFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createPasswordValidatorFilter (Controller $controllerInstance) {
+       public final static function createPasswordValidatorFilter () {
                // Get a new instance
                $filterInstance = new PasswordValidatorFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 8d0445feb4696d5fe43ea9b68edeb3729a358104..2f9713c0d8926137961fd7c854bc803b7dfc9102 100644 (file)
@@ -37,16 +37,12 @@ class UserNameValidatorFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserNameValidatorFilter (Controller $controllerInstance) {
+       public final static function createUserNameValidatorFilter () {
                // Get a new instance
                $filterInstance = new UserNameValidatorFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 44fdcfc9f574399893f43ec11cc18f04f0cf71ed..a1ec524b68b080d90773f47e2313e7bc833eacd9 100644 (file)
@@ -36,16 +36,12 @@ class AccountPasswordVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createAccountPasswordVerifierFilter (Controller $controllerInstance) {
+       public final static function createAccountPasswordVerifierFilter () {
                // Get a new instance
                $filterInstance = new AccountPasswordVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 09a13d0134fe78ae68b0e776ca8e0f8704c49c2f..e4620cb2dc3735bc5d1f6429c58ff6a30e49be72 100644 (file)
@@ -35,16 +35,12 @@ class ConfirmCodeVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createConfirmCodeVerifierFilter (Controller $controllerInstance) {
+       public final static function createConfirmCodeVerifierFilter () {
                // Get a new instance
                $filterInstance = new ConfirmCodeVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 27fe8a357a64cb3db09d990062d1596730200190..29a84674fcc42138fe918ea92632bdfbb30c8618 100644 (file)
@@ -35,16 +35,12 @@ class GraphicalCodeCaptchaVerifierFilter extends BaseFilter implements Filterabl
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createGraphicalCodeCaptchaVerifierFilter (Controller $controllerInstance) {
+       public final static function createGraphicalCodeCaptchaVerifierFilter () {
                // Get a new instance
                $filterInstance = new GraphicalCodeCaptchaVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index abe338d3e47a7b346797e8793a0b72d7ab7a0d13..3095594c663ec2386bd858834a8d74e2625e9ab7 100644 (file)
@@ -36,16 +36,12 @@ class PasswordGuestVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createPasswordGuestVerifierFilter (Controller $controllerInstance) {
+       public final static function createPasswordGuestVerifierFilter () {
                // Get a new instance
                $filterInstance = new PasswordGuestVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index cea7d2109c46d63ffca2f2f7395bfe642bdc39c1..d859aa72916135b7fe0ec471c071f18fff1e233e 100644 (file)
@@ -36,16 +36,12 @@ class PasswordVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createPasswordVerifierFilter (Controller $controllerInstance) {
+       public final static function createPasswordVerifierFilter () {
                // Get a new instance
                $filterInstance = new PasswordVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 8e2b952fdeb3715ad461a11719c00dffd4660a70..4ede3845e3b00aa678a9ef324744b012ab813563 100644 (file)
@@ -37,16 +37,12 @@ class UserGuestVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserGuestVerifierFilter (Controller $controllerInstance) {
+       public final static function createUserGuestVerifierFilter () {
                // Get a new instance
                $filterInstance = new UserGuestVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index a3b12a985d918ab261529d3060d17b3108504296..3022efee19d7e581f72f93a74a31ca5c6be0e059 100644 (file)
@@ -37,16 +37,12 @@ class UserNameVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserNameVerifierFilter (Controller $controllerInstance) {
+       public final static function createUserNameVerifierFilter () {
                // Get a new instance
                $filterInstance = new UserNameVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index a058aa04ab555bad87274d2ff119ef3a20da1568..e0c34990c8ec88d66607e4da845ed5c7c8ce7c4a 100644 (file)
@@ -35,16 +35,12 @@ class UserStatusVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserStatusVerifierFilter (Controller $controllerInstance) {
+       public final static function createUserStatusVerifierFilter () {
                // Get a new instance
                $filterInstance = new UserStatusVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }
index 0845c85bcf66c2af7712538958e3094ef3492b3b..7df7795a85b39b6de008151a66a817549579de0d 100644 (file)
@@ -35,16 +35,12 @@ class UserUnconfirmedVerifierFilter extends BaseFilter implements Filterable {
        /**
         * Creates an instance of this filter class
         *
-        * @param       $controllerInstance             An instance of a Controller class
         * @return      $filterInstance                 An instance of this filter class
         */
-       public final static function createUserUnconfirmedVerifierFilter (Controller $controllerInstance) {
+       public final static function createUserUnconfirmedVerifierFilter () {
                // Get a new instance
                $filterInstance = new UserUnconfirmedVerifierFilter();
 
-               // Set the controller
-               $filterInstance->setControllerInstance($controllerInstance);
-
                // Return the instance
                return $filterInstance;
        }