Made lower to upper case:
[core.git] / inc / classes / main / io / class_FrameworkDirectoryPointer.php
index 959323929d887beaa68761d4e4f66bf54681a5bd..f3abf217bdb4fd1d4599601a52b22cbd664afe71 100644 (file)
@@ -67,21 +67,21 @@ class FrameworkDirectoryPointer extends BaseFrameworkSystem {
         * @throws      PathReadProtectedException      If the provided path name is read-protected
         * @throws      DirPointerNotOpenedException    If opendir() returns not a directory resource
         */
-       public static final function createFrameworkDirectoryPointer ($pathName, $inConstructor = false) {
+       public static final function createFrameworkDirectoryPointer ($pathName, $inConstructor = FALSE) {
                // Some pre-sanity checks...
                if (is_null($pathName)) {
                        // No pathname given
                        if ($inConstructor) {
                                return NULL;
                        } else {
-                               throw new PathIsEmptyException(null, self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
+                               throw new PathIsEmptyException(NULL, self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
                        }
                } elseif (!is_string($pathName)) {
                        // Is not a string
                        if ($inConstructor) {
                                return NULL;
                        } else {
-                               throw new InvalidPathStringException(null, self::EXCEPTION_INVALID_STRING);
+                               throw new InvalidPathStringException(NULL, self::EXCEPTION_INVALID_STRING);
                        }
                } elseif (!is_dir($pathName)) {
                        // Not a directory
@@ -148,11 +148,11 @@ class FrameworkDirectoryPointer extends BaseFrameworkSystem {
                $rawLine = $this->readRawDirectory();
 
                // Shall we exclude directories?
-               if ((!is_null($rawLine)) && ($rawLine !== false) && (!in_array($rawLine, $except))) {
+               if ((!is_null($rawLine)) && ($rawLine !== FALSE) && (!in_array($rawLine, $except))) {
                        // Return read data
                        //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DIRECTORY[' . __LINE__ . ']: rawLine[' . gettype($rawLine) . ']=' . $rawLine);
                        return $rawLine;
-               } elseif ((!is_null($rawLine)) && ($rawLine !== false)) {
+               } elseif ((!is_null($rawLine)) && ($rawLine !== FALSE)) {
                        // Exclude this part
                        //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DIRECTORY[' . __LINE__ . ']: rawline[' . gettype($rawLine) . ']=' . $rawLine . ' - Recursive call!');
                        return $this->readDirectoryExcept($except);