]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/main/helper/class_BaseHelper.php
Image generator added, first CAPTCHA added with missing controller (partly work)
[shipsimu.git] / inc / classes / main / helper / class_BaseHelper.php
index 1a481944123ba035b703890ba8f77fdbedf82bc0..2c0c3c8b3a88fcd0302f90a9ad7ef5f978016b61 100644 (file)
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class BaseHelper extends BaseFrameworkSystem {
-       /**
-        * Template engine instance
-        */
-       private $templateInstance = null;
+       // Exception constants
+       const EXCEPTION_XML_PARSER_ERROR  = 0xe00;
+       const EXCEPTION_XML_NODE_UNKNOWN  = 0xe01;
+       const EXCEPTION_XML_NODE_MISMATCH = 0xe02;
 
        /**
         * Rendered content created by the helper class
@@ -47,25 +47,6 @@ class BaseHelper extends BaseFrameworkSystem {
                $this->removeSystemArray();
        }
 
-       /**
-        * Setter for template engine instances
-        *
-        * @param       $templateInstance       An instance of a template engine class
-        * @return      void
-        */
-       protected final function setTemplateInstance (CompileableTemplate $templateInstance) {
-               $this->templateInstance = $templateInstance;
-       }
-
-       /**
-        * Getter for template engine instances
-        *
-        * @return      $templateInstance       An instance of a template engine class
-        */
-       protected final function getTemplateInstance () {
-               return $this->templateInstance;
-       }
-
        /**
         * Add content
         *