Continued:
[core.git] / inc / classes / main / class_BaseFrameworkSystem.php
index 0c08a67a364a0cee1d477d3facee68b7abcbeaa6..bdfbbf7b183c8761e5765e1a611642160a52e04f 100644 (file)
@@ -43,6 +43,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        const SEPARATOR_ENTRIES = 0x04;
 
+       /**
+        * Separator type->position
+        */
+       const SEPARATOR_TYPE_POSITION = 0x05;
+
        /**
         * Length of count
         */
@@ -58,6 +63,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        const LENGTH_NAME = 10;
 
+       /**
+        * Maximum length of entry type
+        */
+       const LENGTH_TYPE = 20;
+
        /**
         * The real class name
         */
@@ -3068,20 +3078,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        public static function isBlockSeparatorFound ($str) {
                // Determine it
-               $isFound = (strpos($str, self::getBlockSeparator()) !== FALSE);
+               $isFound = (strpos($str, chr(self::SEPARATOR_ENTRIES)) !== FALSE);
 
                // Return result
                return $isFound;
        }
-
-       /**
-        * Getter for block separator character(s)
-        *
-        * @return      $blockSeparator         A separator for blocks
-        */
-       protected static final function getBlockSeparator () {
-               return chr(self::SEPARATOR_ENTRIES);
-       }
 }
 
 // [EOF]