framework/Mvc/Extensions/Ckfinder/lib/core/connector/php/php5/Core/Config.php
public function getHideFoldersRegex()
    {
        static $folderRegex;

        if (!isset($folderRegex)) {
            if (is_array($this->_hideFolders) && $this->_hideFolders) {
                $folderRegex = join("|", $this->_hideFolders);
                $folderRegex = strtr($folderRegex, array("?" => "__QMK__", "*" => "__AST__", "|" => "__PIP__"));
                $folderRegex = preg_quote($folderRegex, "/");
                $folderRegex = strtr($folderRegex, array("__QMK__" => ".", "__AST__" => ".*", "__PIP__" => "|"));
                $folderRegex = "/^(?:" . $folderRegex . ")$/uim";
            }
            else {
                $folderRegex = "";
            }
        }

        return $folderRegex;
    }
public function getHideFoldersRegex()
    {
        static $folderRegex;

        if (!isset($folderRegex)) {
            if (is_array($this->_hideFolders) && $this->_hideFolders) {
                $folderRegex = join("|", $this->_hideFolders);
                $folderRegex = strtr($folderRegex, array("?" => "__QMK__", "*" => "__AST__", "|" => "__PIP__"));
                $folderRegex = preg_quote($folderRegex, "/");
                $folderRegex = strtr($folderRegex, array("__QMK__" => ".", "__AST__" => ".*", "__PIP__" => "|"));
                $folderRegex = "/^(?:" . $folderRegex . ")$/uim";
            }
            else {
                $folderRegex = "";
            }
        }

        return $folderRegex;
    }
public function getHideFoldersRegex ( ) { static $ folderRegex ; if ( ! isset ( $ folderRegex ) ) { if ( is_array ( $ this -> _hideFolders ) && $ this -> _hideFolders ) { $ folderRegex = join ( "|" , $ this -> _hideFolders ) ; $ folderRegex = strtr ( $ folderRegex , array ( "?" => "__QMK__" , "*" => "__AST__" , "|" => "__PIP__" ) ) ; $ folderRegex = preg_quote ( $ folderRegex , "/" ) ; $ folderRegex = strtr ( $ folderRegex , array ( "__QMK__" => "." , "__AST__" => ".*" , "__PIP__" => "|" ) ) ; $ folderRegex = "/^(?:" . $ folderRegex . ")$/uim" ; } else { $ folderRegex = "" ; } } return $ folderRegex ; }
Get regular expression to hide folders

@access public
@return array
Get regular expression to hide folders