Continued:
authorRoland Haeder <roland@mxchange.org>
Sun, 26 Feb 2017 21:05:14 +0000 (22:05 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:11:02 +0000 (22:11 +0100)
- added "import" of BaseStacker and Stackable
- added "import" of BaseMailer and DeliverableMail
- added missing namespace in config entries
- killed more [EOF] and discouraged ?>

Signed-off-by: Roland Häder <roland@mxchange.org>
56 files changed:
contrib/file_stack/format.txt
framework/config.php
framework/main/classes/actions/class_
framework/main/classes/class_
framework/main/classes/class_Base
framework/main/classes/class_BaseFrameworkSystem.php
framework/main/classes/client/class_
framework/main/classes/commands/class_
framework/main/classes/commands/console/class_Console
framework/main/classes/commands/html/class_Html
framework/main/classes/container/class_
framework/main/classes/controller/class_
framework/main/classes/controller/html/class_Html
framework/main/classes/database/class_
framework/main/classes/discovery/class_
framework/main/classes/factories/class_
framework/main/classes/feature/class_
framework/main/classes/filesystem/class_
framework/main/classes/filter/class_
framework/main/classes/handler/class_
framework/main/classes/handler/raw_data/class_
framework/main/classes/handler/raw_data/network/class_
framework/main/classes/helper/captcha/class_
framework/main/classes/helper/class_
framework/main/classes/helper/html/class_
framework/main/classes/images/class_
framework/main/classes/index/class_
framework/main/classes/iterator/class_
framework/main/classes/listener/class_
framework/main/classes/lists/class_
framework/main/classes/mailer/class_
framework/main/classes/mailer/debug/class_DebugMailer.php
framework/main/classes/output/class_
framework/main/classes/parser/class_
framework/main/classes/registry/class_
framework/main/classes/request/class_
framework/main/classes/resolver/class_
framework/main/classes/resolver/command/html/class_Html
framework/main/classes/stacker/class_
framework/main/classes/stacker/fifo/class_FiFoStacker.php
framework/main/classes/stacker/file/class_
framework/main/classes/stacker/file/fifo/class_FiFoFileStack.php
framework/main/classes/stacker/filo/class_FiLoStacker.php
framework/main/classes/states/class_
framework/main/classes/streams/class_
framework/main/classes/streams/input/class_
framework/main/classes/streams/output/class_
framework/main/classes/tasks/class_
framework/main/classes/template/class_
framework/main/classes/template/mail/class_MailTemplateEngine.php
framework/main/classes/visitor/class_
framework/main/exceptions/class_
framework/main/exceptions/database/class_
framework/main/interfaces/index/class_Indexable
framework/main/interfaces/stacker/class_Stackable.php
framework/main/interfaces/stacker/file/class_StackableFile.php

index 336428dbbcf26fc5e1b1daccf362c249fd2921b6..058b5b879a9e72436ec6b83ebfd6396d555d87ae 100644 (file)
@@ -1,7 +1,8 @@
 A file-based stack:
 ===================
 
 A file-based stack:
 ===================
 
-This is the format for a file-based stack which works as any Stackable class.
+This is the format for a file-based stack which works as any other Stackable
+class.
 
 General made up:
 
 
 General made up:
 
index 5de88af9fc2fcf77d9e98ba8542311bbbcc45fe4..2d9cd8e77dfdf197ab14cde10d1ae1428a347793 100644 (file)
@@ -263,7 +263,7 @@ $cfg->setConfigEntry('image_cmd_resolver_class', 'ImageCommandResolver');
 $cfg->setConfigEntry('image_cmd_code_captcha_resolver_class', 'ImageCommandResolver');
 
 // CFG: MAILER-CLASS
 $cfg->setConfigEntry('image_cmd_code_captcha_resolver_class', 'ImageCommandResolver');
 
 // CFG: MAILER-CLASS
-$cfg->setConfigEntry('mailer_class', 'DebugMailer');
+$cfg->setConfigEntry('mailer_class', 'CoreFramework\Mailer\Debug\DebugMailer');
 
 // CFG: XML-PARSER-CLASS
 $cfg->setConfigEntry('xml_parser_class', 'CoreFramework\Parser\Xml\XmlParser');
 
 // CFG: XML-PARSER-CLASS
 $cfg->setConfigEntry('xml_parser_class', 'CoreFramework\Parser\Xml\XmlParser');
index 99f59291d7c540a1eb0fbf1e229f07af9e767a49..e332ddfb97a0f91b525ea3bbe02a82c507d43a91 100644 (file)
@@ -62,7 +62,5 @@ class ???Action extends BaseAction implements Commandable {
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                $this->partialStub("You have to implement me.");
        }
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                $this->partialStub("You have to implement me.");
        }
