Overview

Namespaces

  • None
  • Xmf
    • Database
    • Module
      • Helper
    • Template
  • Xoops
    • Auth
    • Core
      • Cache
      • Database
        • Logging
        • Schema
      • Exception
      • Handler
        • Scheme
      • Kernel
        • Dtype
        • Handlers
        • Model
      • Lists
      • Locale
        • Punic
      • Service
        • Contract
      • Session
      • Text
        • Sanitizer
          • Extensions
      • Theme
        • Plugins
    • Form
    • Html
    • Locale
    • Module
      • Helper
      • Plugin

Classes

  • ArtObject
  • ArtObjectHandler
  • Avatars
  • AvatarsAvatar
  • AvatarsAvatar_userForm
  • AvatarsAvatarForm
  • AvatarsAvatarHandler
  • AvatarsLocale
  • AvatarsLocaleEn_US
  • AvatarsPreload
  • AvatarsProvider
  • AvatarsUserlink
  • AvatarsUserlinkHandler
  • AwesomeButton
  • BannerRender
  • Banners
  • BannersBanner
  • BannersBannerclient
  • BannersBannerclientForm
  • BannersBannerclientHandler
  • BannersBannerForm
  • BannersBannerHandler
  • BannersPreload
  • BloggerApi
  • CodexMenusPlugin
  • CodexSearchPlugin
  • CodexSystemPlugin
  • CodexUserconfigsPlugin
  • Comments
  • CommentsComment
  • CommentsCommentForm
  • CommentsCommentHandler
  • CommentsCommentRenderer
  • CommentsPreload
  • CommentsSystemPlugin
  • CommentsUserconfigsPlugin
  • Cookie
  • CountryFlagProvider
  • Criteria
  • CriteriaCompo
  • CriteriaElement
  • DebugbarLogger
  • DebugbarPreload
  • DebugbarUserconfigsPlugin
  • DefaultThemeLocale
  • DefaultThemeLocaleEn_US
  • FormDhtmlTextArea
  • FormTextArea
  • GravatarsPreload
  • GravatarsProvider
  • htmLawed
  • HtmlToPdfProvider
  • imageLib
  • Images
  • ImagesCategory
  • ImagesCategory_imagemanagerForm
  • ImagesCategoryForm
  • ImagesCategoryHandler
  • ImagesCategoryselectForm
  • ImagesImage
  • ImagesImage_Body
  • ImagesImage_imagemanagerForm
  • ImagesImagebody
  • ImagesImagebodyHandler
  • ImagesImageForm
  • ImagesImageHandler
  • ImagesPreload
  • JUpload
  • LegacyLogger
  • LoggerPreload
  • LoggerUserconfigsPlugin
  • Maintenance
  • MaintenanceMaintenanceForm
  • Menus
  • MenusBuilder
  • MenusConstantDecorator
  • MenusDecorator
  • MenusDecoratorAbstract
  • MenusDefaultDecorator
  • MenusDynamicDecorator
  • MenusMenu
  • MenusMenuHandler
  • MenusMenus
  • MenusMenus_menuForm
  • MenusMenus_menusForm
  • MenusMenusHandler
  • MenusPreload
  • MenusSmartyDecorator
  • MetaWeblogApi
  • MonologLogger
  • MonologPreload
  • MonologUserconfigsPlugin
  • MovableTypeApi
  • MyTextSanitizer
  • MyTextSanitizerExtended
  • Notifications
  • NotificationsNotification
  • NotificationsNotificationHandler
  • NotificationsPreload
  • NotificationsSystemPlugin
  • Page
  • PageCommentsPlugin
  • PageGroupPermHandler
  • PageLocale
  • PageLocaleEn_US
  • PageNotificationsPlugin
  • PagePage_content
  • PagePage_contentForm
  • PagePage_contentHandler
  • PagePage_rating
  • PagePage_ratingHandler
  • PagePage_related
  • PagePage_related_link
  • PagePage_related_linkHandler
  • PagePage_relatedForm
  • PagePage_relatedHandler
  • PagePreload
  • PageSearchPlugin
  • PageSystemPlugin
  • PdfPreload
  • PmMessage
  • PmMessageHandler
  • PmPreload
  • ProfileCategory
  • ProfileCategoryForm
  • ProfileCategoryHandler
  • ProfileCorePreload
  • ProfileField
  • ProfileFieldForm
  • ProfileFieldHandler
  • ProfileMenusPlugin
  • ProfileProfile
  • ProfileProfileHandler
  • ProfileRegstep
  • ProfileRegstepForm
  • ProfileRegstepHandler
  • ProfileVisibility
  • ProfileVisibilityHandler
  • Protector
  • protector_bruteforce_overrun_message
  • protector_crawler_overrun_message
  • protector_f5attack_overrun_message
  • protector_postcommon_post_deny_by_httpbl
  • protector_postcommon_post_deny_by_rbl
  • protector_postcommon_post_htmlpurify4everyone
  • protector_postcommon_post_htmlpurify4guest
  • protector_postcommon_post_need_multibyte
  • protector_postcommon_post_register_moratorium
  • protector_postcommon_register_insert_js_check
  • protector_precommon_badip_errorlog
  • protector_precommon_badip_message
  • protector_precommon_badip_redirection
  • protector_precommon_bwlimit_errorlog
  • protector_precommon_bwlimit_message
  • protector_prepurge_exit_message
  • protector_spamcheck_overrun_message
  • ProtectorCenterForm
  • ProtectorCorePreload
  • ProtectorFilterAbstract
  • ProtectorFilterHandler
  • ProtectorMySQLDatabase
  • Publisher
  • PublisherBlockForm
  • PublisherCategory
  • PublisherCategoryForm
  • PublisherCategoryHandler
  • PublisherCommentsPlugin
  • PublisherFile
  • PublisherFileForm
  • PublisherFileHandler
  • PublisherFormDateTime
  • PublisherGroupPermHandler
  • PublisherItem
  • PublisherItemForm
  • PublisherItemHandler
  • PublisherMenusPlugin
  • PublisherMetagen
  • PublisherMimetype
  • PublisherMimetypeHandler
  • PublisherNotificationsPlugin
  • PublisherPermissionHandler
  • PublisherPreload
  • PublisherRating
  • PublisherRatingHandler
  • PublisherSearchPlugin
  • PublisherSystemPlugin
  • PublisherUtils
  • QrcodePreload
  • QrcodeProvider
  • ReCaptchaResponse
  • RpcArrayHandler
  • RpcBase64Handler
  • RpcBooleanHandler
  • RpcDateTimeHandler
  • RpcDoubleHandler
  • RpcIntHandler
  • RpcMemberHandler
  • RpcMethodNameHandler
  • RpcNameHandler
  • RpcStringHandler
  • RpcStructHandler
  • RpcValueHandler
  • RssAuthorHandler
  • RssCategoryHandler
  • RssChannelHandler
  • RssCommentsHandler
  • RssCopyrightHandler
  • RssDescriptionHandler
  • RssDocsHandler
  • RssGeneratorHandler
  • RssGuidHandler
  • RssHeightHandler
  • RssImageHandler
  • RssItemHandler
  • RssLanguageHandler
  • RssLastBuildDateHandler
  • RssLinkHandler
  • RssManagingEditorHandler
  • RssNameHandler
  • RssPubDateHandler
  • RssSourceHandler
  • RssTextInputHandler
  • RssTitleHandler
  • RssTtlHandler
  • RssUrlHandler
  • RssWebMasterHandler
  • RssWidthHandler
  • SaxParser
  • Search
  • SearchPreload
  • SearchSearchForm
  • Smarty_Resource_Admin
  • Smarty_Resource_Block
  • Smarty_Resource_Db
  • Smarty_Resource_Module
  • Smilies
  • SmiliesPreload
  • SmiliesProvider
  • SmiliesSmiley
  • SmiliesSmileyHandler
  • SmiliesSmiliesForm
  • Snoopy
  • SqlUtility
  • System
  • SystemBlockForm
  • SystemBreadcrumb
  • SystemExtension
  • SystemGroupForm
  • SystemLocale
  • SystemLocaleEn_US
  • SystemMenuHandler
  • SystemModule
  • SystemPreferencesForm
  • SystemPreload
  • SystemUserForm
  • tar
  • ThemeSetAuthorHandler
  • ThemeSetDateCreatedHandler
  • ThemeSetDescriptionHandler
  • ThemeSetEmailHandler
  • ThemeSetFileTypeHandler
  • ThemeSetGeneratorHandler
  • ThemeSetImageHandler
  • ThemeSetLinkHandler
  • ThemeSetModuleHandler
  • ThemeSetNameHandler
  • ThemeSetTagHandler
  • ThemeSetTemplateHandler
  • Thumbs
  • ThumbsPreload
  • ThumbsProvider
  • TinyMCE
  • Userconfigs
  • UserconfigsConfigHandler
  • UserconfigsConfigsForm
  • UserconfigsItem
  • UserconfigsItemHandler
  • UserconfigsMenusPlugin
  • UserconfigsModulesForm
  • UserconfigsOption
  • UserconfigsOptionHandler
  • UserconfigsPreload
  • UserconfigsSystemPlugin
  • UserrankPreload
  • UserRankProvider
  • UserrankRank
  • UserrankRankHandler
  • UserrankRanksForm
  • Xcaptcha
  • XcaptchaCaptchaForm
  • XcaptchaImage
  • XcaptchaImageForm
  • XcaptchaRecaptcha
  • XcaptchaRecaptchaForm
  • XcaptchaText
  • XcaptchaTextForm
  • Xlanguage
  • XlanguageLanguage
  • XlanguageLanguageForm
  • XlanguagePreload
  • XlanguageTinymceForm
  • XlanguageXlanguageHandler
  • XmfPreload
  • XmlTagHandler
  • Xoops
  • Xoops_Locale_Mailer_Abstract
  • XoopsAdminThemeFactory
  • XoopsApi
  • XoopsArt
  • XoopsBaseConfig
  • XoopsBlock
  • XoopsBlockHandler
  • XoopsBlockmodulelink
  • XoopsBlockmodulelinkHandler
  • XoopsCache
  • XoopsCaptcha
  • XoopsCaptchaImage
  • XoopsCaptchaImageHandler
  • XoopsCaptchaMethod
  • XoopsCaptchaRecaptcha
  • XoopsCaptchaText
  • XoopsConfigHandler
  • XoopsConfigItem
  • XoopsConfigItemHandler
  • XoopsConfigOption
  • XoopsConfigOptionHandler
  • XoopsDatabase
  • XoopsDatabaseFactory
  • XoopsDatabaseManager
  • XoopsDownloader
  • XoopsEditor
  • XoopsEditorHandler
  • XoopsFile
  • XoopsFileHandler
  • XoopsFilterInput
  • XoopsFolderHandler
  • XoopsForm
  • XoopsFormButton
  • XoopsFormButtonTray
  • XoopsFormCaptcha
  • XoopsFormCheckBox
  • XoopsFormColorPicker
  • XoopsFormDateTime
  • XoopsFormDhtmlTextArea
  • XoopsFormEditor
  • XoopsFormElement
  • XoopsFormElementTray
  • XoopsFormFile
  • XoopsFormHidden
  • XoopsFormHiddenToken
  • XoopsFormLabel
  • XoopsFormPassword
  • XoopsFormRadio
  • XoopsFormRadioYN
  • XoopsFormSelect
  • XoopsFormSelectCheckGroup
  • XoopsFormSelectCountry
  • XoopsFormSelectEditor
  • XoopsFormSelectGroup
  • XoopsFormSelectLang
  • XoopsFormSelectMatchOption
  • XoopsFormSelectTheme
  • XoopsFormSelectTimezone
  • XoopsFormSelectUser
  • XoopsFormText
  • XoopsFormTextArea
  • XoopsFormTextDateSelect
  • XoopsFormTinymce
  • XoopsFormTinymce4
  • XoopsGroup
  • XoopsGroupHandler
  • XoopsGroupPerm
  • XoopsGroupPermForm
  • XoopsGroupPermHandler
  • XoopsGTicket
  • XoopsGuiDefault
  • XoopsInstallWizard
  • XoopsLists
  • XoopsLoad
  • XoopsLocal
  • XoopsLocale
  • XoopsLocaleEn_US
  • XoopsLogger
  • XoopsMailer
  • XoopsMailerLocal
  • XoopsMailerLocale
  • XoopsMediaUploader
  • XoopsMemberHandler
  • XoopsMembership
  • XoopsMembershipHandler
  • XoopsModule
  • XoopsModuleHandler
  • XoopsMultiMailer
  • XoopsMySQLDatabase
  • XoopsMySQLDatabaseProxy
  • XoopsMySQLDatabaseSafe
  • XoopsObject
  • XoopsObjectHandler
  • XoopsObjectTree
  • XoopsOnline
  • XoopsOnlineHandler
  • XoopsPageNav
  • XoopsPathController
  • XoopsPersistableObjectHandler
  • XoopsPreload
  • XoopsPreloadItem
  • XoopsPrivmessage
  • XoopsPrivmessageHandler
  • XoopsRequest
  • XoopsSecurity
  • XoopsSimpleForm
  • XoopsTableForm
  • XoopsTarDownloader
  • XoopsTheme
  • XoopsThemeBlocksPlugin
  • XoopsThemeFactory
  • XoopsThemeForm
  • XoopsThemePlugin
  • XoopsThemeSetParser
  • XoopsTpl
  • XoopsTplfile
  • XoopsTplfileHandler
  • XoopsTplset
  • XoopsTplsetHandler
  • XoopsUser
  • XoopsUserHandler
  • XoopsUserUtility
  • XoopsUtility
  • XoopsXmlRpcApi
  • XoopsXmlRpcArray
  • XoopsXmlRpcBase64
  • XoopsXmlRpcBoolean
  • XoopsXmlRpcDatetime
  • XoopsXmlRpcDocument
  • XoopsXmlRpcDouble
  • XoopsXmlRpcFault
  • XoopsXmlRpcInt
  • XoopsXmlRpcParser
  • XoopsXmlRpcRequest
  • XoopsXmlRpcResponse
  • XoopsXmlRpcString
  • XoopsXmlRpcStruct
  • XoopsXmlRpcTag
  • XoopsXmlRss2Parser
  • XoopsZipDownloader
  • zipfile

