Пример #1
0
 /**
  * allows to retrieve files and directories with a . (dot) which are
  * normally hidden
  *
  * @access public
  * @param  boolean  $bool
  * @return instance
  **/
 public static function showHidden($bool)
 {
     if (is_bool($bool)) {
         self::$show_hidden = $bool;
     }
     if (self::$instance) {
         return self::$instance;
     }
 }