%PDF- %PDF-
| Direktori : /home/lightco1/upgrade.lightco.com.au/modules/mod_logoslider/ |
| Current File : /home/lightco1/upgrade.lightco.com.au/modules/mod_logoslider/helper.php |
<?php
class LogoSliderHelper
{
public static function getFolderDetail($params)
{
$results = array();
$folderpath = $params->get('selectedfolder');
if ($handle = opendir($folderpath)) {
while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != "..") {
$results[] = $entry;
}
}
closedir($handle);
}
return $results;
}
}