]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 16 Jul 2017 12:24:09 +0000 (14:24 +0200)
committerRoland Häder <roland@mxchange.org>
Sun, 16 Jul 2017 12:24:09 +0000 (14:24 +0200)
- imported much more framework stuff, found by CodeCoverage
- renamed some namespaces
- FuseWrapper seems to be no longer maintained? ;-(

Signed-off-by: Roland Häder <roland@mxchange.org>
40 files changed:
framework/config/class_FrameworkConfiguration.php
framework/main/classes/controller/html/class_Html
framework/main/classes/controller/html/class_HtmlConfirmController.php
framework/main/classes/controller/html/class_HtmlDefaultNewsController.php
framework/main/classes/database/frontend/class_PaymentsDatabaseWrapper.php
framework/main/classes/database/frontend/class_UserPointsDatabaseWrapper.php
framework/main/classes/discovery/payment/class_LocalPaymentDiscovery.php
framework/main/classes/factories/index/class_FileStackIndexFactory.php
framework/main/classes/file_directories/binary/class_BaseBinaryFile.php
framework/main/classes/file_directories/text/class_BaseTextFile.php
framework/main/classes/file_directories/text/output/class_BaseOutputTextFile.php
framework/main/classes/fuse/class_FrameworkFuseWrapper.php [deleted file]
framework/main/classes/fuse/class_FrameworkFuseWrapper.php_discontinued [new file with mode: 0644]
framework/main/classes/helper/captcha/class_BaseCaptcha.php
framework/main/classes/helper/captcha/images/class_ImageHelper.php
framework/main/classes/helper/captcha/web/class_GraphicalCodeCaptcha.php
framework/main/classes/helper/html/class_BaseHtmlHelper.php
framework/main/classes/helper/login/class_BaseLoginHelper.php
framework/main/classes/index/file_stack/class_FileStackIndex.php
framework/main/classes/points/class_UserPoints.php
framework/main/classes/stacker/file/class_BaseFileStack.php
framework/main/classes/stacker/file/fifo/class_FiFoFileStack.php
framework/main/exceptions/connection/class_ConnectionAlreadyRegisteredException.php
framework/main/exceptions/database/general/class_SqlException.php
framework/main/exceptions/database/local_file/class_SavePathIsEmptyException.php
framework/main/exceptions/database/local_file/class_SavePathIsNoDirectoryException.php
framework/main/exceptions/database/local_file/class_SavePathReadProtectedException.php
framework/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php
framework/main/exceptions/helper/class_FormOpenedException.php
framework/main/exceptions/helper/class_InvalidFormNameException.php
framework/main/exceptions/main/class_DimNotFoundInArrayException.php
framework/main/exceptions/main/class_InvalidClassNameException.php
framework/main/exceptions/main/class_InvalidInterfaceException.php
framework/main/exceptions/main/class_ResponseHeadersAlreadySentException.php
framework/main/interfaces/captcha/class_SolveableCaptcha.php
framework/main/interfaces/database/wrapper/class_BookablePointsWrapper.php
framework/main/interfaces/helper/login/class_HelpableLogin.php
framework/main/interfaces/helper/template/class_HelpableTemplate.php
framework/main/interfaces/index/stack/class_IndexableStack.php
framework/main/interfaces/resolver/actions/class_ActionResolver.php

index 9da74c439969dc295e1a92ebdb95657acb644dcc..014c08cddf433fa4db50b1887a74031239bf5f2d 100644 (file)
@@ -18,7 +18,7 @@ use CoreFramework\Registry\Registerable;
  *
  * @see                        ClassLoader
  * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
+ * @version            1.0.1
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
index 8057f3be076f33eee828a7828366bce7927784d2..d884b243bd1e58468933f059021d5f5f0758731a 100644 (file)
@@ -1,6 +1,17 @@
 <?php
+// Own namespace
+namespace CoreFramework\Controller\!!!;
+
+// Import framework stuff
+use CoreFramework\Controller\BaseController;
+use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Request\Requestable;
+use CoreFramework\Resolver\Command\CommandResolver;
+use CoreFramework\Response\Responseable;
+
 /**
- * Controller for 
+ * Controller for ???
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
index 48c2b71b0890102a9821799378228337d07dd784..685f9e0d07819aa9219ac031949613651ab976aa 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Controller\Confirm;
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
 
index a0204ecb137c52037f6590997c8f712aa6572698..b6085f75ac2a057d3933b464fb1b8cfeb8e1047b 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Controller\News;
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
 
index 25ea8bad4c137cd79d4337e06e182b2cd6f54907..578f6fd97ec346e3d248fddcca865612c64c7596 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Database\Frontend;
 
 // Import framework stuff
 use CoreFramework\Database\Frontend\BaseDatabaseWrapper;
+use CoreFramework\Registry\Registerable;
 
 /**
  * A database wrapper for payments
index dd6ea62e2ee9b8e14c08a829e358c63fcb35d9ae..c73f23dffa3755931812e911ada0e8b0f1821b6f 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Database\Frontend\Points;
 use CoreFramework\Database\Frontend\BaseDatabaseWrapper;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Result\Update\UpdateableResult;
 
 /**
  * A database wrapper for user points classes
index fcd58dfb5e072b94f35d1df1c30c1027b90826f9..f499e7c0efc94566ae6fbe3d556d9c4458fd89bb 100644 (file)
@@ -3,6 +3,8 @@
 namespace CoreFramework\Discovery\Payment;
 
 // Import framework stuff
+use CoreFramework\Discovery\BaseDiscovery;
+use CoreFramework\Discovery\Discoverable;
 use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filter\Filterable;
index f4594997c1ae8c5d3a194ec16fa4f681ad25908d..baf1b3892bb983af7c7d9d7bd3747e03d23161ee 100644 (file)
@@ -5,7 +5,7 @@ namespace CoreFramework\Factory\Filesystem\Stack;
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Registry\Registry;
-use CoreFramework\Stack\Index\IndexableStack;
+use CoreFramework\Stacker\Index\IndexableStack;
 
 /**
  * A factory class for file-based stack indexes
index e55a95fb78cd859d33abf41e6703369996f496e9..bfbf4dbf5f39d43e9689df6bad694d01c846fa4a 100644 (file)
@@ -6,6 +6,7 @@ namespace CoreFramework\Filesystem\File;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filesystem\Block;
 use CoreFramework\Filesystem\Block\CalculatableBlock;
+use CoreFramework\Filesystem\File\BaseAbstractFile;
 
 /**
  * A general binary file class
index af363cfe5c8f17bdc0fbc50e54e54f86ae4abf56..b37010ba918c8a728b52ba35551594f793e500d7 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Filesystem\File;
 
 // Import framework stuff
+use CoreFramework\Filesystem\File\BaseAbstractFile;
 use CoreFramework\Generic\UnsupportedOperationException;
 
 /**
index 5e988f9a868d60d834eb6cd259e52d70a32e43af..90bdc6c839b0f77c955eff09ef42f406b609f0af 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Filesystem\Text;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Filesystem\File\BaseAbstractFile;
 use CoreFramework\Output\BaseOutput;
 
 /**
diff --git a/framework/main/classes/fuse/class_FrameworkFuseWrapper.php b/framework/main/classes/fuse/class_FrameworkFuseWrapper.php
deleted file mode 100644 (file)
index 794b6fc..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<?php
-// Own namespace
-namespace CoreFramework\Wrapper\Fuse;
-
-// Import framework stuff
-use CoreFramework\Registry\Registerable;
-
-/**
- * A class for binding to the FUSE wrapper. This class requires the PHP
- * extension fuse.dll/so being added to your setup. If you want to use this
- * class, please activate and use the FUSE feature instead of using this class
- * directly. This gives you all required pre-tests. Please read there for
- * more detailed informations.
- *
- * @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 FrameworkFuseWrapper extends FuseWrapper implements Registerable {
-       /**
-        * Get attributes
-        *
-        * @param       $path   Path to get attributes from
-        * @param       $stbuf  An instance of a FuseStat class
-        * @return      Status code
-        */
-       public function FsGetAttr ($path, FuseStat $stbuf) {
-               if (strcmp($path, '/') == 0 ) {
-                       $stbuf->st_mode = FUSE_S_IFDIR | 0750;
-                       $stbuf->st_nlink = 2;
-               } else {
-                       $stbuf->st_uid   = posix_getuid();
-                       $stbuf->st_gid   = posix_getgid();
-                       $stbuf->st_mode  = FUSE_S_IFREG | 0640;
-                       $stbuf->st_nlink = 1;
-                       $stbuf->st_size  = 56;
-                       $stbuf->st_mtime = 1226379246;
-               }
-
-               return -FUSE_ENOERR;
-       }
-
-       /**
-        * Open operation
-        *
-        * @param       $path   Path to open
-        * @param       $fi             An instance of a FuseFileInfo class
-        * @return      Status code
-        */
-       public function FsOpen ($path, FuseFileInfo $fi) {
-               if (($fi->flags & FUSE_O_ACCMODE) != FUSE_O_RDONLY) {
-                       return -FUSE_ENOACCES;
-               } // END - if
-
-               return -FUSE_ENOERR;
-       }
-
-       /**
-        * Read operation
-        *
-        * @param       $path   Path to open
-        * @param       $buf    Read data
-        * @param       $size   Maximum expected size (?)
-        * @param       $offset Seek offset
-        * @param       $fi             An instance of a FuseFileInfo class
-        * @return      Length of read data
-        */
-       public function FsRead ($path, &$buf, $size, $offset, FuseFileInfo $fi) {
-               $data = 'You have implemented your first FUSE file system with PHP!' . PHP_EOL;
-
-               if ($offset > strlen($data)) {
-                       return 0;
-               } // END - if
-
-               $buf = substr( $data, $offset, $size );
-
-               return strlen($data);
-       }
-
-       /**
-        * Read directory operation
-        *
-        * @param       $path   Path to open
-        * @param       $buf    An array with all read entries
-        * @return      Status code
-        */
-       public function FsReadDir ($path, array &$buf) {
-               if (strcmp($path, '/') != 0) {
-                       return -FUSE_ENOENT;
-               } // END - if
-
-               $buf[] = '.';
-               $buf[] = '..';
-               $buf[] = 'helloworld.txt';
-
-               return -FUSE_ENOERR;
-       }
-
-}
diff --git a/framework/main/classes/fuse/class_FrameworkFuseWrapper.php_discontinued b/framework/main/classes/fuse/class_FrameworkFuseWrapper.php_discontinued
new file mode 100644 (file)
index 0000000..f3ebcae
--- /dev/null
@@ -0,0 +1,117 @@
+<?php
+// Own namespace
+namespace CoreFramework\Wrapper\Fuse;
+
+// Import framework stuff
+use CoreFramework\Registry\Registerable;
+
+// Import library stuff
+use \FuseWrapper;
+
+/**
+ * A class for binding to the FUSE wrapper. This class requires the PHP
+ * extension fuse.dll/so being added to your setup. If you want to use this
+ * class, please activate and use the FUSE feature instead of using this class
+ * directly. This gives you all required pre-tests. Please read there for
+ * more detailed informations.
+ *
+ * @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 FrameworkFuseWrapper extends FuseWrapper implements Registerable {
+       /**
+        * Get attributes
+        *
+        * @param       $path   Path to get attributes from
+        * @param       $stbuf  An instance of a FuseStat class
+        * @return      Status code
+        */
+       public function FsGetAttr ($path, FuseStat $stbuf) {
+               if (strcmp($path, '/') == 0 ) {
+                       $stbuf->st_mode = FUSE_S_IFDIR | 0750;
+                       $stbuf->st_nlink = 2;
+               } else {
+                       $stbuf->st_uid   = posix_getuid();
+                       $stbuf->st_gid   = posix_getgid();
+                       $stbuf->st_mode  = FUSE_S_IFREG | 0640;
+                       $stbuf->st_nlink = 1;
+                       $stbuf->st_size  = 56;
+                       $stbuf->st_mtime = 1226379246;
+               }
+
+               return -FUSE_ENOERR;
+       }
+
+       /**
+        * Open operation
+        *
+        * @param       $path   Path to open
+        * @param       $fi             An instance of a FuseFileInfo class
+        * @return      Status code
+        */
+       public function FsOpen ($path, FuseFileInfo $fi) {
+               if (($fi->flags & FUSE_O_ACCMODE) != FUSE_O_RDONLY) {
+                       return -FUSE_ENOACCES;
+               } // END - if
+
+               return -FUSE_ENOERR;
+       }
+
+       /**
+        * Read operation
+        *
+        * @param       $path   Path to open
+        * @param       $buf    Read data
+        * @param       $size   Maximum expected size (?)
+        * @param       $offset Seek offset
+        * @param       $fi             An instance of a FuseFileInfo class
+        * @return      Length of read data
+        */
+       public function FsRead ($path, &$buf, $size, $offset, FuseFileInfo $fi) {
+               $data = 'You have implemented your first FUSE file system with PHP!' . PHP_EOL;
+
+               if ($offset > strlen($data)) {
+                       return 0;
+               } // END - if
+
+               $buf = substr( $data, $offset, $size );
+
+               return strlen($data);
+       }
+
+       /**
+        * Read directory operation
+        *
+        * @param       $path   Path to open
+        * @param       $buf    An array with all read entries
+        * @return      Status code
+        */
+       public function FsReadDir ($path, array &$buf) {
+               if (strcmp($path, '/') != 0) {
+                       return -FUSE_ENOENT;
+               } // END - if
+
+               $buf[] = '.';
+               $buf[] = '..';
+               $buf[] = 'helloworld.txt';
+
+               return -FUSE_ENOERR;
+       }
+
+}
index ce4ba7f9dbee63601ebc71833aa334944ce809f3..1102996ad2c1096c6cd96d957d17698c2edfdc36 100644 (file)
@@ -1,10 +1,11 @@
 <?php
 // Own namespace
