]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/class_
Added new interfaces Handleable/-DataSet and ProtocolHandler (no content yet).
[core.git] / inc / classes / main / resolver / class_
index af54a65b496a4a5bb630721c287431b073fdbb96..72cc8dc3fe7bd19e29d2085659a4a40dfb2e87be 100644 (file)
@@ -1,10 +1,11 @@
 <?php
 /**
  * A ??? resolver
+ * @TODO Clean up this template
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -52,7 +53,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                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) {
+               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
                        // Invalid action found
                        throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                }
@@ -87,7 +88,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -127,7 +128,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                } // END - if
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -148,7 +149,7 @@ class ???Resolver extends BaseResolver implements Resolver {
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -196,7 +197,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                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) {
+               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
                        // Invalid action found
                        throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                }
@@ -231,7 +232,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -271,7 +272,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                } // END - if
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -292,7 +293,7 @@ class ???Resolver extends BaseResolver implements Resolver {
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -340,7 +341,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                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) {
+               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
                        // Invalid action found
                        throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                }
@@ -375,7 +376,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -415,7 +416,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                } // END - if
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -436,7 +437,7 @@ class ???Resolver extends BaseResolver implements Resolver {
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -484,7 +485,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                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) {
+               } elseif ($resolverInstance->is|||Valid($!!!Name) === FALSE) {
                        // Invalid action found
                        throw new Invalid|||Exception(array($resolverInstance, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                }
@@ -519,7 +520,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                if (empty($!!!Name)) $!!!Name = $this->getConfigInstance()->getConfigEntry('default_action');
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if
@@ -559,7 +560,7 @@ class ???Resolver extends BaseResolver implements Resolver {
                } // END - if
 
                // Check if action is valid
-               if ($this->is|||Valid($!!!Name) === false) {
+               if ($this->is|||Valid($!!!Name) === FALSE) {
                        // This action is invalid!
                        throw new Invalid|||Exception(array($this, $!!!Name), self::EXCEPTION_INVALID_ACTION);
                } // END - if