]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Haeder <roland@mxchange.org>
Thu, 16 Feb 2017 20:29:21 +0000 (21:29 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 28 Feb 2017 21:09:54 +0000 (22:09 +0100)
- added namespaces
- added import for Register and Registerable

Signed-off-by: Roland Häder <roland@mxchange.org>
15 files changed:
inc/main/classes/class_BaseFrameworkSystem.php
inc/main/classes/controller/html/class_HtmlRegisterController.php
inc/main/classes/database/frontend/class_NewsDatabaseWrapper.php
inc/main/classes/database/frontend/class_UserDatabaseWrapper.php
inc/main/classes/database/frontend/class_UserPointsDatabaseWrapper.php
inc/main/classes/filter/class_FilterChain.php
inc/main/classes/fuse/class_FrameworkFuseWrapper.php
inc/main/classes/helper/html/forms/class_HtmlFormHelper.php
inc/main/classes/index/file_stack/class_FileStackIndex.php
inc/main/classes/output/debug/console/class_DebugConsoleOutput.php
inc/main/classes/registry/generic/class_Registry.php
inc/main/classes/registry/sub/class_SubRegistry.php
inc/main/classes/stacker/file/fifo/class_FiFoFileStack.php
inc/main/interfaces/database/wrapper/class_ManageableAccountWrapper.php
inc/main/interfaces/registry/socket/class_RegisterableSocket.php

index 16dc8d890ea3016dc74bd2a9610129ed31905c6b..03809023ccb560ca6d7dcfdd83626ede13b4d5cf 100644 (file)
@@ -7,6 +7,7 @@ use CoreFramework\Configuration\FrameworkConfiguration;
 use CoreFramework\Generic\FrameworkInterface;
 use CoreFramework\Loader\ClassLoader;
 use CoreFramework\Manager\ManageableApplication;
+use CoreFramework\Registry\Register;
 use CoreFramework\Template\CompileableTemplate;
 
 // Import SPL stuff
index 00bf0bf33942ab2eb69cff289c420a5aa6b9f4b4..1ed3ca6ac00c427768fa76eaefae6c7f0287e3d6 100644 (file)
@@ -61,7 +61,5 @@ class HtmlRegisterController extends BaseController implements Controller {
                // Generic pre-post command execution
                $this->executeGenericPrePostCommand($requestInstance, $responseInstance);
        }
-}
 
-// [EOF]
-?>
+}
index b4165979338713f22633b631f84f7e05f210cb3f..de25ceac7e68ea9c3b2fd01ab33698aba87d0604 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace CoreFramework\Database\Wrapper;
+
+// Import framework stuff
+use CoreFramework\Registry\Registerable;
+
 /**
  * A database wrapper for news classes
  *
@@ -51,7 +57,5 @@ class NewsDatabaseWrapper extends BaseDatabaseWrapper implements Registerable {
                // Return the instance
                return $wrapperInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 333ec1a7c051336d9719f4fe0749bcf2c0868d67..d72c4766d462986a247f75e34ea1a51b7f12ccd7 100644 (file)
@@ -134,7 +134,5 @@ class UserDatabaseWrapper extends BaseDatabaseWrapper implements ManageableAccou
                // "Update" this request with the database
                $this->getDatabaseInstance()->queryUpdateDataSet($dataSetInstance);
        }
-}
 
-// [EOF]
-?>
+}
index efa3b2b353dddd42ff761b3719559a75c63b8e86..9add3702b69a73a03ed3a329ec1f71f5b06f12c0 100644 (file)
@@ -111,7 +111,5 @@ class UserPointsDatabaseWrapper extends BaseDatabaseWrapper implements BookableP
                // "Update" this request with the database
                $this->getDatabaseInstance()->queryUpdateDataSet($dataSetInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 63bc8906d040bfbef21ba647c9cac667511c7335..2ff8ad3cc2ea3eaaaa420326f84756417ee1a4bd 100644 (file)
@@ -3,6 +3,7 @@
 namespace CoreFramework\Filter\Chain;
 
 // Import framework stuff
+use use CoreFramework\Registry\Registerable;
 use CoreFramework\Object\BaseFrameworkSystem;
 
 /**
index 8128e0a16e449353d9101eca05865660f71daef8..b42b15158002cd69972c8da9df8953c9e514d553 100644 (file)
@@ -1,4 +1,10 @@
 <?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
@@ -104,7 +110,5 @@ public class FrameworkFuseWrapper extends FuseWrapper implements Registerable {
 
                return -FUSE_ENOERR;
        }
-}
 
-// [EOF]
-?>
+}
index 0488acf2edb003ab7ff7de04add6c5566c40f58c..accf97d39ae224f3214831c6e0a86d01699eda23 100644 (file)
@@ -938,7 +938,5 @@ class HtmlFormHelper extends BaseHtmlHelper implements HelpableTemplate {
                //* DEBUG: */ print __METHOD__.": form=".$this->getFormName().", size=".strlen($this->renderContent())."<br />\n";
                $this->getTemplateInstance()->assignVariable($this->getFormName(), $this->renderContent());
        }
