XOOPS
2.6.0
|
Public Member Functions | |
addConfigs ($configs, $dirname= 'system') | |
alert ($type, $msg, $title= '/') | |
appendConfig ($key, array $values, $appendWithKey=false, $dirname= 'system') | |
assets () | |
buildUrl ($url, $params=array()) | |
cache ($cacheName= 'default') | |
checkEmail ($email, $antispam=false) | |
confirm ($hiddens, $action, $msg, $submit= '', $addtoken=true) | |
db () | |
deprecated ($message) | |
disableErrorReporting () | |
disableModuleCache () | |
events () | |
footer () | |
formatURL ($url) | |
getActiveModules () | |
getBanner () | |
getBaseDomain ($url, $includeSubdomain=false, $returnObject=false) | |
getConfig ($key) | |
getConfigs () | |
getCss ($theme= '') | |
getEnv ($key) | |
getHandler ($name, $optional=false) | |
getHandlerBlock ($optional=false) | |
getHandlerBlockmodulelink ($optional=false) | |
getHandlerConfig ($optional=false) | |
getHandlerConfigitem ($optional=false) | |
getHandlerConfigoption ($optional=false) | |
getHandlerGroup ($optional=false) | |
getHandlerGroupperm ($optional=false) | |
getHandlerMember ($optional=false) | |
getHandlerMembership ($optional=false) | |
getHandlerModule ($optional=false) | |
getHandlerOnline ($optional=false) | |
getHandlerPrivmessage ($optional=false) | |
getHandlerRanks ($optional=false) | |
getHandlerTplfile ($optional=false) | |
getHandlerTplset ($optional=false) | |
getHandlerUser ($optional=false) | |
getMailer () | |
getModuleByDirname ($dirname) | |
getModuleById ($id) | |
getModuleConfig ($key, $dirname= '') | |
getModuleConfigs ($dirname= '') | |
getModuleForm ($obj, $name, $module_dir=null) | |
getModuleHandler ($name=null, $module_dir=null, $optional=false) | |
getModuleHelper ($dirname) | |
getOption ($key) | |
getRank ($rank_id=0, $posts=0) | |
getTplInfo ($tpl_name) | |
getUserGroups () | |
getUserTimestamp ($time, $timeoffset= '') | |
gzipCompression () | |
header ($tpl_name=null) | |
isActiveModule ($dirname) | |
isAdmin () | |
isModule () | |
isUser () | |
loadLanguage ($name, $domain= '', $language=null) | |
logger () | |
makePass () | |
normalizePath ($path) | |
path ($url, $virtual =false) | |
pathExists ($path, $error_type) | |
pathTranslation () | |
preload () | |
redirect ($url, $time=3, $message= '', $addredirect=true, $allowExternalLink=false) | |
registry () | |
security () | |
service ($service) | |
session () | |
setActiveModules () | |
setConfig ($key, $value=null, $dirname= 'system') | |
setOption ($key, $value=null) | |
setTheme (XoopsTheme $theme) | |
setTpl (XoopsTpl $tpl) | |
simpleFooter () | |
simpleHeader ($closehead=true) | |
templateClearModuleCache ($mid) | |
templateTouch ($tpl_id) | |
theme ($tpl_name=null) | |
themeSelect () | |
tpl () | |
translate ($key, $dirname= 'xoops') | |
url ($url) | |
userTimeToServerTime ($timestamp, $userTZ=null) | |
Static Public Member Functions | |
static | getInstance () |
static | loadLocale ($domain= 'xoops', $locale=null) |
Public Attributes | |
$config = array() | |
$isAdminSide = false | |
$module = null | |
$moduleConfig = array() | |
$moduleDirname = '' | |
$option = array() | |
$paths | |
$sessionManager = null | |
$tpl_name = '' | |
$user = '' | |
$userIsAdmin = false | |
const | VERSION = 'XOOPS 2.6.0-Alpha 3' |
Private Member Functions | |
__construct () | |
Private Attributes | |
$activeModules = null | |
$kernelHandlers = array() | |
$moduleConfigs = array() | |
$moduleHandlers = array() | |
$theme = null | |
$tpl = null | |
|
private |
Actual Xoops OS
Definition at line 121 of file Xoops.php.
References $root, $url, $var, XoopsBaseConfig\get(), and pathTranslation().
Xoops::addConfigs | ( | $configs, | |
$dirname = 'system' |
|||
) |
Add Config Values
array | $configs | array of configs |
string | $dirname | module name |
Definition at line 1745 of file Xoops.php.
References $configs, $dirname, and isModule().
Xoops::alert | ( | $type, | |
$msg, | |||
$title = '/' |
|||
) |
render an alert message to a string
string | $type | alert type, one of 'info', 'error', 'success' or 'warning' |
mixed | $msg | string or array of strings |
string | $title | title for alert |
Definition at line 1278 of file Xoops.php.
References $msg, $tpl, $type, XoopsLocaleEn_US\ERROR, XoopsLocaleEn_US\INFORMATION, XoopsLocaleEn_US\SUCCESS, and XoopsLocaleEn_US\WARNING.
Xoops::appendConfig | ( | $key, | |
array | $values, | ||
$appendWithKey = false , |
|||
$dirname = 'system' |
|||
) |
Append Config Value
string | $key | |
array | $values | |
bool | $appendWithKey | |
string | $dirname |
Definition at line 1786 of file Xoops.php.
References $dirname, and isModule().
Referenced by disableModuleCache().
Xoops::assets | ( | ) |
Xoops::buildUrl | ( | $url, | |
$params = array() |
|||
) |
Xoops::cache | ( | $cacheName = 'default' | ) |
get a object for a named cache
string | $cacheName | a named cached pool |
Definition at line 187 of file Xoops.php.
Referenced by getActiveModules(), getModuleByDirname(), getModuleById(), getModuleConfigs(), and setActiveModules().
Xoops::checkEmail | ( | $email, | |
$antispam = false |
|||
) |
Xoops::confirm | ( | $hiddens, | |
$action, | |||
$msg, | |||
$submit = '' , |
|||
$addtoken = true |
|||
) |
Render a confirmation form to a string
array | $hiddens | associative array of values used to complete confirmed action |
string | $action | form action (URL) |
string | $msg | message to display |
string | $submit | submit button message |
boolean | $addtoken | true to add CSRF token |
Definition at line 1345 of file Xoops.php.
References $action, $msg, $name, $tpl, XoopsLocaleEn_US\A_SUBMIT, and security().
Xoops::db | ( | ) |
get database connection instance
Definition at line 175 of file Xoops.php.
Referenced by Xoops\Core\Session\Handler\__construct(), Xoops\Core\Kernel\Dtype\DtypeUrl\cleanVar(), Xoops\Core\Kernel\Dtype\DtypeEmail\cleanVar(), Xoops\Core\Kernel\Dtype\DtypeEnumeration\cleanVar(), Xoops\Core\Kernel\Dtype\DtypeAbstract\cleanVar(), Xoops\Core\Kernel\Dtype\DtypeTextbox\cleanVar(), Xoops\Core\Kernel\Dtype\DtypeSource\cleanVar(), Xoops\Core\Kernel\Dtype\DtypeTextarea\cleanVar(), Xoops\Core\Session\Handler\destroy(), Xoops\Core\Session\Handler\gc(), getHandler(), getModuleHandler(), getRank(), Xoops\Core\Kernel\Dtype\DtypeAbstract\init(), Xoops\Core\Session\Handler\read(), and Xoops\Core\Session\Handler\write().
Xoops::deprecated | ( | $message | ) |
Xoops::disableErrorReporting | ( | ) |
Xoops::disableModuleCache | ( | ) |
Disables page cache by overriding module cache settings
Definition at line 1875 of file Xoops.php.
References appendConfig(), and isModule().
Xoops::events | ( | ) |
get the event processor
Definition at line 214 of file Xoops.php.
Referenced by deprecated(), disableErrorReporting(), footer(), getBanner(), getBaseDomain(), getTplInfo(), header(), preload(), redirect(), simpleFooter(), and simpleHeader().
Xoops::footer | ( | ) |
Xoops::formatURL | ( | $url | ) |
Xoops::getActiveModules | ( | ) |
Get active modules from cache file
Definition at line 1125 of file Xoops.php.
References $activeModules, cache(), and setActiveModules().
Referenced by isActiveModule().
Xoops::getBanner | ( | ) |
getBaseDomain
Get domain name from a URL. This will check that the domain is valid for registering, preventing return of constructs like 'co.uk' as the domain. See https://publicsuffix.org/
string | $url | URL |
boolean | $includeSubdomain | true to include include subdomains, default is false registerable domain only |
boolean | $returnObject | true to return Pdp object false returns domain as string |
Definition at line 1896 of file Xoops.php.
References $url, and events().
Xoops::getConfig | ( | $key | ) |
Get Config value
string | $key |
Definition at line 1722 of file Xoops.php.
References getModuleConfig().
Referenced by getCss(), getUserTimestamp(), gzipCompression(), header(), redirect(), simpleHeader(), theme(), themeSelect(), and userTimeToServerTime().
Xoops::getConfigs | ( | ) |
Get all Config Values
Definition at line 1732 of file Xoops.php.
References getModuleConfigs().
Referenced by simpleHeader().
Xoops::getCss | ( | $theme = '' | ) |
Function to get css file for a certain themeset
string | $theme |
Definition at line 1595 of file Xoops.php.
References $theme, XoopsLoad\fileExists(), XoopsBaseConfig\get(), getConfig(), and getEnv().
Referenced by redirect(), and simpleHeader().
Xoops::getEnv | ( | $key | ) |
Xoops::getHandler | ( | $name, | |
$optional = false |
|||
) |
Get handler
string | $name | |
mixed | $optional |
Definition at line 950 of file Xoops.php.
References $name, db(), logger(), and WARNING.
Referenced by getHandlerBlock(), getHandlerBlockmodulelink(), getHandlerConfig(), getHandlerConfigitem(), getHandlerConfigoption(), getHandlerGroup(), getHandlerGroupperm(), getHandlerMember(), getHandlerMembership(), getHandlerModule(), getHandlerOnline(), getHandlerPrivmessage(), getHandlerRanks(), getHandlerTplfile(), getHandlerTplset(), and getHandlerUser().
Xoops::getHandlerBlock | ( | $optional = false | ) |
Get handler of Block
mixed | $optional |
Definition at line 744 of file Xoops.php.
References getHandler().
Xoops::getHandlerBlockmodulelink | ( | $optional = false | ) |
Get handler of Block Module Link
mixed | $optional |
Definition at line 756 of file Xoops.php.
References getHandler().
Xoops::getHandlerConfig | ( | $optional = false | ) |
Get handler of Config
mixed | $optional |
Definition at line 768 of file Xoops.php.
References getHandler().
Referenced by getModuleConfigs().
Xoops::getHandlerConfigitem | ( | $optional = false | ) |
Get handler of Config Item
mixed | $optional |
Definition at line 780 of file Xoops.php.
References getHandler().
Xoops::getHandlerConfigoption | ( | $optional = false | ) |
Get handler of Config Option
mixed | $optional |
Definition at line 792 of file Xoops.php.
References getHandler().
Xoops::getHandlerGroup | ( | $optional = false | ) |
Get handler of Group
mixed | $optional |
Definition at line 804 of file Xoops.php.
References getHandler().
Xoops::getHandlerGroupperm | ( | $optional = false | ) |
Get handler of Group Permission
mixed | $optional |
Definition at line 816 of file Xoops.php.
References getHandler().
Xoops::getHandlerMember | ( | $optional = false | ) |
Get handler of Member
mixed | $optional |
Definition at line 828 of file Xoops.php.
References getHandler().
Xoops::getHandlerMembership | ( | $optional = false | ) |
Get handler of Membership
mixed | $optional |
Definition at line 840 of file Xoops.php.
References getHandler().
Xoops::getHandlerModule | ( | $optional = false | ) |
Get handler of Module
mixed | $optional |
Definition at line 852 of file Xoops.php.
References getHandler().
Referenced by getModuleByDirname(), getModuleById(), and setActiveModules().
Xoops::getHandlerOnline | ( | $optional = false | ) |
Get handler of Online
mixed | $optional |
Definition at line 864 of file Xoops.php.
References getHandler().
Xoops::getHandlerPrivmessage | ( | $optional = false | ) |
Get handler of Private Message
mixed | $optional |
Definition at line 876 of file Xoops.php.
References getHandler().
Xoops::getHandlerRanks | ( | $optional = false | ) |
Get handler of Ranks
mixed | $optional |
Definition at line 888 of file Xoops.php.
References getHandler().
Xoops::getHandlerTplfile | ( | $optional = false | ) |
Get handler of Template File
mixed | $optional |
Definition at line 913 of file Xoops.php.
References getHandler().
Referenced by templateTouch().
Xoops::getHandlerTplset | ( | $optional = false | ) |
Get handler of Template Set
mixed | $optional |
Definition at line 925 of file Xoops.php.
References getHandler().
Xoops::getHandlerUser | ( | $optional = false | ) |
Get handler of User
mixed | $optional |
Definition at line 937 of file Xoops.php.
References getHandler().
|
static |
Access the only instance of this class
Definition at line 160 of file Xoops.php.
Referenced by AvatarsAvatar_userForm\__construct(), ImagesImageForm\__construct(), XcaptchaTextForm\__construct(), XcaptchaImageForm\__construct(), XcaptchaRecaptchaForm\__construct(), XcaptchaCaptchaForm\__construct(), ImagesCategoryselectForm\__construct(), CommentsCommentForm\__construct(), ImagesCategoryForm\__construct(), SmiliesSmiliesForm\__construct(), Xoops\Module\Plugin\PluginAbstract\__construct(), ImagesCategory_imagemanagerForm\__construct(), MenusMenus_menuForm\__construct(), MenusMenus_menusForm\__construct(), ImagesImage_imagemanagerForm\__construct(), SystemUserForm\__construct(), Xoops\Form\Token\__construct(), SystemGroupForm\__construct(), XoopsBlock\__construct(), Xoops\Form\GroupCheckbox\__construct(), System\__construct(), SystemMenuHandler\__construct(), XoopsTpl\__construct(), Xoops\Form\SelectGroup\__construct(), Xoops\Core\Session\Handler\__construct(), Xoops\Core\Kernel\XoopsObjectHandler\__construct(), Xoops\Core\Session\SessionUser\__construct(), Xoops\Form\SelectUser\__construct(), Xmf\Module\Helper\AbstractHelper\__construct(), Xoops\Core\Session\Manager\__construct(), XoopsUser\__construct(), Xoops\Core\Cache\CacheManager\__construct(), XoopsDatabaseManager\__construct(), SystemModule\__construct(), XoopsConfigHandler\__construct(), XoopsMemberHandler\__construct(), Xoops\Auth\Provisioning\__construct(), Xoops\Core\Session\RememberMe\__construct(), Xoops\Module\Admin\__construct(), Xoops\Form\DhtmlTextArea\__construct(), Xoops\Auth\Ldap\__construct(), XoopsMultiMailer\__construct(), XoopsXmlRpcApi\_checkUser(), MenusSmartyDecorator\_doDecoration(), CommentsCommentRenderer\_getPosterArray(), CommentsCommentRenderer\_getPosterName(), CommentsCommentRenderer\_getTitleIcon(), XoopsEditorHandler\_loadEditor(), Xoops\Auth\Provisioning\add(), Xoops\Module\Admin\addConfigBoxLine(), Xmf\Module\Helper\AbstractHelper\addLog(), Xmf\Module\Helper\GenericHelper\addLog(), XoopsTheme\addScript(), Xoops\Core\Database\Schema\PrefixStripper\addSequence(), DebugbarLogger\addSmarty(), XoopsTheme\addStylesheet(), Xoops\Core\Database\Schema\PrefixStripper\addTable(), DebugbarLogger\addToTheme(), Smarty_Resource_Admin\adminTplInfo(), System\adminVersion(), Xoops\Auth\Xoops\authenticate(), b_comments_show(), b_notification_show(), b_system_info_show(), b_system_login_show(), b_system_main_edit(), b_system_main_show(), b_system_newmembers_show(), b_system_online_show(), b_system_themes_show(), b_system_topposters_show(), b_system_user_show(), Xmf\Debug\backtrace(), Smarty_Resource_Block\blockTplInfo(), SystemMenuHandler\breadcrumb_nav(), XoopsThemeBlocksPlugin\buildBlock(), XoopsBlock\buildBlock(), Xoops\Auth\Provisioning\change(), XoopsInstallWizard\checkAccess(), Xoops\Core\Security\checkBadips(), XoopsTheme\checkCache(), Xoops\Core\Security\checkReferer(), System\cleanCache(), XoopsTpl\clearCache(), Xoops\Form\DhtmlTextArea\codeIcon(), Xoops_Locale_Abstract\convert_encoding(), Xoops\Core\Assets\copyFileAssets(), createConfigform(), XoopsThemeFactory\createInstance(), XoopsAdminThemeFactory\createInstance(), Smarty_Resource_Db\dbTplInfo(), SystemModule\deleteBlocks(), CommentsCommentHandler\deleteByItemId(), SystemModule\deleteConfigs(), XoopsModuleHandler\deleteModule(), Notifications\deleteModuleRelations(), Comments\deleteModuleRelations(), SystemModule\deleteTemplates(), Xoops\Core\Cache\Legacy\deprecated(), XoopsMySQLDatabase\deprecated(), Xoops\Core\Logger\deprecatedMessage(), XoopsLogger\deprecatedWarning(), Xmf\Template\AbstractTemplate\disableLogger(), Comments\displayDelete(), Comments\displayEdit(), Comments\displayNew(), Comments\displayPost(), Comments\displayReply(), Xoops\Core\Yaml\dump(), Xmf\Debug\dump(), LegacyLogger\dump(), Xoops\Core\Yaml\dumpWrapped(), DebugbarLogger\enable(), LegacyLogger\enable(), Notifications\enabled(), NotificationsPreload\eventCoreFooterStart(), SystemPreload\eventCoreHeaderAddmeta(), SystemPreload\eventCoreHeaderCheckcache(), ImagesPreload\eventCoreImage(), ImagesPreload\eventCoreImagemanager(), NotificationsPreload\eventCoreIncludeCheckloginSuccess(), DebugbarPreload\eventCoreIncludeCommonAuthSuccess(), LoggerPreload\eventCoreIncludeCommonAuthSuccess(), MonologPreload\eventCoreIncludeCommonConfigsSuccess(), MonologPreload\eventCoreIncludeCommonSecurity(), SystemPreload\eventCoreIncludeFunctionsRedirectheader(), LoggerPreload\eventCoreIncludeFunctionsRedirectheaderEnd(), Notifications\eventEnabled(), SystemPreload\eventSystemClassGuiHeader(), MonologPreload\eventSystemPreferencesSave(), Xoops\Core\Database\Connection\executeUpdate(), Xoops_Locale_Abstract\formatTimestamp(), XoopsTheme\generateCacheId(), Xoops\Auth\Factory\getAuthConnection(), XoopsModule\getByDirName(), Notifications\getCategory(), LoggerPreload\getConfigs(), DebugbarPreload\getConfigs(), MonologPreload\getConfigs(), Xoops\Core\Database\Factory\getConnection(), Xoops\Core\Kernel\Model\Stats\getCount(), Xoops\Core\Kernel\Model\Stats\getCounts(), Xoops\Core\HttpRequest\getDomain(), MaintenanceMaintenanceForm\getDump(), Xoops\Core\HttpRequest\getEnv(), Notifications\getEvents(), SystemExtension\getExtensionList(), MenusDefaultDecorator\getExtraValue(), CountryFlagProvider\getFlagUrl(), UserconfigsConfigsForm\getForm(), SystemPreferencesForm\getForm(), SystemBlockForm\getForm(), XoopsUser\getGroups(), Xoops\Module\Helper\getHelper(), Xoops\Auth\AuthAbstract\getHtmlErrors(), SystemExtension\getInstalledExtensions(), SystemModule\getInstalledModules(), Xoops\Module\Helper\HelperAbstract\getInstance(), Notifications\getItem(), XoopsEditorHandler\getList(), ImagesCategoryHandler\getListByPermission(), XoopsTheme\getLocalizationAssets(), SystemModule\getModuleList(), MenusDynamicDecorator\getModuleMenus(), UserconfigsModulesForm\getModulesForm(), XoopsBlock\getOptions(), Xoops\Module\Plugin\getPlugins(), QrcodeProvider\getQRUrl(), XoopsMySQLDatabase\getRowsNum(), SearchSearchForm\getSearchFrom(), Xoops\Core\HttpRequest\getSubdomains(), Notifications\getTags(), SystemModule\getTemplate(), XoopsMailer\getTemplatePath(), Xoops_Locale\getThemeClassFromDirname(), ThumbsProvider\getThumbnailUrl(), XoopsUserUtility\getUnameFromId(), XoopsUserUtility\getUnameFromIds(), Xoops\Core\Assets\getUrlToAssets(), AvatarsProvider\getUserById(), GravatarsProvider\getUserById(), Xoops_Locale\getUserLocales(), xoopslists\getUserRankList(), Xoops\Auth\Provisioning\getXoopsUser(), XoopsGuiDefault\header(), XoopsUser\incrementPost(), Xoops\Core\Kernel\Dtype\DtypeAbstract\init(), Xmf\Module\Cache\init(), Xmf\Module\Permission\init(), TinyMCE\init(), Notifications\insertModuleRelations(), Comments\insertModuleRelations(), SystemModule\install(), install_acceptUser(), SystemModule\installBlocks(), SystemModule\installconfigs(), SystemModule\installTemplates(), XoopsCaptcha\isActive(), XoopsUser\isOnline(), MytsImage\load(), MytsTextfilter\load(), MytsCensor\load(), Xoops\Core\Yaml\load(), XoopsLoad\loadConfig(), TinyMCE\loadCss(), Xoops\Core\Kernel\XoopsObject\loadFilters(), Xoops_Locale\loadLanguage(), System\loadLanguage(), Xoops_Locale\loadLocale(), Xoops_Locale\loadMailerLocale(), loadModuleAdminMenu(), Xmf\Database\TableLoad\loadTableFromArray(), Xoops_Locale\loadThemeLocale(), Xoops\Core\Yaml\loadWrapped(), Xoops\Core\Service\Manager\locate(), menus_block_show(), menus_mainmenu_show(), mod_clearFile(), mod_clearSmartyCache(), mod_createFile(), mod_fetchConfig(), mod_generateCacheId_byGroup(), mod_isModuleAction(), mod_loadConfig(), mod_loadFile(), mod_loadFunctions(), mod_loadRenderer(), mod_message(), Smarty_Resource_Module\moduleTplInfo(), Xoops\Core\Database\Connection\query(), XoopsUser\rank(), Xoops\Core\Yaml\read(), Xoops\Core\Assets\readAssetsPrefs(), Xoops\Core\Service\Manager\readProviderPrefs(), Xoops\Core\Yaml\readWrapped(), Xoops\Core\Service\Manager\readYamlProviderPrefs(), Xoops\Core\Assets\registerAssetReference(), Xoops\Form\ColorPicker\render(), Xoops\Form\DateSelect\render(), Xoops\Form\TabTray\render(), Xoops\Form\ThemeForm\render(), SystemBreadcrumb\render(), SystemMenuHandler\render(), Xoops\Form\GroupPermissionForm\render(), Xoops\Form\DhtmlTextArea\render(), DebugbarLogger\render(), XoopsTheme\render(), Xoops\Module\Admin\renderAbout(), Xoops\Module\Admin\renderBreadcrumb(), Xoops\Module\Admin\renderButton(), XoopsPageNav\renderImageNav(), Xoops\Module\Admin\renderIndex(), Xoops\Module\Admin\renderInfoBox(), XoopsPageNav\renderNav(), Xoops\Module\Admin\renderNavigation(), Xoops\Core\Kernel\CriteriaCompo\renderQb(), Xoops\Core\Kernel\Criteria\renderQb(), XoopsPageNav\renderSelect(), Xoops\Module\Admin\renderTips(), Comments\renderView(), HtmlToPdfProvider\resetPdf(), Xmf\Database\TableLoad\rowCount(), Xoops\Core\Yaml\save(), Xoops\Core\Assets\saveAssetsPrefs(), Xoops\Core\Service\Manager\saveProviderPrefs(), Xoops\Core\Yaml\saveWrapped(), XoopsMailer\send(), XoopsMailer\sendPM(), XoopsUserUtility\sendWelcome(), XoopsTpl\setCompileId(), Xoops\Core\Events\setPreloads(), XoopsMailer\setTemplateDir(), XoopsMailer\setToEmails(), XoopsMailer\setToGroups(), simpleHeader(), smarty_block_assets(), smarty_compiler_xoAdminIcons(), smarty_compiler_xoAdminNav(), smarty_compiler_xoAppUrl(), smarty_compiler_xoImgUrl(), smarty_compiler_xoModuleIcons16(), smarty_compiler_xoModuleIcons32(), smarty_compiler_xoModuleIconsBookmarks(), smarty_function_xoblock(), smarty_function_xoInboxCount(), smarty_function_xoMemberInfo(), smarty_function_xoops_link(), smarty_function_xoPageNav(), MenusDefaultDecorator\start(), Xmf\Debug\startTimer(), Xoops\Core\Database\Logging\XoopsDebugStack\stopQuery(), Xmf\Debug\stopTimer(), UserconfigsMenusPlugin\subMenus(), NotificationsNotificationHandler\subscribe(), synchronize(), system_AdminIcons(), system_adminVersion(), system_loadLanguage(), system_loadTemplate(), Xmf\Database\TableLoad\truncateTable(), SystemModule\uninstall(), NotificationsNotificationHandler\unsubscribe(), SystemModule\update(), XoopsUserUtility\validate(), Xoops\Core\Security\validateToken(), XoopsCaptcha\verify(), XcaptchaRecaptcha\VerifyData(), CommentsSystemPlugin\waiting(), XoopsTheme\xoInit(), xoops_cp_footer(), xoops_cp_header(), xoops_getHandler(), xoops_module_install_comments(), xoops_module_install_debugbar(), xoops_module_install_notifications(), xoops_module_install_smilies(), xoops_module_install_system(), xoops_module_install_userrank(), xoops_module_pre_uninstall_comments(), xoops_module_pre_uninstall_notifications(), xoops_module_update_search(), xoops_module_update_system(), and MonologLogger\xoopsDataProcessor().
Xoops::getMailer | ( | ) |
Get Mailer
Definition at line 1632 of file Xoops.php.
References Xoops_Locale\loadMailerLocale().
Xoops::getModuleByDirname | ( | $dirname | ) |
string | $dirname | dirname of the module |
Definition at line 1178 of file Xoops.php.
References $dirname, $module, cache(), and getHandlerModule().
Referenced by getModuleConfigs().
Xoops::getModuleById | ( | $id | ) |
Get Module By Id
int | $id | Id of the module |
Definition at line 1195 of file Xoops.php.
References $id, $module, cache(), and getHandlerModule().
Referenced by templateClearModuleCache().
Xoops::getModuleConfig | ( | $key, | |
$dirname = '' |
|||
) |
getModuleConfig
string | $key | config name |
string | $dirname | module directory |
Definition at line 1812 of file Xoops.php.
References $dirname, getModuleConfigs(), and isModule().
Referenced by getConfig().
Xoops::getModuleConfigs | ( | $dirname = '' | ) |
Get Module Configs
string | $dirname |
Definition at line 1838 of file Xoops.php.
References $configs, $dirname, $module, cache(), getHandlerConfig(), getModuleByDirname(), and isModule().
Referenced by getConfigs(), and getModuleConfig().
Xoops::getModuleForm | ( | $obj, | |
$name, | |||
$module_dir = null |
|||
) |
XoopsObject | $obj | |
string | $name | |
string | $module_dir |
Definition at line 1021 of file Xoops.php.
References $name, XoopsLoad\fileExists(), XoopsBaseConfig\get(), and isModule().
Xoops::getModuleHandler | ( | $name = null , |
|
$module_dir = null , |
|||
$optional = false |
|||
) |
string | null | $name | |
string | null | $module_dir | |
bool | $optional |
Definition at line 980 of file Xoops.php.
References $name, db(), XoopsLoad\fileExists(), and XoopsBaseConfig\get().
Xoops::getModuleHelper | ( | $dirname | ) |
Xoops::getOption | ( | $key | ) |
Xoops::getRank | ( | $rank_id = 0 , |
|
$posts = 0 |
|||
) |
Xoops::getTplInfo | ( | $tpl_name | ) |
Gets module, type and file from a tpl name
string | $tpl_name | in form type:module/filename.tpl |
Definition at line 555 of file Xoops.php.
References $i, $info, $tpl_name, events(), isAdminSide, and isModule().
Referenced by theme().
Xoops::getUserGroups | ( | ) |
Xoops::getUserTimestamp | ( | $time, | |
$timeoffset = '' |
|||
) |
Get User Timestamp
mixed | $time | |
string | $timeoffset |
Definition at line 1378 of file Xoops.php.
References getConfig(), and isUser().
Xoops::gzipCompression | ( | ) |
Start gzipCompression output buffer
Disable gzip compression if PHP is run under CLI mode and needs refactored to work correctly
Definition at line 480 of file Xoops.php.
References $_SERVER, getConfig(), and setConfig().
Xoops::header | ( | $tpl_name = null | ) |
Render Header
string | null | $tpl_name |
Definition at line 606 of file Xoops.php.
References $tpl_name, deprecated(), events(), exit, XoopsBaseConfig\get(), getConfig(), isAdminSide, isModule(), option, path(), theme(), and tpl().
Referenced by footer(), and simpleHeader().
Xoops::isActiveModule | ( | $dirname | ) |
Checks is module is installed and active
string | $dirname | module directory |
Definition at line 1165 of file Xoops.php.
References $dirname, and getActiveModules().
Xoops::isAdmin | ( | ) |
Check if user is admin
Definition at line 732 of file Xoops.php.
References $userIsAdmin.
Xoops::isModule | ( | ) |
Check if a module is set
Definition at line 712 of file Xoops.php.
Referenced by addConfigs(), appendConfig(), disableModuleCache(), getModuleConfig(), getModuleConfigs(), getModuleForm(), getTplInfo(), header(), redirect(), and setConfig().
Xoops::isUser | ( | ) |
Check if a user is set
Definition at line 722 of file Xoops.php.
Referenced by getUserGroups(), getUserTimestamp(), and Xoops\Module\Helper\HelperAbstract\isUserAdmin().
Xoops::loadLanguage | ( | $name, | |
$domain = '' , |
|||
$language = null |
|||
) |
XOOPS language loader wrapper Temporary solution, not encouraged to use
string | $name | Name of language file to be loaded, without extension |
mixed | $domain | string: Module dirname; global language file will be loaded if $domain is set to 'global' or not specified array: example; array('Frameworks/moduleclasses/moduleadmin') |
string | $language | Language to be loaded, current language content will be loaded if not specified |
Definition at line 1070 of file Xoops.php.
References $file, $language, $name, $path, XoopsLoad\fileExists(), Xoops_Locale_Abstract\getLegacyLanguage(), and path().
|
static |
loadLocale
string | $domain | Module dirname; global language file will be loaded if set to 'global' or not specified |
string | $locale | Locale to be loaded, current language content will be loaded if not specified |
Definition at line 1102 of file Xoops.php.
References Xoops_Locale\loadLocale().
Xoops::logger | ( | ) |
get the system logger instance
Definition at line 203 of file Xoops.php.
Referenced by deprecated(), getHandler(), and pathExists().
Xoops::normalizePath | ( | $path | ) |
Xoops::path | ( | $url, | |
$virtual = false |
|||
) |
Convert a XOOPS path to a physical one
string | $url | |
bool | $virtual |
Definition at line 377 of file Xoops.php.
References $path, $root, $url, XoopsBaseConfig\get(), and normalizePath().
Referenced by header(), loadLanguage(), simpleHeader(), and url().
Xoops::pathExists | ( | $path, | |
$error_type | |||
) |
Check if a path exists
string | $path | |
string | $error_type |
Definition at line 459 of file Xoops.php.
References $path, XoopsLocaleEn_US\E_FILE_NOT_FOUND, XoopsLoad\fileExists(), logger(), and WARNING.
Xoops::pathTranslation | ( | ) |
Translate a path
*#@+ Host abstraction layer
User Mulitbytes
Definition at line 502 of file Xoops.php.
References $_SERVER.
Referenced by __construct().
Xoops::preload | ( | ) |
Deprecated - use events() instead
Definition at line 224 of file Xoops.php.
References events().
Function to redirect a user to certain pages
string | $url | |
int | $time | |
string | $message | |
bool | $addredirect | |
bool | $allowExternalLink |
Definition at line 1503 of file Xoops.php.
References $_SERVER, $theme, $url, $xoops_url, XoopsLocaleEn_US\E_TAKING_YOU_BACK, events(), exit, XoopsLocaleEn_US\F_IF_PAGE_NOT_RELOAD_CLICK_HERE, XoopsBaseConfig\get(), getConfig(), getCss(), isModule(), setTheme(), setTpl(), theme(), and tpl().
Xoops::registry | ( | ) |
Xoops::security | ( | ) |
get security instance
Definition at line 278 of file Xoops.php.
Referenced by confirm().
Xoops::service | ( | $service | ) |
get the service manager
string | $service | - service name |
Definition at line 250 of file Xoops.php.
Referenced by Xoops\Core\Service\Provider\__construct(), and Xoops\Core\Service\Provider\register().
Xoops::session | ( | ) |
Get the session manager
Definition at line 898 of file Xoops.php.
References $sessionManager.
Referenced by Xoops\Core\Session\SessionUser\__construct(), Xoops\Core\Session\SessionUser\checkConfirmed(), Xoops\Core\Session\SessionUser\recordUserLogout(), Xoops\Core\Session\SessionUser\setConfirmed(), and Xoops\Core\Session\SessionUser\setNeedsConfirmed().
Xoops::setActiveModules | ( | ) |
Write active modules to cache file
Definition at line 1146 of file Xoops.php.
References $module, $module_handler, $modules_active, $modules_array, cache(), and getHandlerModule().
Referenced by getActiveModules().
Xoops::setConfig | ( | $key, | |
$value = null , |
|||
$dirname = 'system' |
|||
) |
Set Config Value
string | $key | |
mixed | $value | |
string | $dirname |
Definition at line 1765 of file Xoops.php.
References $dirname, and isModule().
Referenced by gzipCompression(), and themeSelect().
Xoops::setOption | ( | $key, | |
$value = null |
|||
) |
Xoops::setTheme | ( | XoopsTheme | $theme | ) |
set theme
XoopsTheme | $theme | theme |
Definition at line 364 of file Xoops.php.
References $theme, and theme().
Referenced by redirect(), and theme().
Xoops::setTpl | ( | XoopsTpl | $tpl | ) |
Xoops::simpleFooter | ( | ) |
Xoops::simpleHeader | ( | $closehead = true | ) |
Render Simple Header
bool | $closehead |
Definition at line 1212 of file Xoops.php.
References $xoops, $xoops_url, events(), XoopsLoad\fileExists(), XoopsBaseConfig\get(), Xoops_Locale_Abstract\getCharset(), getConfig(), getConfigs(), getCss(), getInstance(), Xoops_Locale_Abstract\getLangCode(), header(), path(), theme(), and url().
Xoops::templateClearModuleCache | ( | $mid | ) |
Xoops::templateTouch | ( | $tpl_id | ) |
Xoops::theme | ( | $tpl_name = null | ) |
null | string | $tpl_name | base template |
Definition at line 314 of file Xoops.php.
References $GLOBALS, $theme, $tpl_name, getConfig(), getTplInfo(), isAdminSide, and setTheme().
Referenced by footer(), header(), redirect(), setTheme(), and simpleHeader().
Xoops::themeSelect | ( | ) |
Select Theme
Definition at line 534 of file Xoops.php.
References $_SESSION, getConfig(), and setConfig().
Xoops::tpl | ( | ) |
Xoops::translate | ( | $key, | |
$dirname = 'xoops' |
|||
) |
Translate a key value
string | $key | |
string | $dirname |
Definition at line 1115 of file Xoops.php.
References $dirname, and Xoops_Locale\translate().
Xoops::url | ( | $url | ) |
Convert a XOOPS path to an URL
string | $url |
Definition at line 418 of file Xoops.php.
Referenced by simpleHeader().
Xoops::userTimeToServerTime | ( | $timestamp, | |
$userTZ = null |
|||
) |
Function to calculate server timestamp from user entered time (timestamp)
int | $timestamp | |
null | $userTZ |
Definition at line 1399 of file Xoops.php.
References getConfig().
|
private |
Definition at line 106 of file Xoops.php.
Referenced by getActiveModules().
Xoops::$config = array() |
Definition at line 43 of file Xoops.php.
Referenced by Xoops\Core\Database\Connection\__construct(), and Xoops\Core\Database\Factory\getConnection().
Xoops::$module = null |
Definition at line 38 of file Xoops.php.
Referenced by getModuleByDirname(), getModuleById(), getModuleConfigs(), setActiveModules(), Xoops\Core\Events\setPreloads(), templateClearModuleCache(), and templateTouch().
Xoops::$option = array() |
Definition at line 68 of file Xoops.php.
Referenced by Xoops\Form\Radio\getOptions(), and Xoops\Form\GroupFormCheckbox\renderOptionTree().
Xoops::$paths |
|
private |
Definition at line 78 of file Xoops.php.
Referenced by getCss(), redirect(), setTheme(), and theme().
|
private |
Xoops::$tpl_name = '' |
Xoops::$user = '' |
Definition at line 58 of file Xoops.php.
Referenced by Xoops\Core\Session\SessionUser\addUserToSession(), and Xoops\Auth\Xoops\authenticate().
const Xoops::VERSION = 'XOOPS 2.6.0-Alpha 3' |
Definition at line 28 of file Xoops.php.
Referenced by XoopsTpl\__construct(), Xmf\Template\Feed\init(), and Xoops\Module\Admin\renderIndex().