/** * gets list of available editors * * Presently, a list of folders from class/xoopseditor directory. * * @return array */ public static function getList() { return Directory::getList(\XoopsBaseConfig::get('root-path') . '/class/xoopseditor/'); }
/** * gets list of all files in a directory * * @return array */ public static function getList() { $fileList = Directory::getList(\XoopsBaseConfig::get('themes-path') . '/'); return $fileList; }
/** * gets list of all files in a directory * * @return array */ public static function getList() { $modulePath = \Xoops::getInstance()->path('modules/'); $fileList = Directory::getList($modulePath); return $fileList; }