-}
 
 
-// [EOF]
-?>
+}
index c9c4aa8fb4e3b92129533fc06282d76c1c03b97f..a6c0d3ba79446bd3faaffeafbe154f5173834549 100644 (file)
@@ -45,7 +45,5 @@ class ???!!! extends Base!!! implements CompileableTemplate {
                // Return the prepared instance
                return $///Instance;
        }
                // Return the prepared instance
                return $///Instance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 9cd9fd744559be145b9fad063e27ee837e6647a3..61084df0eca8e6b74af473f1497084a79f7fc682 100644 (file)
@@ -32,7 +32,5 @@ class Base??? extends BaseFrameworkSystem {
                // Call parent constructor
                parent::__construct($className);
        }
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
 
-// [EOF]
-?>
+}
index 3de9284b49e29be98900e15dd218969e10a06d9d..b15d4362cd84ca4edce01cb589586ccb4be348c9 100644 (file)
@@ -33,6 +33,7 @@ use CoreFramework\Resolver\Resolver;
 use CoreFramework\Result\Database\CachedDatabaseResult;
 use CoreFramework\Result\Search\SearchableResult;
 use CoreFramework\Response\Responseable;
 use CoreFramework\Result\Database\CachedDatabaseResult;
 use CoreFramework\Result\Search\SearchableResult;
 use CoreFramework\Response\Responseable;
+use CoreFramework\Stacker\Stackable;
 use CoreFramework\Stream\Output\OutputStreamer;
 use CoreFramework\Template\CompileableTemplate;
 use CoreFramework\User\ManageableAccount;
 use CoreFramework\Stream\Output\OutputStreamer;
 use CoreFramework\Template\CompileableTemplate;
 use CoreFramework\User\ManageableAccount;
index 753552f8eca6421ece303e6fa0b7bdbf4949470e..363cc00a293a330792117685fa8edebb936afd1f 100644 (file)
@@ -44,7 +44,5 @@ class ???Client extends BaseClient implements Client {
                // Return the prepared instance
                return $clientInstance;
        }
                // Return the prepared instance
                return $clientInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index d1709aac4b0d91cbaddb28aa800bb9aa3294f05f..40181f411d7a349010bd886d152398f6c071e48b 100644 (file)
@@ -70,7 +70,5 @@ class ???Command extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                $this->partialStub('Unfinished!');
        }
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                $this->partialStub('Unfinished!');
        }
-}
 
 
-// [EOF]
-?>
+}
index 756617a4aa48f5b1ce4bd6cf01da15383e7e511a..55ca37ceccffbe6deba509afac0c047509bec3d1 100644 (file)
@@ -70,7 +70,5 @@ class Console???Command extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                $this->partialStub('Unfinished!');
        }
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                $this->partialStub('Unfinished!');
        }
-}
 
 
-// [EOF]
-?>
+}
index 8f51ed5bb31fd08942dbac1d3c2835dc950476b8..917c94cfcececd6342df690bcdade8b38f0766eb 100644 (file)
@@ -71,7 +71,5 @@ class Html???Command extends BaseCommand implements Commandable {
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Empty for now
        }
-}
 
 
-// [EOF]
-?>
+}
index 721ef741c7f65027d2c7fe09006ca30c58c4be31..32906f15aa7c6775002471058fdd4ae0d09bef7d 100644 (file)
@@ -44,7 +44,5 @@ class ???Container extends BaseContainer implements Registerable {
                // Return the prepared instance
                return $containerInstance;
        }
                // Return the prepared instance
                return $containerInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 907d1fbf1fec9f6559feac745b73f4c695359a1d..79c7a5963c96f427db89342761ebd6110ba80b07 100644 (file)
@@ -69,7 +69,5 @@ class ???Controller extends BaseController implements Controller {
                // Flush the response out
                $responseInstance->flushBuffer();
        }
                // Flush the response out
                $responseInstance->flushBuffer();
        }
-}
 
 
-// [EOF]
-?>
+}
index 8b1a06e07cd95635eafb70abf135a1a043003085..8057f3be076f33eee828a7828366bce7927784d2 100644 (file)
@@ -64,7 +64,5 @@ class Html???Controller extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
 
-// [EOF]
-?>
+}
index ba818289b1be51313bd4d1907744ff147a7a8e9f..1e6e7a3e2db648c5693573f3b94b92b47ecf6ad5 100644 (file)
@@ -32,7 +32,5 @@ class  extends BaseDatabaseBackend implements DatabaseBackendInterface {
                // Call parent constructor
                parent::__construct($class);
        }
                // Call parent constructor
                parent::__construct($class);
        }
