PHP Classes

File: helper/dirList.php

Recommend this page to a friend!
  Classes of Alexey Starikov   PHP Helper Class   helper/dirList.php   Download  
File: helper/dirList.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Helper Class
Call helper functions that are loaded dynamically
Author: By
Last change:
Date: 4 years ago
Size: 217 bytes


Class file image Download
return function ($dir) {
$ret = array();
$it = new FilesystemIterator($dir);
    foreach (
$it as $fileinfo) {
$ret[$fileinfo->getFilename()] = $fileinfo->getFilename();