*/
const SEPARATOR_ENTRIES = 0x04;
+ /**
+ * Separator type->position
+ */
+ const SEPARATOR_TYPE_POSITION = 0x05;
+
/**
* Length of count
*/
*/
const LENGTH_NAME = 10;
+ /**
+ * Maximum length of entry type
+ */
+ const LENGTH_TYPE = 20;
+
/**
* The real class name
*/
*/
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]