-}
 
-// [EOF]
-?>
+}
index bc1e5bc4f6d0b67dc46f20190708717b0da3935b..5076d808a4d6c9159912a35685a407b85a08daac 100644 (file)
@@ -106,7 +106,5 @@ class FileStackIndex extends BaseIndex implements IndexableStack, Registerable {
        public function searchNextGap ($length) {
                $this->partialStub('length=' . $length);
        }
-}
 
-// [EOF]
-?>
+}
index 8ab0887b03b17de6e60370bbf79d5867e526c59e..ae7cf072f8a64fcf7b9bd7fd6c36e7a103c47618 100644 (file)
@@ -136,7 +136,5 @@ class DebugConsoleOutput extends BaseDebugOutput implements Debugger, OutputStre
        public function size () {
                throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
        }
-}
 
-// [EOF]
-?>
+}
index b7b066d04ebe449fc04dc5a3f906958ca3026658..116a5216f06d182d1f46808fb7142800d2bebab8 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Registry\Generic;
 
 // Import framework stuff
 use CoreFramework\Registry\BaseRegistry;
+use CoreFramework\Registry\Register;
 
 /**
  * A registry for several data types and objects. Objects should be added by
index f6449ac956140d6dcaa19870301bf62b85bb0adb..2cf76b35cc2a67cc1bec279a7da48d9d0114f88a 100644 (file)
@@ -4,6 +4,7 @@ namespace CoreFramework\Registry\Sub;
 
 // Import framework stuff
 use CoreFramework\Registry\BaseRegistry;
+use CoreFramework\Registry\Register;
 
 /**
  * A Sub registry
index f9a03e5dc3391a1f7d77264f3e34446cf1cca5e7..a4630c6a585afd71ef33d927f9e850343fed8d25 100644 (file)
@@ -120,7 +120,5 @@ class FiFoFileStack extends BaseFileStack implements StackableFile, Calculatable
                // Call the iterator instance
                return $this->getIteratorInstance()->size();
        }
-}
 
-// [EOF]
-?>
+}
index cc5d5c328c00e970980f451e642df9cbc9053929..c41c9bd308839e397310b9d7874ebc05e2eab11f 100644 (file)
@@ -37,7 +37,5 @@ interface ManageableAccountWrapper extends DatabaseWrapper {
         * @return      void
         */
        function doUpdateByResult (UpdateableResult $resultInstance);
-}
 
-// [EOF]
-?>
+}
index a77b6d813a0c988c507b8671d5c15d88ed61b0e9..227fd83923bfac89b9005bb3427628ce2a0f5624 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace CoreFramework\Registry\Socket;
+
+// Import framework stuff
+use CoreFramework\Registry\Registerable;
+
 /**
  * A class for registerable socket classes
  *
@@ -58,7 +64,5 @@ interface RegisterableSocket extends Registerable {
         * @return      $infoInstance   An instance of a ShareableInfo class
         */
        function getInfoInstanceFromPackageData (array $packageData);
-}
 
-// [EOF]
-?>
+}