From 9a1713c1db3982f8e238df33b2c5477b510a3a8a Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 25 Feb 2017 16:20:38 +0100 Subject: [PATCH] Continued: - added "import" of BaseFilter MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- application/tests/config.php | 6 ++++++ inc/main/classes/filter/auth/class_UserAuthFilter.php | 1 + inc/main/classes/filter/change/class_EmailChangeFilter.php | 1 + .../classes/filter/change/class_PasswordChangeFilter.php | 1 + .../classes/filter/checkboxes/class_RulesAcceptedFilter.php | 1 + .../classes/filter/crypto/class_CaptchaEncryptFilter.php | 1 + .../classes/filter/guest/class_UserNameIsGuestFilter.php | 1 + inc/main/classes/filter/news/class_NewsDownloadFilter.php | 1 + inc/main/classes/filter/news/class_NewsProcessFilter.php | 1 + inc/main/classes/filter/null/class_NullFilter.php | 1 + .../classes/filter/payment/class_PaymentDiscoveryFilter.php | 1 + .../filter/update/class_UserStatusConfimedUpdateFilter.php | 1 + inc/main/classes/filter/update/class_UserUpdateFilter.php | 1 + .../classes/filter/validator/class_EmailValidatorFilter.php | 1 + .../filter/validator/class_PasswordValidatorFilter.php | 1 + .../filter/validator/class_UserNameValidatorFilter.php | 1 + .../filter/verifier/class_AccountPasswordVerifierFilter.php | 1 + .../filter/verifier/class_BirthdayVerifierFilter.php | 1 + .../filter/verifier/class_ConfirmCodeVerifierFilter.php | 1 + .../verifier/class_GraphicalCodeCaptchaVerifierFilter.php | 1 + .../filter/verifier/class_PasswordGuestVerifierFilter.php | 1 + .../filter/verifier/class_PasswordVerifierFilter.php | 1 + .../filter/verifier/class_UserGuestVerifierFilter.php | 1 + .../filter/verifier/class_UserNameVerifierFilter.php | 1 + .../filter/verifier/class_UserStatusVerifierFilter.php | 1 + .../filter/verifier/class_UserUnconfirmedVerifierFilter.php | 1 + 26 files changed, 31 insertions(+) diff --git a/application/tests/config.php b/application/tests/config.php index f9ca6ea7..066a2a21 100644 --- a/application/tests/config.php +++ b/application/tests/config.php @@ -38,3 +38,9 @@ $cfg->setConfigEntry('default_tests_console_controller', 'main'); // CFG: TESTS-CONSOLE-CMD-MAIN-RESOLVER-CLASS $cfg->setConfigEntry('tests_console_cmd_main_resolver_class', 'CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver'); + +// CFG: NEWS-DOWNLOAD-FILTER +$cfg->setConfigEntry('news_download_filter', 'CoreFramework\Filter\News\NewsDownloadFilter'); + +// CFG: NEWS-PROCESS-FILTER +$cfg->setConfigEntry('news_process_filter', 'CoreFramework\Filter\News\NewsProcessFilter'); diff --git a/inc/main/classes/filter/auth/class_UserAuthFilter.php b/inc/main/classes/filter/auth/class_UserAuthFilter.php index 98eb3f1e..c651a8d3 100644 --- a/inc/main/classes/filter/auth/class_UserAuthFilter.php +++ b/inc/main/classes/filter/auth/class_UserAuthFilter.php @@ -4,6 +4,7 @@ namespace CoreFramework\Filter\User\Auth; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Filter\BaseFilter; use CoreFramework\Loader\NoClassException; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; diff --git a/inc/main/classes/filter/change/class_EmailChangeFilter.php b/inc/main/classes/filter/change/class_EmailChangeFilter.php index 2f2188ed..34b82177 100644 --- a/inc/main/classes/filter/change/class_EmailChangeFilter.php +++ b/inc/main/classes/filter/change/class_EmailChangeFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Change\Email; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/change/class_PasswordChangeFilter.php b/inc/main/classes/filter/change/class_PasswordChangeFilter.php index c584d283..133ab586 100644 --- a/inc/main/classes/filter/change/class_PasswordChangeFilter.php +++ b/inc/main/classes/filter/change/class_PasswordChangeFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Change\Email; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/checkboxes/class_RulesAcceptedFilter.php b/inc/main/classes/filter/checkboxes/class_RulesAcceptedFilter.php index 1d6eab6b..fea338e0 100644 --- a/inc/main/classes/filter/checkboxes/class_RulesAcceptedFilter.php +++ b/inc/main/classes/filter/checkboxes/class_RulesAcceptedFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\RulesCheckbox; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/crypto/class_CaptchaEncryptFilter.php b/inc/main/classes/filter/crypto/class_CaptchaEncryptFilter.php index 6d08cb3b..1f89f4bb 100644 --- a/inc/main/classes/filter/crypto/class_CaptchaEncryptFilter.php +++ b/inc/main/classes/filter/crypto/class_CaptchaEncryptFilter.php @@ -4,6 +4,7 @@ namespace CoreFramework\Filter\Captcha; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/guest/class_UserNameIsGuestFilter.php b/inc/main/classes/filter/guest/class_UserNameIsGuestFilter.php index 2ab3bcb1..44467471 100644 --- a/inc/main/classes/filter/guest/class_UserNameIsGuestFilter.php +++ b/inc/main/classes/filter/guest/class_UserNameIsGuestFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\User\Username; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/news/class_NewsDownloadFilter.php b/inc/main/classes/filter/news/class_NewsDownloadFilter.php index 58df0f5c..65349546 100644 --- a/inc/main/classes/filter/news/class_NewsDownloadFilter.php +++ b/inc/main/classes/filter/news/class_NewsDownloadFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\News; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/news/class_NewsProcessFilter.php b/inc/main/classes/filter/news/class_NewsProcessFilter.php index 28488db5..3a53311d 100644 --- a/inc/main/classes/filter/news/class_NewsProcessFilter.php +++ b/inc/main/classes/filter/news/class_NewsProcessFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\News; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/null/class_NullFilter.php b/inc/main/classes/filter/null/class_NullFilter.php index 2d525aaa..cbb10bf0 100644 --- a/inc/main/classes/filter/null/class_NullFilter.php +++ b/inc/main/classes/filter/null/class_NullFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Generic; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/payment/class_PaymentDiscoveryFilter.php b/inc/main/classes/filter/payment/class_PaymentDiscoveryFilter.php index 44a31f1a..ba752942 100644 --- a/inc/main/classes/filter/payment/class_PaymentDiscoveryFilter.php +++ b/inc/main/classes/filter/payment/class_PaymentDiscoveryFilter.php @@ -5,6 +5,7 @@ namespace CoreFramework\Filter\Discovery\Payment; // Import framework stuff use CoreFramework\Action\PerformableAction; use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Filter\BaseFilter; use CoreFramework\Generic\NullPointerException; use CoreFramework\Loader\NoClassException; use CoreFramework\Registry\Registry; diff --git a/inc/main/classes/filter/update/class_UserStatusConfimedUpdateFilter.php b/inc/main/classes/filter/update/class_UserStatusConfimedUpdateFilter.php index f6142fbf..02d4dda5 100644 --- a/inc/main/classes/filter/update/class_UserStatusConfimedUpdateFilter.php +++ b/inc/main/classes/filter/update/class_UserStatusConfimedUpdateFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\User\Status; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/update/class_UserUpdateFilter.php b/inc/main/classes/filter/update/class_UserUpdateFilter.php index a557dc7f..f0e27963 100644 --- a/inc/main/classes/filter/update/class_UserUpdateFilter.php +++ b/inc/main/classes/filter/update/class_UserUpdateFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/validator/class_EmailValidatorFilter.php b/inc/main/classes/filter/validator/class_EmailValidatorFilter.php index db4f3602..10362b25 100644 --- a/inc/main/classes/filter/validator/class_EmailValidatorFilter.php +++ b/inc/main/classes/filter/validator/class_EmailValidatorFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Validator\Email; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/validator/class_PasswordValidatorFilter.php b/inc/main/classes/filter/validator/class_PasswordValidatorFilter.php index 2b91613e..451baff5 100644 --- a/inc/main/classes/filter/validator/class_PasswordValidatorFilter.php +++ b/inc/main/classes/filter/validator/class_PasswordValidatorFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Validator\Password; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/validator/class_UserNameValidatorFilter.php b/inc/main/classes/filter/validator/class_UserNameValidatorFilter.php index 950a0650..40e9fa05 100644 --- a/inc/main/classes/filter/validator/class_UserNameValidatorFilter.php +++ b/inc/main/classes/filter/validator/class_UserNameValidatorFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Validator\Username; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_AccountPasswordVerifierFilter.php b/inc/main/classes/filter/verifier/class_AccountPasswordVerifierFilter.php index ff92428d..291ccb3a 100644 --- a/inc/main/classes/filter/verifier/class_AccountPasswordVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_AccountPasswordVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\Password; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; diff --git a/inc/main/classes/filter/verifier/class_BirthdayVerifierFilter.php b/inc/main/classes/filter/verifier/class_BirthdayVerifierFilter.php index 5b92f285..6def872a 100644 --- a/inc/main/classes/filter/verifier/class_BirthdayVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_BirthdayVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_ConfirmCodeVerifierFilter.php b/inc/main/classes/filter/verifier/class_ConfirmCodeVerifierFilter.php index 9ebc209a..14eda048 100644 --- a/inc/main/classes/filter/verifier/class_ConfirmCodeVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_ConfirmCodeVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\Confirmation; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php b/inc/main/classes/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php index 4e0224a5..ea023a0b 100644 --- a/inc/main/classes/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_GraphicalCodeCaptchaVerifierFilter.php @@ -4,6 +4,7 @@ namespace CoreFramework\Filter\Verifier\Captcha; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_PasswordGuestVerifierFilter.php b/inc/main/classes/filter/verifier/class_PasswordGuestVerifierFilter.php index 49a18c48..cdbefd9c 100644 --- a/inc/main/classes/filter/verifier/class_PasswordGuestVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_PasswordGuestVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_PasswordVerifierFilter.php b/inc/main/classes/filter/verifier/class_PasswordVerifierFilter.php index 7f87be5d..2285bf15 100644 --- a/inc/main/classes/filter/verifier/class_PasswordVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_PasswordVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\Password; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_UserGuestVerifierFilter.php b/inc/main/classes/filter/verifier/class_UserGuestVerifierFilter.php index 3405542d..8c9652b6 100644 --- a/inc/main/classes/filter/verifier/class_UserGuestVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_UserGuestVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_UserNameVerifierFilter.php b/inc/main/classes/filter/verifier/class_UserNameVerifierFilter.php index 44fca1b1..73fdcac9 100644 --- a/inc/main/classes/filter/verifier/class_UserNameVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_UserNameVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_UserStatusVerifierFilter.php b/inc/main/classes/filter/verifier/class_UserStatusVerifierFilter.php index ba9cf7ef..ce322fb4 100644 --- a/inc/main/classes/filter/verifier/class_UserStatusVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_UserStatusVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; diff --git a/inc/main/classes/filter/verifier/class_UserUnconfirmedVerifierFilter.php b/inc/main/classes/filter/verifier/class_UserUnconfirmedVerifierFilter.php index 628aa650..a630cbee 100644 --- a/inc/main/classes/filter/verifier/class_UserUnconfirmedVerifierFilter.php +++ b/inc/main/classes/filter/verifier/class_UserUnconfirmedVerifierFilter.php @@ -3,6 +3,7 @@ namespace CoreFramework\Filter\Verifier\User; // Import framework stuff +use CoreFramework\Filter\BaseFilter; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; -- 2.39.5