Interfaces

  • CommentsPluginInterface
  • MenusDecoratorInterface
  • MenusPluginInterface
  • NotificationsPluginInterface
  • SearchPluginInterface
  • SystemPluginInterface
  • UserconfigsPluginInterface

Functions

  • _changeMimeValue
  • _clearAddSessionVars
  • _clearEditSessionVars
  • _ee
  • _recaptcha_aes_encrypt
  • _recaptcha_aes_pad
  • _recaptcha_http_post
  • _recaptcha_mailhide_email_parts
  • _recaptcha_mailhide_urlbase64
  • _recaptcha_qsencode
  • _tt
  • add
  • addCriteria
  • admin_refcheck
  • b_comments_edit
  • b_comments_show
  • b_notification_show
  • b_search_show
  • b_system_info_edit
  • b_system_info_show
  • b_system_login_show
  • b_system_main_edit
  • b_system_main_show
  • b_system_newmembers_edit
  • b_system_newmembers_show
  • b_system_online_show
  • b_system_themes_edit
  • b_system_themes_show
  • b_system_topposters_edit
  • b_system_topposters_show
  • b_system_user_show
  • b_system_waiting_show
  • b_xlanguage_select_edit
  • b_xlanguage_select_show
  • banners_blocks_edit
  • banners_blocks_show
  • base_url
  • buildRssFeedCache
  • buildTable
  • check_files_extensions_on_path
  • check_files_extensions_on_phar
  • checkEmail
  • clearAddSession
  • clearEditSession
  • config_loading
  • create_folder
  • create_img
  • create_img_gd
  • createConfigform
  • createDir
  • createThemeform
  • dateSort
  • debugger
  • delete
  • deleteDir
  • duplicate_file
  • edit
  • endsWith
  • exception_handler
  • extensionSort
  • file_put_contents
  • filenameSort
  • filescount
  • fix_dirname
  • fix_filename
  • fix_get_params
  • fix_path
  • fix_strtolower
  • fix_strtoupper
  • foldersize
  • formatTimestamp
  • formatURL
  • genPathCheckHtml
  • get_file_by_url
  • get_writeoks_from_protector
  • getBrightness
  • getDbConnection
  • getDbConnectionParams
  • getDirList
  • handle_uploaded_files
  • http_response_code
  • image_check_memory_usage
  • install_acceptUser
  • install_finalize
  • installHtmlSpecialCharacters
  • is_function_callable
  • is_really_writable
  • load_functions
  • load_object
  • load_objectHandler
  • loadModuleAdminMenu
  • makeSize
  • manage
  • menus_block_edit
  • menus_block_show
  • menus_mainmenu_show
  • mod_clearCacheFile
  • mod_clearConfg
  • mod_clearConfig
  • mod_clearFile
  • mod_clearSmartyCache
  • mod_constant
  • mod_createCacheFile
  • mod_createCacheFile_byGroup
  • mod_createFile
  • mod_DB_prefix
  • mod_fetchConfg
  • mod_fetchConfig
  • mod_generateCacheId
  • mod_generateCacheId_byGroup
  • mod_getDirname
  • mod_getMysqlVersion
  • mod_isModuleAction
  • mod_loadCacheFile
  • mod_loadCacheFile_byGroup
  • mod_loadConfg
  • mod_loadConfig
  • mod_loadFile
  • mod_loadFunctions
  • mod_loadRenderer
  • mod_message
  • modify_chmod
  • new_thumbnails_creation
  • normalizeColor
  • page_blocks_edit
  • page_blocks_show
  • profile_getRegisterForm
  • profile_getUserForm
  • profile_install_addCategory
  • profile_install_addField
  • profile_install_addStep
  • profile_install_initializeProfiles
  • profile_install_setPermissions
  • protector_ip_cmp
  • protector_postcheck
  • protector_precheck
  • publisher_category_items_sel_edit
  • publisher_category_items_sel_show
  • publisher_cloneFileFolder
  • publisher_createLogo
  • publisher_date_to_date_edit
  • publisher_date_to_date_show
  • publisher_displayCategory
  • publisher_editCat
  • publisher_editFile
  • publisher_editItem
  • publisher_items_columns_edit
  • publisher_items_columns_show
  • publisher_items_menu_edit
  • publisher_items_menu_show
  • publisher_items_new_edit
  • publisher_items_new_show
  • publisher_items_random_item_show
  • publisher_items_recent_edit
  • publisher_items_recent_show
  • publisher_items_spot_edit
  • publisher_items_spot_show
  • publisher_latest_files_edit
  • publisher_latest_files_show
  • publisher_latest_news_edit
  • publisher_latest_news_show
  • publisher_mk_chkbox
  • publisher_mk_select
  • publisher_pagewrap_upload
  • publisher_search
  • publisher_search_show
  • publisher_tag_iteminfo
  • publisher_tag_synchronization
  • rcopy
  • recaptcha_check_answer
  • recaptcha_get_html
  • recaptcha_get_signup_url
  • recaptcha_mailhide_html
  • recaptcha_mailhide_url
  • redirect_header
  • rename_file
  • rename_folder
  • rrename
  • rrename_after_cleaner
  • search
  • sizeSort
  • smarty_block_assets
  • smarty_block_noshortcodes
  • smarty_compiler_xoAdminIcons
  • smarty_compiler_xoAdminNav
  • smarty_compiler_xoAppUrl
  • smarty_compiler_xoImgUrl
  • smarty_compiler_xoModuleIcons16
  • smarty_compiler_xoModuleIcons32
  • smarty_compiler_xoModuleIconsBookmarks
  • smarty_function_addBaseScript
  • smarty_function_addBaseStylesheet
  • smarty_function_securityToken
  • smarty_function_thumbnail
  • smarty_function_translate
  • smarty_function_translateTheme
  • smarty_function_xoblock
  • smarty_function_xoInboxCount
  • smarty_function_xoMemberInfo
  • smarty_function_xoops_link
  • smarty_function_xoPageNav
  • smarty_modifier_datetime
  • smarty_modifier_debug_print_var
  • smarty_outputfilter_shortcodes
  • synchronize
  • system_AdminIcons
  • system_adminVersion
  • system_cleanVars
  • system_loadLanguage
  • system_loadTemplate
  • updateMimeValue
  • userTimeToServerTime
  • xhtmlspecialchars
  • xlanguage_convert_encoding
  • xlanguage_convert_item
  • xlanguage_copyfile
  • xlanguage_detectLang
  • xlanguage_encoding
  • xlanguage_lang_detect
  • xlanguage_mkdirs
  • xlanguage_ml
  • xlanguage_ml_escape_bracket
  • xlanguage_select_show
  • xoBoolField
  • xoDiag
  • xoDiagBoolSetting
  • xoDiagIfWritable
  • xoFormField
  • xoops_comment_count
  • xoops_comment_delete
  • xoops_confirm
  • xoops_convert_encoding
  • xoops_cp_footer
  • xoops_cp_header
  • xoops_error
  • xoops_footer
  • xoops_getActiveModules
  • xoops_getbanner
  • xoops_getBaseDomain
  • xoops_getConfigOption
  • xoops_getcss
  • xoops_getenv
  • xoops_getHandler
  • xoops_getMailer
  • xoops_getModuleHandler
  • xoops_getModuleOption
  • xoops_getOption
  • xoops_getrank
  • xoops_getUrlDomain
  • xoops_getUserTimestamp
  • xoops_groupperm_deletebymoditem
  • xoops_header
  • xoops_isActiveModule
  • xoops_load
  • xoops_loadLanguage
  • xoops_makepass
  • xoops_message
  • xoops_module_install_avatars
  • xoops_module_install_banners
  • xoops_module_install_comments
  • xoops_module_install_debugbar
  • xoops_module_install_notifications
  • xoops_module_install_page
  • xoops_module_install_pm
  • xoops_module_install_profile
  • xoops_module_install_publisher
  • xoops_module_install_smilies
  • xoops_module_install_system
  • xoops_module_install_userrank
  • xoops_module_install_xlanguage
  • xoops_module_pre_uninstall_comments
  • xoops_module_pre_uninstall_notifications
  • xoops_module_update_comments
  • xoops_module_update_debugbar
  • xoops_module_update_notifications
  • xoops_module_update_pm
  • xoops_module_update_profile
  • xoops_module_update_publisher
  • xoops_module_update_search
  • xoops_module_update_system
  • xoops_module_update_xlanguage
  • xoops_notification_deletebyitem
  • xoops_notification_deletebymodule
  • xoops_notification_deletebyuser
  • xoops_result
  • xoops_setActiveModules
  • xoops_setConfigOption
  • xoops_substr
  • xoops_template_clear_module_cache
  • xoops_template_touch
  • xoops_trim
  • xoops_utf8_encode
  • xoopseditor_get_rootpath
  • xoPassField
  • xoPhpVersion
  • Overview
  • Namespace
  • Class
  • Tree

