XoopsLists
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
static
|
getTimeZoneList(): array
|
# | ||||||
public
static
|
getThemesList()
gets list of themes folder from themes directory
gets list of themes folder from themes directory |
# | ||||||
public
static
|
getModulesList()
gets a list of module folders from the modules directory
gets a list of module folders from the modules directory |
# | ||||||
public
static
|
getEditorList()
gets list of editors folder from xoopseditor directory
gets list of editors folder from xoopseditor directory |
# | ||||||
public
static
|
getDirListAsArray($dirname): array
gets list of name of directories inside a directory
gets list of name of directories inside a directory |
# | ||||||
public
static
|
getFileListAsArray($dirname, string $prefix = ''): array
gets list of all files in a directory
gets list of all files in a directory |
# | ||||||
public
static
|
getFileListByExtension(string $dirname, string[] $extensions, string $prefix = ''): string[]
get list of files in a directory matching a list of extensions
get list of files in a directory matching a list of extensions Parameters
|
# | ||||||
public
static
|
getImgListAsArray(string $dirname, string $prefix = ''): string[]
Get a list of image file names in a directory.
This selects only the most common file extensions for web use,
gif, jpeg…
Get a list of image file names in a directory. This selects only the most common file extensions for web use, gif, jpeg/jpg, and png Parameters
|
# | ||||||
public
static
|
getHtmlListAsArray($dirname, string $prefix = ''): array
gets list of html file names in a certain directory
gets list of html file names in a certain directory |
# | ||||||
public
static
|
getAvatarsList(string $avatar_dir = ''): array
gets list of avatar file names in a certain directory
if directory is not specified,…
gets list of avatar file names in a certain directory if directory is not specified, default directory will be searched |
# | ||||||
public
static
|
getAllAvatarsList()
gets list of all avatar image files inside default avatars directory
gets list of all avatar image files inside default avatars directory |
# | ||||||
public
static
|
getSubjectsList(string $sub_dir = ''): array
gets list of subject icon image file names in a certain directory
if directory is not…
gets list of subject icon image file names in a certain directory if directory is not specified, default directory will be searched |
# | ||||||
public
static
|
getLangList()
gets list of language folders inside default language directory
gets list of language folders inside default language directory |
# | ||||||
public
static
|
getCountryList(): array
XoopsLists::getCountryList()
XoopsLists::getCountryList() |
# | ||||||
public
static
|
getHtmlList(): array
XoopsLists::getHtmlList()
XoopsLists::getHtmlList() This Function is no longer being used by the core |
# | ||||||
public
static
|
getUserRankList(): array
XoopsLists::getUserRankList()
XoopsLists::getUserRankList() |
# |