X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresolver%2Fclass_;h=766160caf3105ab44aaa0d9ee90d2e206486a65c;hb=fa4a8357806244a39eb6e8dadf028190b03d34fb;hp=5d4fb1716287fd3782508c8e57ead871a8ae945d;hpb=83ceb6f4eb20c78b5e83842bf3bb84cd5758a647;p=core.git diff --git a/inc/classes/main/resolver/class_ b/inc/classes/main/resolver/class_ index 5d4fb171..766160ca 100644 --- a/inc/classes/main/resolver/class_ +++ b/inc/classes/main/resolver/class_ @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -52,7 +52,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 +87,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 +127,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 +148,7 @@ class ???Resolver extends BaseResolver implements Resolver { * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -196,7 +196,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 +231,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 +271,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 +292,7 @@ class ???Resolver extends BaseResolver implements Resolver { * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -340,7 +340,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 +375,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 +415,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 +436,7 @@ class ???Resolver extends BaseResolver implements Resolver { * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -484,7 +484,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 +519,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 +559,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