Class Xoops

XOOPS

Package: Xoops
Category: Xoops
Copyright: 2011-2015 XOOPS Project (http://xoops.org)
License: GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
Author: trabis lusopoemas@gmail.com
Author: formuss
Author: Richard Griffith richard@geekwright.com
Link: http://xoops.org
Located at oops_lib/Xoops.php
Methods summary
public static Xoops
# getInstance( )

Access the only instance of this class

Access the only instance of this class

Returns

Xoops
public Xoops\Core\Database\Connection
# db( )

get database connection instance

get database connection instance

Returns

Xoops\Core\Database\Connection
public Xoops\Core\Cache\Access
# cache( string $cacheName = 'default' )

get a \Xoops\Core\Cache\Access object for a named cache

get a \Xoops\Core\Cache\Access object for a named cache

Parameters

$cacheName
a named cached pool

Returns

Xoops\Core\Cache\Access
public Xoops\Core\Logger
# logger( )

get the system logger instance

get the system logger instance

Returns

Xoops\Core\Logger
public Xoops\Core\Events
# events( )

get the event processor

get the event processor

Returns

Xoops\Core\Events
instance
public Xoops\Core\Assets
# assets( )

get the asset utility

get the asset utility

Returns

Xoops\Core\Assets
instance
public Xoops\Core\Service\Provider
# service( string $service )

get the service manager

get the service manager

Parameters

$service
  • service name

Returns

Xoops\Core\Service\Provider
instance
public Xoops\Core\Registry
# registry( )

provide a common registry instance

provide a common registry instance

Returns

Xoops\Core\Registry
public XoopsSecurity
# security( )

get security instance

get security instance

Returns

XoopsSecurity
public null|XoopsTpl
# tpl( )

get current template engine

get current template engine

Returns

null|XoopsTpl
public XoopsTpl
# setTpl( Xoops\Core\XoopsTpl $tpl )

set current template engine

set current template engine

Parameters

$tpl
template engine

Returns

XoopsTpl
public null|XoopsTheme
# theme( null|string $tpl_name = null )

establish the theme

establish the theme

Parameters

$tpl_name
base template

Returns

null|XoopsTheme
public XoopsTheme
# setTheme( Xoops\Core\Theme\XoopsTheme $theme )

set theme

set theme

Parameters

$theme
theme

Returns

XoopsTheme
public string
# path( string $url, boolean $virtual = false )

Convert a XOOPS path to a physical one

Convert a XOOPS path to a physical one

Parameters

$url
url to derive path from
$virtual
virtual

Returns

string
public string
# normalizePath( string $path )

Convert path separators to unix style

Convert path separators to unix style

Parameters

$path
path to normalize

Returns

string
normalized path
public string
# url( string $url )

Convert a XOOPS path to an URL

Convert a XOOPS path to an URL

Parameters

$url
path (or url)

Returns

string
public string
# buildUrl( string $url, array $params = array() )

Build an URL with the specified request params

Build an URL with the specified request params

Parameters

$url
base url
$params
parameters to add to the url

Returns

string
public string|false
# pathExists( string $path, string $error_type )

Check if a path exists

Check if a path exists

Parameters

$path
filesystem path
$error_type
error level i.e. Psr\Log\LogLevel

Returns

string|false
public
# gzipCompression( )

Start gzipCompression output buffer

Start gzipCompression output buffer

public
# pathTranslation( )

Translate a path

Translate a path

public
# themeSelect( )

Select Theme

Select Theme

public array|false
# getTplInfo( string $tpl_name )

Gets module, type and file from a tpl name

Gets module, type and file from a tpl name

Parameters

$tpl_name
in form type:module/filename.tpl

Returns

array|false

associative array of 'tpl_name', 'type', 'module', 'file' or false on error

public null|boolean
# header( string|null $tpl_name = null )

Render Header

Render Header

Parameters

$tpl_name
template name

Returns

null|boolean
public false|null
# footer( )

Render Footer

Render Footer

Returns

false|null
public boolean
# isModule( )

Check if a module is set

Check if a module is set

Returns

boolean
public boolean
# isUser( )

Check if a user is set

Check if a user is set

Returns

boolean
public boolean
# isAdmin( )

Check if user is admin

Check if user is admin

Returns

boolean
public Xoops\Core\Kernel\Handlers\XoopsBlockHandler
# getHandlerBlock( boolean $optional = false )

Get handler of Block

Get handler of Block

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsBlockHandler
public Xoops\Core\Kernel\Handlers\XoopsBlockModuleLinkHandler
# getHandlerBlockModuleLink( boolean $optional = false )

Get handler of Block Module Link

Get handler of Block Module Link

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsBlockModuleLinkHandler
public Xoops\Core\Kernel\Handlers\XoopsConfigHandler
# getHandlerConfig( boolean $optional = false )

Get handler of Config

Get handler of Config

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsConfigHandler
public Xoops\Core\Kernel\Handlers\XoopsConfigItemHandler
# getHandlerConfigItem( boolean $optional = false )

Get handler of Config Item

Get handler of Config Item

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsConfigItemHandler
public Xoops\Core\Kernel\Handlers\XoopsConfigOptionHandler
# getHandlerConfigOption( boolean $optional = false )

Get handler of Config Option

Get handler of Config Option

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsConfigOptionHandler
public Xoops\Core\Kernel\Handlers\XoopsGroupHandler
# getHandlerGroup( boolean $optional = false )

Get handler of Group

Get handler of Group

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsGroupHandler
public Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler
# getHandlerGroupPermission( boolean $optional = false )

Get handler of Group Permission

Get handler of Group Permission

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler
public Xoops\Core\Kernel\Handlers\XoopsMemberHandler
# getHandlerMember( boolean $optional = false )

Get handler of Member

Get handler of Member

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsMemberHandler
public Xoops\Core\Kernel\Handlers\XoopsMembershipHandler
# getHandlerMembership( boolean $optional = false )

Get handler of Membership

Get handler of Membership

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsMembershipHandler
public Xoops\Core\Kernel\Handlers\XoopsModuleHandler
# getHandlerModule( boolean $optional = false )

Get handler of Module

Get handler of Module

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsModuleHandler
public Xoops\Core\Kernel\Handlers\XoopsOnlineHandler
# getHandlerOnline( boolean $optional = false )

Get handler of Online

Get handler of Online

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsOnlineHandler
public Xoops\Core\Kernel\Handlers\XoopsPrivateMessageHandler
# getHandlerPrivateMessage( boolean $optional = false )

Get handler of Private Message

Get handler of Private Message

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsPrivateMessageHandler
public Xoops\Core\Session\Manager
# session( )

Get the session manager

Get the session manager

Returns

Xoops\Core\Session\Manager
public Xoops\Core\Kernel\Handlers\XoopsTplFileHandler
# getHandlerTplFile( boolean $optional = false )

Get handler of Template File

Get handler of Template File

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsTplFileHandler
public Xoops\Core\Kernel\Handlers\XoopsTplSetHandler
# getHandlerTplSet( boolean $optional = false )

Get handler of Template Set

Get handler of Template Set

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsTplSetHandler
public Xoops\Core\Kernel\Handlers\XoopsUserHandler
# getHandlerUser( boolean $optional = false )

Get handler of User

Get handler of User

Parameters

$optional
true if failure to load handler should be considered a warning, not an error

Returns

Xoops\Core\Kernel\Handlers\XoopsUserHandler
protected XoopsObjectHandler|XoopsPersistableObjectHandler|null
# getHandler( string $name, boolean $optional = false )

Get handler

Get handler

Parameters

$name
name of handler
$optional
true if failure to load handler should be considered a warning, not an error

Returns

XoopsObjectHandler|XoopsPersistableObjectHandler|null
public XoopsObjectHandler|XoopsPersistableObjectHandler|boolean
# getModuleHandler( string|null $name = null, string|null $module_dir = null, boolean $optional = false )

Get Module Handler

Get Module Handler

Parameters

$name
name of handler
$module_dir
dirname of module
$optional
true if failure to load handler should be considered a warning, not an error

Returns

XoopsObjectHandler|XoopsPersistableObjectHandler|boolean
public Xoops\Form\Form|boolean
# getModuleForm( XoopsObject $obj, string $name, string $module_dir = null )

Get Module Form

Get Module Form

Parameters

$obj
object to populate form
$name
name of form
$module_dir
dirname of associated module

Returns

Xoops\Form\Form|boolean
public static boolean|Xoops\Module\Helper\HelperAbstract
# getModuleHelper( string $dirname )

Get Module Helper

Get Module Helper

Parameters

$dirname
dirname of module

Returns

boolean|Xoops\Module\Helper\HelperAbstract
public boolean
# loadLanguage( string $name, mixed $domain = '', string $language = null )

XOOPS language loader wrapper Temporary solution, not encouraged to use

XOOPS language loader wrapper Temporary solution, not encouraged to use

Parameters

$name
Name of language file to be loaded, without extension
$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')

$language
Language to be loaded, current language content will be loaded if not specified

Returns

boolean
public static boolean
# loadLocale( string $domain = null, string $locale = null )

loadLocale

loadLocale

Parameters

$domain
Module dirname; global language file will be loaded if set to 'global' or not specified
$locale
Locale to be loaded, current language content will be loaded if not specified

Returns

boolean
public string
# translate( string $key, string $dirname = 'xoops' )

Translate a key value

Translate a key value

Parameters

$key
constant name
$dirname
dirname of module (domain)

Returns

string
public array
# getActiveModules( )

Get active modules from cache file

Get active modules from cache file

Returns

array
public array
# setActiveModules( )

Write active modules to cache file

Write active modules to cache file

Returns

array
public boolean
# isActiveModule( string $dirname )

Checks is module is installed and active

Checks is module is installed and active

Parameters

$dirname
module directory

Returns

boolean
public boolean|XoopsModule
# getModuleByDirname( string $dirname )

get module object from module name (dirname)

get module object from module name (dirname)

Parameters

$dirname
dirname of the module

Returns

boolean|XoopsModule
public boolean|XoopsModule
# getModuleById( integer $id )

Get Module By Id

Get Module By Id

Parameters

$id
Id of the module

Returns

boolean|XoopsModule
public
# simpleHeader( boolean $closehead = true )

Render Simple Header

Render Simple Header

Parameters

$closehead
true to close the HTML head element
public
# simpleFooter( )

Render simpleFooter

Render simpleFooter

public string
# alert( string $type, mixed $msg, string $title = '/' )

render an alert message to a string

render an alert message to a string

Parameters

$type
alert type, one of 'info', 'error', 'success' or 'warning'
$msg
string or array of strings
$title
title for alert

Returns

string
public string
# confirm( array $hiddens, string $action, string $msg, string $submit = '', boolean $addtoken = true )

Render a confirmation form to a string

Render a confirmation form to a string

Parameters

$hiddens
associative array of values used to complete confirmed action
$action
form action (URL)
$msg
message to display
$submit
submit button message
$addtoken
true to add CSRF token

Returns

string
rendered confirm message
public integer
# getUserTimestamp( DateTime|integer $time )

Get User Timestamp (kind of pointless, since timestamps are UTC?)

Get User Timestamp (kind of pointless, since timestamps are UTC?)

Parameters

$time
DateTime object or unix timestamp

Returns

integer
unix timestamp
public integer
# userTimeToServerTime( integer $timestamp, null $userTZ = null )

Function to calculate server timestamp from user entered time (timestamp)

Function to calculate server timestamp from user entered time (timestamp)

Parameters

$timestamp
time stamp
$userTZ
timezone

Returns

integer
public int[]
# getUserGroups( )

get the groups associated with the current user

get the groups associated with the current user

Returns

int[]
public string
# makePass( )

generate a temporary password

generate a temporary password

Returns

string
public false|string
# checkEmail( string $email, boolean $antispam = false )

Check Email

Check Email

Parameters

$email
check email
$antispam
true if returned email should be have anti-SPAM measures applied

Returns

false|string
email address if valid, otherwise false
public string
# formatURL( string $url )

formatURL - add default http:// if no valid protocol specified

formatURL - add default http:// if no valid protocol specified

Parameters

$url
full or partial url

Returns

string
public string
# getBanner( )

Function to get banner html tags for use in templates

Function to get banner html tags for use in templates

Returns

string
public
# redirect( string $url, integer $time = 3, string $message = '', boolean $addredirect = true, boolean $allowExternalLink = false )

Function to redirect a user to certain pages

Function to redirect a user to certain pages

Parameters

$url
URL to redirect to
$time
time to wait (to allow reading message display)
$message
message to display
$addredirect

add xoops_redirect parameter with current URL to the redirect URL - used for return from login redirect

$allowExternalLink
allow redirect to external URL
public static
# simpleRedirect( string $url )

Do an immediate redirect to the specified url. Use this instead of using PHP's header() directly so that a core.redirect.start event is triggered. An example is debugbar, that stacks data so the details for both original and redirected scripts data are available.

Do an immediate redirect to the specified url. Use this instead of using PHP's header() directly so that a core.redirect.start event is triggered. An example is debugbar, that stacks data so the details for both original and redirected scripts data are available.

Parameters

$url
URL to redirect to
public string
# getEnv( string $key )

Get Environment Value

Get Environment Value

Parameters

$key
key (name) in the environment

Returns

string
public string
# getCss( string $theme = '' )

Function to get css file for a certain themeset

Function to get css file for a certain themeset

Parameters

$theme
theme name

Returns

string
public XoopsMailer|XoopsMailerLocale
# getMailer( )

Get Mailer

Get Mailer

Returns

XoopsMailer|XoopsMailerLocale
public string
# getOption( string $key )

Get Option

Get Option

Parameters

$key
key (name) of option

Returns

string
public
# setOption( string $key, null $value = null )

Set Option

Set Option

Parameters

$key
key (name) of option
$value
value for option
public mixed
# getConfig( string $key )

Get Config value

Get Config value

Parameters

$key
key (name) of configuration

Returns

mixed
public array
# getConfigs( )

Get all Config Values

Get all Config Values

Returns

array
public
# addConfigs( array $configs, string $dirname = 'system' )

Add Config Values

Add Config Values

Parameters

$configs
array of configs
$dirname
module name
public
# setConfig( string $key, mixed $value = null, string $dirname = 'system' )

Set Config Value

Set Config Value

Parameters

$key
key (name) of the configuration item
$value
configuration value
$dirname
dirname of module
public
# unsetConfig( string $key, string $dirname = 'system' )

Unset Config Value

Unset Config Value

Parameters

$key
key (name) of the configuration item
$dirname
dirname of module
public
# clearModuleConfigsCache( )

Unset all module configs

Unset all module configs

public mixed
# getModuleConfig( string $key, string $dirname = '' )

getModuleConfig

getModuleConfig

Parameters

$key
config name
$dirname
module directory

Returns

mixed
the value for the named config
public array
# getModuleConfigs( string $dirname = '' )

Get Module Configs

Get Module Configs

Parameters

$dirname
dirname of module

Returns

array
public
# appendConfig( string $key, array $values, boolean $appendWithKey = false, string $dirname = 'system' )

Append Config Value

Append Config Value

Parameters

$key
key (name) of the configuration item
$values
array of configuration value
$appendWithKey

true to add each $value element with associative value false to add $values as a single index element

$dirname
dirname of module
public
# disableModuleCache( )

Disables page cache by overriding module cache settings

Disables page cache by overriding module cache settings

public Pdp\Uri\Url\Host|string|null
# getBaseDomain( string $url, boolean $includeSubdomain = false, boolean $returnObject = false )

getBaseDomain

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/

Parameters

$url
URL
$includeSubdomain

true to include include subdomains, default is false registerable domain only

$returnObject

true to return Pdp\Uri\Url\Host object false returns domain as string

Returns

Pdp\Uri\Url\Host|string|null
domain, or null if domain is invalid
public boolean
# templateTouch( string $tpl_id )

function to update compiled template file in cache folder

function to update compiled template file in cache folder

Parameters

$tpl_id
template id

Returns

boolean
public
# templateClearModuleCache( integer $mid )

Clear the module cache

Clear the module cache

Parameters

$mid
Module ID
public
# deprecated( string $message )

Support for deprecated messages events

Support for deprecated messages events

Parameters

$message
message
public
# disableErrorReporting( )

Support for disabling error reporting

Support for disabling error reporting

Constants summary
string VERSION
# 'XOOPS 2.6.0-Alpha 3'
Properties summary
public null|Xoops\Core\Session\Manager $sessionManager
# null
public null|XoopsModule $module
# null
public array $config
# array()
public array $moduleConfig
# array()
public array $moduleDirname
# ''
public XoopsUser|string $user
# ''
public boolean $userIsAdmin
# false
public array $option
# array()
public array $paths
# array( 'XOOPS' => array(), 'www' => array(), 'var' => array(), 'lib' => array(), 'modules' => array(), 'themes' => array(), 'media' => array() )
public string $tpl_name
# ''
public boolean $isAdminSide
# false
API documentation generated by ApiGen