-}
 
 
-// [EOF]
-?>
+}
index 8d628708ec7316ca47dcf365574e20ce4bed45aa..b45ea1cf278e2c4359644d38cb1276c0d292f8fc 100644 (file)
@@ -66,7 +66,5 @@ class ???Discovery extends BaseDiscovery implements Discoverable {
        public function addResultsToHelper (HelpableTemplate $helperInstance) {
                $this->partialStub("Please implement this method.");
        }
        public function addResultsToHelper (HelpableTemplate $helperInstance) {
                $this->partialStub("Please implement this method.");
        }
-}
 
 
-// [EOF]
-?>
+}
index 91d69ae3cbad54e438fcb62000abdc8b42b1afe9..9c9ab02692ef228fc16b847310694fe60b545d81 100644 (file)
@@ -31,7 +31,5 @@ class ???Factory extends BaseFactory {
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
                // Call parent constructor
                parent::__construct(__CLASS__);
        }
-}
 
 
-// [EOF]
-?>
+}
index 3ee888ee9cb8581e59cdf881c7cdac4753be89bb..89d8688641b53799ace55168d90eb07628e66924 100644 (file)
@@ -61,7 +61,5 @@ class ???Feature extends BaseFeature implements Feature {
                // Return status
                return $isAvailable;
        }
                // Return status
                return $isAvailable;
        }
-}
 
 
-// [EOF]
-?>
+}
index bb10dcab655fd6df8de1a83ba1a26279d4ad5cef..2d5ea4677a3708ec94632aafea26abd377623f4a 100644 (file)
@@ -45,7 +45,5 @@ class ???Filesystem extends BaseFilesystem implements Filesystem {
                // Return the prepared instance
                return $///Instance;
        }
                // Return the prepared instance
                return $///Instance;
        }
-}
 
 
-// [EOF]
-?>
+}
index e689a3c849d274db3aee04a0b2854975d5199a4b..e94d8e72470f726bb32bafd9c2a86e7dcf30e4bc 100644 (file)
@@ -58,7 +58,5 @@ class ???Filter extends BaseFilter implements Filterable {
                // Implement this!
                $this->partialStub("Please implement this method.");
        }
                // Implement this!
                $this->partialStub("Please implement this method.");
        }
-}
 
 
-// [EOF]
-?>
+}
index afe1678a0e438e21c7602b0093b66b090620f29d..d92f868a4bb345bc821edbc488bdc53c0e286253 100644 (file)
@@ -47,7 +47,5 @@ class ???Handler extends BaseHandler implements Handleable___ {
                // Return the prepared instance
                return $handlerInstance;
        }
                // Return the prepared instance
                return $handlerInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 965f048ac06ea8c73fb4f1e48dfe81cf04e41f2c..8151a66152402da62ed13edc2af8ca2e82ff1a98 100644 (file)
@@ -67,7 +67,5 @@ class ???NetworkPackageHandler extends BaseNetworkPackageHandler implements Netw
                // Implement processing here
                $this->partialStub('Please implement this method.');
        }
                // Implement processing here
                $this->partialStub('Please implement this method.');
        }
-}
 
 
-// [EOF]
-?>
+}
index b452a2ba0fac8b36dcd9c3bda69b5837f8e2f075..09dbcf3b12df0227c09d9f7db9db6ad7933bff2c 100644 (file)
@@ -62,7 +62,5 @@ class ???RawDataHandler extends BaseRawDataHandler implements Networkable {
         */
        public function processRawDataFromResource (array $socketArray) {
        }
         */
        public function processRawDataFromResource (array $socketArray) {
        }
-}
 
 
-// [EOF]
-?>
+}
index ccc429ce56ab974813a393e872a849c3816beed7..0936f491aae69d7204c29b39a70115b1b5b246b5 100644 (file)
@@ -72,7 +72,5 @@ class ???Captcha extends BaseCaptcha implements SolveableCaptcha {
        public function renderCode () {
                $this->partialStub("Please implement this method.");
        }
        public function renderCode () {
                $this->partialStub("Please implement this method.");
        }
-}
 
 
-// [EOF]
-?>
+}
index d1d3fff0a7287e80c0cf661660db5e89761c76c6..dd3b11b41e8d9b526e630c84571f22714162e559 100644 (file)
@@ -44,7 +44,5 @@ class ???Helper extends BaseHelper {
                // Return the prepared instance
                return $helperInstance;
        }
                // Return the prepared instance
                return $helperInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 5d9beab7fc02c42c846a3550420709e41d79f70b..4a75bc4706f375fdd167f9fbcb4128853db64c70 100644 (file)
@@ -70,7 +70,5 @@ class Html???Helper extends BaseHtmlHelper implements HelpableTemplate {
        public function flushContent () {
                $this->partialStub("Please implement this method.");
        }
        public function flushContent () {
                $this->partialStub("Please implement this method.");
        }
-}
 
 
-// [EOF]
-?>
+}
index 0abd9201e4e0f3b1e471c55d5dd5590643fd1451..2197725e6e098e3f6722e6743482c31aeb77cda2 100644 (file)
@@ -47,7 +47,5 @@ class ???Image extends BaseImage {
                // Return the instance
                return $imageInstance;
        }
                // Return the instance
                return $imageInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 42c4773bd1f5633c9f003e21ceebd1dcbc7eea90..b74ed32a4cfc753fffae58588159b039a91070a9 100644 (file)
