MediaHelper::countFiles
Counts the files and directories in a directory that are not php or html files.
Signature
public function countFiles(string
$dirĀ )
Parameters
-
$dir
- Directory name
Returns
- array
- The number of files and directories in the given directory