-namespace CoreFramework\Captcha;
+namespace CoreFramework\Helper\Captcha;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\FrameworkInterface;
+use CoreFramework\Helper\BaseHelper;
 
 /**
  * A general captcha
index 62f0756f28cb3850142e0b086e95fabf3da7726b..2201688273670e674bfc4d9c75f4491a03a93d83 100644 (file)
@@ -1,8 +1,9 @@
 <?php
 // Own namespace
-namespace CoreFramework\Helper;
+namespace CoreFramework\Helper\Image;
 
 // Import framework stuff
+use CoreFramework\Helper\Captcha\BaseCaptcha;
 use CoreFramework\Helper\Template\HelpableTemplate;
 use CoreFramework\Template\CompileableTemplate;
 
index f77f06b812ed6c6e8e05d80cd94958856aebc1d4..5f3045df7b254dea7ae983b20caa0d21d6a11fa6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Captcha;
+namespace CoreFramework\Helper\Captcha;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
index 2bc7ffb1b24e60c80d2001db2a1b3fbc3b1f73bf..25c52f7429e0158a3fcf0ae705e122840ddb79d3 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Helper;
 
+// Import framework stuff
+use CoreFramework\Helper\BaseHelper;
+
 /**
  * A general purpose web helper. You should not instance this like all the other
  * base classes. Instead write your own web helper class and inherit this class.
index e5d24bcc8b2e5b515ba884817f7560a3a9d6d5cc..2c07ea0abfc0f17d961f495928cfc33e6f6d3c02 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Helper\Login;
 
+// Import framework stuff
+use CoreFramework\Helper\BaseHelper;
+
 /**
  * A general login helper class
  *
index fc09d574ae0c0e46f8498780e143fea8f59691ab..dac6c2137065e894a71d1efa79bde176ee19b1bb 100644 (file)
@@ -6,7 +6,8 @@ namespace CoreFramework\Index\Stack;
 use CoreFramework\Index\BaseIndex;
 use CoreFramework\Index\Indexable;
 use CoreFramework\Registry\Registerable;
-use CoreFramework\Stack\Index\IndexableStack;
+use CoreFramework\Stacker\Filesystem\BaseFileStacker;
+use CoreFramework\Stacker\Index\IndexableStack;
 
 /**
  * A FileStack index class
index f3eb51e355bcab64c97b1b87dc23782af2d1ed52..65391d33d10b8313ea332896237379a9d4ce276b 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\User\Point;
+namespace CoreFramework\User\Points;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index 443e46b305fff4a620ae3a1367f51c5aca986a35..9d2e0157b1146f047e861da15c1cf03970d74d63 100644 (file)
@@ -1,12 +1,13 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stack\File;
+namespace CoreFramework\Stacker\Filesystem;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Filesystem\File\BaseBinaryFile;
 use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Iterator\Filesystem\SeekableWritableFileIterator;
+use CoreFramework\Stacker\BaseStacker;
 
 /**
  * A general file-based stack class
index 2e380b2d3d8d89d14f53dc9462cf27e1bb27752b..32d9ee121d8dc2ad5e1a7ef280f1072996634db5 100644 (file)
@@ -1,10 +1,12 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stack\Filesystem;
+namespace CoreFramework\Stacker\Filesystem;
 
 // Import framework stuff
 use CoreFramework\Filesystem\Block\CalculatableBlock;
+use CoreFramework\Filesystem\Stack\StackableFile;
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Stacker\Filesystem\BaseFileStacker;
 
 /**
  * A FiFo file-based stack
index 8107c5f7d29cafd3e0c7cbd3b86d1503342c6d01..c80323e0103612f14d944d4419e2f901215ad8b1 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Connection;
 
+// Import framework stuff
+use CoreFramework\Generic\FrameworkException;
+
 /**
  * This exception is thrown if the connection is already registered in a matching
  * connection registry.
@@ -25,7 +28,7 @@ namespace CoreFramework\Connection;
  * 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 ConnectionAlreadyRegisteredException extends AbstractConnectionException {
+class ConnectionAlreadyRegisteredException extends FrameworkException {
        /**
         * A Constructor for this exception
         *
index 05003dc2d1f30b672e34611b63aa0989513b6217..862cc5e9b6357728f85fbf4a84bdbb14b5a3933c 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Database\Sql;
 
+// Import framework stuff
+use CoreFramework\Database\DatabaseException;
+
 /**
  * A SQL exception thrown when an SQL error was detected.
  *
index 6447f931a9ea83a6bc939e56f23cbc01a2f17eb8..454558f1f607e59cee50bf56d34f0d709496bfde 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Deprecated;
 
 // Import framework stuff
+use CoreFramework\Database\DatabaseException;
 use CoreFramework\Generic\FrameworkInterface;
 
 /**
index 3725cf7e959f718a5d885dae59e7d916d326c0b0..49d104f67e7b63c550ae9c62509371da777f2860 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Deprecated;
 
+// Import framework stuff
+use CoreFramework\Database\DatabaseException;
+
 /**
  * An exception thrown when the save path is no directory
  *
index a8db0666b19e506e8e6d485d42acfda0313c6fb4..0b32e1dc3b072ff325c8f7cf1f50324e10aec9a1 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Deprecated;
 
+// Import framework stuff
+use CoreFramework\Database\DatabaseException;
+
 /**
  * An exception thrown when the save path is read-protected
  *
index 7bb8ead58f5fc0045962f206530778f449384f78..49add0a461c4c8e47b16557b9fed004781cdd685 100644 (file)
@@ -2,6 +2,9 @@
 // Deprecated:
 namespace CoreFramework\Deprecated;
 
+// Import framework stuff
+use CoreFramework\Database\DatabaseException;
+
 /**
  * An exception thrown when the save path is write-protected
  *
index d88f87d53f7e27a248dff415fdcfb503e7a09b9c..cdd74ce7c4332593e9b2b3e57873df74fd9733a0 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Deprecated;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
+use CoreFramework\Helper\BaseHelper;
 
 /**
  * An exception thrown when the form is still opened but we e.g. shall flush
index 0ddf02784bf62bc0ff69e5ebb360a22bcdcde284..f336599a0964543f0bb69ecbeb9872440bcd1011 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Deprecated;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
+use CoreFramework\Helper\BaseHelper;
 
 /**
  * An exception thrown when the form name is invalid (set to false)
index 858119e9d1dc24d3ce8f7c43f4dfabb93b304b3c..9e48957fad3da02ae4def7e3a9507a87eddc5489 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Deprecated;
 
 // Import framework stuff
+use CoreFramework\Generic\FrameworkException;
 use CoreFramework\Generic\FrameworkInterface;
 
 /**
index 43bb8ec8d7e913e7d006b191acef4c105285f35e..69061f7cf50e30683ec22edfce5bd3922f1a7fe8 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Deprecated;
 
 // Import framework stuff
+use CoreFramework\Generic\FrameworkException;
 use CoreFramework\Generic\FrameworkInterface;
 
 /**
index 1458a3cb453aedd0833afd2f72bbfd667b39470c..2204526ebaa10cbf5dd595890e8d606b5b442448 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Object;
 
+// Import framework stuff
+use CoreFramework\Generic\FrameworkException;
+
 /**
  * An exception thrown when an class instance does not implement a given interface
  *
index 5c7f98ebb826c14b330db29f1b7dc663466b7582..743af0fa9d82cf7b668e0eaf160f0e19e1ed31a4 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Response;
 
 // Import framework stuff
+use CoreFramework\Generic\FrameworkException;
 use CoreFramework\Generic\FrameworkInterface;
 
 /**
index 5f20ee596f4ada47e94bb2ec2c53044385c1e520..c17c370f39e1c59329dd44658beab5f051fa5aae 100644 (file)
@@ -1,10 +1,10 @@
 <?php
 // Own namespace
-namespace CoreFramework\Captcha;
+namespace CoreFramework\Helper\Captcha;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkInterface;
-
+use CoreFramework\Helper\Helper;
 
 /**
  * An interface for solveable CAPTCHAs
@@ -28,7 +28,7 @@ use CoreFramework\Generic\FrameworkInterface;
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-interface SolveableCaptcha extends FrameworkInterface {
+interface SolveableCaptcha extends Helper {
        /**
         * Initiates the CAPTCHA
         *
index eb34681d1b163a1ad9ae714bbc44cff705926533..0129bcffdfe6fcbc80739c0f140c6a9152872e13 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Database\Frontend;
+namespace CoreFramework\Database\Frontend\Points;
 
 // Import framework stuff
 use CoreFramework\Database\Frontend\DatabaseWrapper;
index 0520396644a7195943e9cdd502c4e1336d01fb89..c98272336e4b1a74ce0e03d1da708d97311114de 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Helper\Login;
 
 // Import framework stuff
+use CoreFramework\Helper\Helper;
 use CoreFramework\Response\Responseable;
 
 /**
index 24c04436249765a09eebb8ea5762e1c33256c6cd..f828866b6d7b40232f56923131c1f3679a1e692d 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace CoreFramework\Helper\Template;
 
+// Import framework stuff
+use CoreFramework\Helper\Helper;
+
 /**
  * A helper interface for template helper ;)
  *
index daab0a1326d00033c818f9c47459da282884f5ab..1e5b0b9f4a234f6228e62b59b6998459bd351517 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace CoreFramework\Stack\Index;
+namespace CoreFramework\Stacker\Index;
 
 // Import framework stuff
 use CoreFramework\Filesystem\Block\CalculatableBlock;
index c63382fb671dc39678851dc6d9812f0103fd2a20..a3f468b9dd1cd796a21393c0b5b2832fcf1c159b 100644 (file)
@@ -45,12 +45,13 @@ interface ActionResolver extends Resolver {
        function resolveActionByRequest (Requestable $requestInstance);
 
        /**
-        * Checks whether the given action is valid
+        * Checks whether the given action is valid within namespace
         *
+        * @param       $namespace              Namespace to check
         * @param       $actionName             The default action we shall execute
         * @return      $isValid                Whether the given action is valid
         * @throws      EmptyVariableException  Thrown if given action is not set
         */
-       function isActionValid ($actionName);
+       function isActionValid ($namespace, $actionName);
 
 }