@@ -48,7 +48,5 @@ class ???Index extends BaseIndex implements Indexable, Registerable {
                // Return the prepared instance
                return $indexInstance;
        }
                // Return the prepared instance
                return $indexInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 24351fb96e06cfd4520b89f8c944ba62b9ec5b67..5fc5dc537c366df2b1e5a880c71fe4eaad679c82 100644 (file)
@@ -101,7 +101,5 @@ class ???Iterator extends BaseIterator implements Iterator {
        public function valid () {
                $this->partialStub('Please implement this method.');
        }
        public function valid () {
                $this->partialStub('Please implement this method.');
        }
-}
 
 
-// [EOF]
-?>
+}
index d98b8e3973926f547dbf33db34a11fadebc460fd..29b9f5c975722aad827b26a5d8605b7de4f97b86 100644 (file)
@@ -102,7 +102,5 @@ class ???Listener extends BaseListener implements Listenable {
        public function getConnectionType () {
                $this->partialStub('Need to implement this method.') {
        }
        public function getConnectionType () {
                $this->partialStub('Need to implement this method.') {
        }
-}
 
 
-// [EOF]
-?>
+}
index b650e330fb016235c2565a99b3b7c78809c520fc..a6dfa935743c97431de3b76aaa536a2d973cf3ed 100644 (file)
@@ -64,7 +64,5 @@ class ???List extends BaseList implements Listable {
        public function clearList () {
                $this->partialStub('Please implement this method.');
        }
        public function clearList () {
                $this->partialStub('Please implement this method.');
        }
-}
 
 
-// [EOF]
-?>
+}
index bb679b2281ea752e666596189c485cf7adc394fa..522f43b048eeddad5147781aa1d91feab05b8e9c 100644 (file)
@@ -1,6 +1,13 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Mailer\!!!;
+
+// Import framwork stuff
+use CoreFramework\Mailer\BaseMailer;
+use CoreFramework\Mailer\DeliverableMail;
+
 /**
 /**
- * 
+ * A ??? mailer class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -64,7 +71,5 @@ class ???Mailer extends BaseMailer implements DeliverableMail {
        public function sendAdminNotification() {
                $this->partialStub("You have to implement this method.");
        }
        public function sendAdminNotification() {
                $this->partialStub("You have to implement this method.");
        }
-}
 
 
-// [EOF]
-?>
+}
index 93c4a1f4da7bf87c3c8980fcc378293695751e2f..b7781ca7d623cde641d50a7c415406c1ffac4cda 100644 (file)
@@ -4,6 +4,8 @@ namespace CoreFramework\Mailer\Debug;
 
 // Import framework stuff
 use CoreFramework\Generic\NullPointerException;
 
 // Import framework stuff
 use CoreFramework\Generic\NullPointerException;
+use CoreFramework\Mailer\BaseMailer;
+use CoreFramework\Mailer\DeliverableMail;
 use CoreFramework\Manager\Login\ManageableMember;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Template\CompileableTemplate;
 use CoreFramework\Manager\Login\ManageableMember;
 use CoreFramework\Manager\ManageableApplication;
 use CoreFramework\Template\CompileableTemplate;
index 7504b6358050777586d120da20e8791ae125e6dc..d21367a4bc192693d94a8eb7d40b24eba073d668 100644 (file)
@@ -107,7 +107,5 @@ class ???Output extends BaseOutput implements OutputStreamer, Registerable {
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
 
-// [EOF]
-?>
+}
index 4b056e1963ddb2f8a8e8adc2ad72b08a3b7453d3..d8721cb3ca99c73db7f62009a342cc0d31705e12 100644 (file)
@@ -47,7 +47,5 @@ class ???Parser extends BaseParser implements Parseable {
                // Return the prepared instance
                return $parserInstance;
        }
                // Return the prepared instance
                return $parserInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 9877fd7e3edea5e3389f35a91b73b15502de8d30..76e0e745bd2c13a6f71dbf90ffceb29571579251 100644 (file)
@@ -56,7 +56,5 @@ class ???Registry extends BaseRegistry implements Register {
                // Return the instance
                return self::$registryInstance;
        }
                // Return the instance
                return self::$registryInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index e046132a1eb7785b1d299f2138388dcb343973a0..10b6a14eb0bd84378f34b0b99376382102d42086 100644 (file)
@@ -90,7 +90,5 @@ class ???Request extends BaseRequest implements Requestable {
        public final function readCookie ($cookieName) {
                $this->partialStub("Please implement this method.");
        }
        public final function readCookie ($cookieName) {
                $this->partialStub("Please implement this method.");
        }
-}
 
 
-// [EOF]
-?>
+}
index fdb146cffef3e7f193de7bad19fbe40e6ff7b8d2..317825e6704036bad88ef38b4d2b61d116b4260b 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 /**
  * A ??? resolver
 <?php
 /**
  * A ??? resolver
- * @TODO Clean up this template
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -139,439 +138,5 @@ class ???Resolver extends BaseResolver implements Resolver {
                // Return the instance
                return $!!!Instance;
        }
                // Return the instance
                return $!!!Instance;
        }
-}
-
-// [EOF]
-?>
-<?php
-/**
- * A ??? resolver
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ???Resolver extends BaseResolver implements Resolver {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-
-               // Set prefix to '???'
-               $this->setClassPrefix('???');
-       }
-
-       /**
-        * Creates an instance of a Html action resolver with a given default action
-        *
-        * @param       $!!!Name                                The default action we shall execute
-        * @param       $appInstance                    An instance of a manageable application helper class
-        * @return      $resolverInstance               The prepared action resolver instance
-        * @throws      EmptyVariableException  Thrown if default action is not set
-        * @throws      Invalid|||Exception     Thrown if default action is invalid
-        */
-       public static final function create???Resolver ($!!!Name, ManageableApplication $appInstance) {
-               // Create the new instance
-               $resolverInstance = new ???Resolver();
-
-               // Is the variable $!!!Name set and the action is valid?
-               if (empty($!!!Name)) {
-                       // Then thrown an exception here
-                       throw new EmptyVariableException(array($resolverInstance, 'default|||'), self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
-               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
-                       // Invalid action found
-                       throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               }
-
-               // Set the application instance
-               $resolverInstance->setApplicationInstance($appInstance);
-
-               // Return the prepared instance
-               return $resolverInstance;
-       }
-
-       /**
-        * Returns an action instance for a given request class or null if
-        * it was not found
-        *
-        * @param       $requestInstance        An instance of a request class
-        * @return      $!!!Instance    An instance of the resolved action
-        * @throws      Invalid|||Exception                             Thrown if $!!!Name is
-        *                                                                                              invalid
-        * @throws      Invalid|||InstanceException             Thrown if $!!!Instance
-        *                                                                                              is an invalid instance
-        */
-       public function resolve|||ByRequest (Requestable $requestInstance) {
-               // Init variables
-               $!!!Name = '';
-               $!!!Instance = null;
-
-               // This goes fine so let's resolve the action
-               $!!!Name = $requestInstance->getRequestElement('action');
-
-               // Is the action empty? Then fall back to default action
-               if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
-
-               // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === FALSE) {
-                       // This action is invalid!
-                       throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Get the action
-               $!!!Instance = $this->load|||();
-
-               // And validate it
-               if ((!is_object($!!!Instance)) || (!$!!!Instance instanceof |||able)) {
-                       // This action has an invalid instance!
-                       throw new Invalid|||InstanceException(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Set last action
-               $this->setResolvedInstance($!!!Instance);
 
 
-               // Return the resolved action instance
-               return $!!!Instance;
-       }
-
-       /**
-        * Resolves the action by its direct name and returns an instance of its class
-        *
-        * @return      $!!!Instance            An instance of the action class
-        * @throws      Invalid|||Exception     Thrown if $!!!Name is invalid
-        */
-       public function resolve||| () {
-               // Initiate the instance variable
-               $!!!Instance = null;
-
-               // Get action name
-               $!!!Name = $this->get|||Name();
-
-               // Is the action empty? Then fall back to default action
-               if (empty($!!!Name)) {
-                       $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
-               } // END - if
-
-               // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === FALSE) {
-                       // This action is invalid!
-                       throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Get the action
-               $!!!Instance = $this->load|||();
-
-               // Return the instance
-               return $!!!Instance;
-       }
 }
 }
-
-// [EOF]
-?>
-<?php
-/**
- * A ??? resolver
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ???Resolver extends BaseResolver implements Resolver {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-
-               // Set prefix to '???'
-               $this->setClassPrefix('???');
-       }
-
-       /**
-        * Creates an instance of a Html action resolver with a given default action
-        *
-        * @param       $!!!Name                                The default action we shall execute
-        * @param       $appInstance                    An instance of a manageable application helper class
-        * @return      $resolverInstance               The prepared action resolver instance
-        * @throws      EmptyVariableException  Thrown if default action is not set
-        * @throws      Invalid|||Exception     Thrown if default action is invalid
-        */
-       public static final function create???Resolver ($!!!Name, ManageableApplication $appInstance) {
-               // Create the new instance
-               $resolverInstance = new ???Resolver();
-
-               // Is the variable $!!!Name set and the action is valid?
-               if (empty($!!!Name)) {
-                       // Then thrown an exception here
-                       throw new EmptyVariableException(array($resolverInstance, 'default|||'), self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
-               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
-                       // Invalid action found
-                       throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               }
-
-               // Set the application instance
-               $resolverInstance->setApplicationInstance($appInstance);
-
-               // Return the prepared instance
-               return $resolverInstance;
-       }
-
-       /**
-        * Returns an action instance for a given request class or null if
-        * it was not found
-        *
-        * @param       $requestInstance        An instance of a request class
-        * @return      $!!!Instance    An instance of the resolved action
-        * @throws      Invalid|||Exception                             Thrown if $!!!Name is
-        *                                                                                              invalid
-        * @throws      Invalid|||InstanceException             Thrown if $!!!Instance
-        *                                                                                              is an invalid instance
-        */
-       public function resolve|||ByRequest (Requestable $requestInstance) {
-               // Init variables
-               $!!!Name = '';
-               $!!!Instance = null;
-
-               // This goes fine so let's resolve the action
-               $!!!Name = $requestInstance->getRequestElement('action');
-
-               // Is the action empty? Then fall back to default action
-               if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
-
-               // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === FALSE) {
-                       // This action is invalid!
-                       throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Get the action
-               $!!!Instance = $this->load|||();
-
-               // And validate it
-               if ((!is_object($!!!Instance)) || (!$!!!Instance instanceof |||able)) {
-                       // This action has an invalid instance!
-                       throw new Invalid|||InstanceException(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Set last action
-               $this->setResolvedInstance($!!!Instance);
-
-               // Return the resolved action instance
-               return $!!!Instance;
-       }
-
-       /**
-        * Resolves the action by its direct name and returns an instance of its class
-        *
-        * @return      $!!!Instance            An instance of the action class
-        * @throws      Invalid|||Exception     Thrown if $!!!Name is invalid
-        */
-       public function resolve||| () {
-               // Initiate the instance variable
-               $!!!Instance = null;
-
-               // Get action name
-               $!!!Name = $this->get|||Name();
-
-               // Is the action empty? Then fall back to default action
-               if (empty($!!!Name)) {
-                       $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
-               } // END - if
-
-               // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === FALSE) {
-                       // This action is invalid!
-                       throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Get the action
-               $!!!Instance = $this->load|||();
-
-               // Return the instance
-               return $!!!Instance;
-       }
-}
-
-// [EOF]
-?>
-<?php
-/**
- * A ??? resolver
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class ???Resolver extends BaseResolver implements Resolver {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-
-               // Set prefix to '???'
-               $this->setClassPrefix('???');
-       }
-
-       /**
-        * Creates an instance of a ??? resolver with a given default action
-        *
-        * @param       $!!!Name                                The default action we shall execute
-        * @param       $appInstance                    An instance of a manageable application helper class
-        * @return      $resolverInstance               The prepared action resolver instance
-        * @throws      EmptyVariableException  Thrown if default action is not set
-        * @throws      Invalid|||Exception     Thrown if default action is invalid
-        */
-       public static final function create???Resolver ($!!!Name, ManageableApplication $appInstance) {
-               // Create the new instance
-               $resolverInstance = new ???Resolver();
-
-               // Is the variable $!!!Name set and the action is valid?
-               if (empty($!!!Name)) {
-                       // Then thrown an exception here
-                       throw new EmptyVariableException(array($resolverInstance, 'default|||'), self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
-               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
-                       // Invalid action found
-                       throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               }
-
-               // Set the application instance
-               $resolverInstance->setApplicationInstance($appInstance);
-
-               // Return the prepared instance
-               return $resolverInstance;
-       }
-
-       /**
-        * Returns an action instance for a given request class or null if
-        * it was not found
-        *
-        * @param       $requestInstance        An instance of a request class
-        * @return      $!!!Instance    An instance of the resolved action
-        * @throws      Invalid|||Exception                             Thrown if $!!!Name is
-        *                                                                                              invalid
-        * @throws      Invalid|||InstanceException             Thrown if $!!!Instance
-        *                                                                                              is an invalid instance
-        */
-       public function resolve|||ByRequest (Requestable $requestInstance) {
-               // Init variables
-               $!!!Name = '';
-               $!!!Instance = null;
-
-               // This goes fine so let's resolve the action
-               $!!!Name = $requestInstance->getRequestElement('action');
-
-               // Is the action empty? Then fall back to default action
-               if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
-
-               // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === FALSE) {
-                       // This action is invalid!
-                       throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Get the action
-               $!!!Instance = $this->load|||();
-
-               // And validate it
-               if ((!is_object($!!!Instance)) || (!$!!!Instance instanceof |||able)) {
-                       // This action has an invalid instance!
-                       throw new Invalid|||InstanceException(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Set last action
-               $this->setResolvedInstance($!!!Instance);
-
-               // Return the resolved action instance
-               return $!!!Instance;
-       }
-
-       /**
-        * Resolves the action by its direct name and returns an instance of its class
-        *
-        * @return      $!!!Instance            An instance of the action class
-        * @throws      Invalid|||Exception     Thrown if $!!!Name is invalid
-        */
-       public function resolve||| () {
-               // Initiate the instance variable
-               $!!!Instance = null;
-
-               // Get action name
-               $!!!Name = $this->get|||Name();
-
-               // Is the action empty? Then fall back to default action
-               if (empty($!!!Name)) {
-                       $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
-               } // END - if
-
-               // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === FALSE) {
-                       // This action is invalid!
-                       throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
-               } // END - if
-
-               // Get the action
-               $!!!Instance = $this->load|||();
-
-               // Return the instance
-               return $!!!Instance;
-       }
-}
-
-// [EOF]
-?>
index cf4cc1df711632b27c815a10d1e11a0ec3edc8b0..3a89a5111d2c13bb83676401ebccac7ee6afb63b 100644 (file)
@@ -68,7 +68,5 @@ class Html???CommandResolver extends BaseCommandResolver implements CommandResol
                // Return the prepared instance
                return $resolverInstance;
        }
                // Return the prepared instance
                return $resolverInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 4a15ce2d8442c470705046c8dcfce29318f814dd..af1704edcc78946b5e0b9137e81f35363f1982c1 100644 (file)
@@ -1,4 +1,11 @@
 <?php
 <?php
+// Own namespace
+namespace CoreFramework\Stacker\!!!;
+
+// Import framework stuff
+use CoreFramework\Stacker\BaseStacker;
+use CoreFramework\Stacker\Stackable;
+
 /**
  * A ??? Stacker class
  *
 /**
  * A ??? Stacker class
  *
@@ -84,7 +91,5 @@ class ???Stacker extends BaseStacker implements Stackable {
        public function getNamed ($stackerName) {
                $this->partialStub('stackerName=' . $stackerName);
        }
        public function getNamed ($stackerName) {
                $this->partialStub('stackerName=' . $stackerName);
        }
-}
 
 
-// [EOF]
-?>
+}
index abfca196d37652e43095d28498e7ba08c1a3b263..981d18a8421a0b7807dafd106144230eab15eac8 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Stacker;
 
 // Own namespace
 namespace CoreFramework\Stacker;
 
+// Import framework stuff
+use CoreFramework\Stacker\BaseStacker;
+use CoreFramework\Stacker\Stackable;
+
 /**
  * A FiFo Stacker class
  *
 /**
  * A FiFo Stacker class
  *
index 974708aa6656fc77e6ec75658f727b349ce97014..952279a2827b85105b6700f13ec22e643887dcb4 100644 (file)
@@ -36,7 +36,7 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable
         * Creates an instance of this class
         *
         * @param       $fileName               Absolute Name of stack file
         * Creates an instance of this class
         *
         * @param       $fileName               Absolute Name of stack file
-        * @return      $stackInstance  An instance of a Stackable class
+        * @return      $stackInstance  An instance of a StackableFile class
         */
        public final static function create???FileStack ($fileName) {
                // Get new instance
         */
        public final static function create???FileStack ($fileName) {
                // Get new instance
@@ -103,7 +103,5 @@ class ???FileStack extends BaseFileStack implements StackableFile, Registerable
        public function size () {
                $this->partialStub();
        }
        public function size () {
                $this->partialStub();
        }
-}
 
 
-// [EOF]
-?>
+}
index a4630c6a585afd71ef33d927f9e850343fed8d25..e036b052d108a8d26f6eb81886ddeb2c0bb91d00 100644 (file)
@@ -43,7 +43,7 @@ class FiFoFileStack extends BaseFileStack implements StackableFile, Calculatable
         *
         * @param       $fileName               Absolute Name of stack file
         * @param       $type                   Type of this stack (e.g. url_source for URL sources)
         *
         * @param       $fileName               Absolute Name of stack file
         * @param       $type                   Type of this stack (e.g. url_source for URL sources)
-        * @return      $stackInstance  An instance of a Stackable class
+        * @return      $stackInstance  An instance of a StackableFile class
         */
        public final static function createFiFoFileStack ($fileName, $type) {
                // Get new instance
         */
        public final static function createFiFoFileStack ($fileName, $type) {
                // Get new instance
index 6c280db65dfc17abce955a90d02fdc91998cc1c6..6cc6f69c31806db70629d97252e2514e95df61e3 100644 (file)
@@ -2,6 +2,10 @@
 // Own namespace
 namespace CoreFramework\Stacker\File;
 
 // Own namespace
 namespace CoreFramework\Stacker\File;
 
+// Import framework stuff
+use CoreFramework\Stacker\BaseStacker;
+use CoreFramework\Stacker\Stackable;
+
 /**
  * A FiLo Stacker class
  *
 /**
  * A FiLo Stacker class
  *
index ecd942b049eb301cdf8021db85de17ed2e52c847..f211a130d86630c83af1111b4782ddbf5498ea01 100644 (file)
@@ -34,7 +34,5 @@ class ???State extends BaseState implements ??Stateable {
                // Set state name
                $this->setStateName('!!!');
        }
                // Set state name
                $this->setStateName('!!!');
        }
-}
 
 
-// [EOF]
-?>
+}
index d7e24e2d60e58f5b0a753aeadbc5911f7636b599..0499c3c84c938a13ecb9aff4db160ae325905772 100644 (file)
@@ -56,7 +56,5 @@ class ???Stream extends BaseStream implements Stream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
 
-// [EOF]
-?>
+}
index 0bae09ff7bbe905f7dbdc56d9bb05142c4390a80..0e5a31c24273cfe82f3e41caaff764956aad5d31 100644 (file)
@@ -56,7 +56,5 @@ class ???InputStream extends BaseStream implements InputStream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
 
-// [EOF]
-?>
+}
index 10b3c7224ff59c0d409ef94c2cb418ee13f5c603..31f9a72631906911ca759d41e33aa8089f929a19 100644 (file)
@@ -56,7 +56,5 @@ class ???OutputStream extends BaseStream implements OutputStream {
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
                self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
 
-// [EOF]
-?>
+}
index 0925eda3fb1a8160e4d632c9b6a00961e17b1c11..07a8296d23efa09a964f028a043b5038c87f2fec 100644 (file)
@@ -76,7 +76,5 @@ class !!!???Task extends BaseTask implements Taskable, Visitable {
        public function doShutdown () {
                self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Shutting down...');
        }
        public function doShutdown () {
                self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Shutting down...');
        }
-}
 
 
-// [EOF]
-?>
+}
index 488c3c140029ee513eeb4c0c498ea34f25e72c00..f1bc2aeb6bc6f5ee71df79d7f291721ad67c83a7 100644 (file)
@@ -79,7 +79,5 @@ class ???TemplateEngine extends BaseTemplateEngine implements CompileableTemplat
                // Return the prepared instance
                return $templateInstance;
        }
                // Return the prepared instance
                return $templateInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index 2c73e33c5d2ec4ede43b906ea02e479bc6b3b3e1..78b6dcc6e1fedebb8a41bbc1fb2e0534e44d1f4e 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Template\Engine;
 
 // Import framework stuff
 namespace CoreFramework\Template\Engine;
 
 // Import framework stuff
+use CoreFramework\Mailer\DeliverableMail;
 use CoreFramework\Parser\Xml\XmlParser;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Response\Responseable;
 use CoreFramework\Parser\Xml\XmlParser;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Response\Responseable;
index 3a63dbcf522d1f1de32672518c0a3216966471e8..d25f7f6c0052e8191295268914a4bba84ac51815 100644 (file)
@@ -47,7 +47,5 @@ class ???Visitor extends BaseVisitor implements Visitor {
                // Return the prepared instance
                return $visitorInstance;
        }
                // Return the prepared instance
                return $visitorInstance;
        }
-}
 
 
-// [EOF]
-?>
+}
index ca8d28af55e4d6ccd4a558f1134cbb158ea26f99..2af02c8d0f533a48d290eedb26a2a3d5ef54eb08 100644 (file)
@@ -33,7 +33,5 @@ class ???Exception extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index e201cd822db10ab5a76e97922d6bc16f32c1e989..5098f7bac507eb032d85620804cab94d3983a4aa 100644 (file)
@@ -33,7 +33,5 @@ class ???Exception extends DatabaseException {
                // Just call the parent constructor
                parent::__construct($message, $code);
        }
                // Just call the parent constructor
                parent::__construct($message, $code);
        }
-}
 
 
-// [EOF]
-?>
+}
index 110b7c29ac6184a24ca01480aad7dd98a51b7fe0..d07544c24e587b8336b468b526396892211b6d99 100644 (file)
@@ -22,7 +22,5 @@
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Indexable??? extends Indexable {
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 interface Indexable??? extends Indexable {
-}
 
 
-// [EOF]
-?>
+}
index 8d28f94cf0876358f9d9691678995f43bd815ef9..d5ad24cec7d50629196b73a51a3120e02d813ac8 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
 <?php
 // Own namespace
-namespace CoreFramework\Stackable;
+namespace CoreFramework\Stacker;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
index b05019a5b7c4bafbd37cf951004d5ee35cc8dbaa..20841767886c3489b38dfeb5df4662ecccfc1e55 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Filesystem\Stack;
 
 // Own namespace
 namespace CoreFramework\Filesystem\Stack;
 
+// Import framework stuff
+use CoreFramework\Stacker\Stackable;
+
 /**
  * A Stackable file interface
  *
 /**
  * A Stackable file interface
  *