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
  • Xmf\Database\TableLoad
  • Xmf\Database\Tables
  • Xmf\Debug
  • Xmf\FilterInput
  • Xmf\Highlighter
  • Xmf\Language
  • Xmf\Loader
  • Xmf\Metagen
  • Xmf\Module\Admin
  • Xmf\Module\Cache
  • Xmf\Module\Helper
  • Xmf\Module\Helper\AbstractHelper
  • Xmf\Module\Helper\GenericHelper
  • Xmf\Module\Permission
  • Xmf\Module\Session
  • Xmf\Request
  • Xmf\Template\AbstractTemplate
  • Xmf\Template\Breadcrumb
  • Xmf\Template\Buttonbox
  • Xmf\Template\Feed
  • Xmf\Template\PrintContent
  • Xmf\Utilities
  • Xmf\Yaml
  • XmfPreload
  • XmlTagHandler
  • Xoops
  • Xoops\Auth\Ads
  • Xoops\Auth\AuthAbstract
  • Xoops\Auth\Factory
  • Xoops\Auth\Ldap
  • Xoops\Auth\Provisioning
  • Xoops\Auth\Xoops
  • Xoops\Cache
  • Xoops\Core\Assets
  • Xoops\Core\Cache\Access
  • Xoops\Core\Cache\CacheManager
  • Xoops\Core\Cache\DriverList
  • Xoops\Core\Cache\Legacy
  • Xoops\Core\ComposerUtility
  • Xoops\Core\Database\Connection
  • Xoops\Core\Database\Factory
  • Xoops\Core\Database\Logging\XoopsDebugStack
  • Xoops\Core\Database\QueryBuilder
  • Xoops\Core\Database\Schema\ExportVisitor
  • Xoops\Core\Database\Schema\ImportSchema
  • Xoops\Core\Database\Schema\PrefixStripper
  • Xoops\Core\Database\Schema\RemovePrefixes
  • Xoops\Core\Events
  • Xoops\Core\FilterInput
  • Xoops\Core\FixedGroups
  • Xoops\Core\Handler\Factory
  • Xoops\Core\Handler\FactorySpec
  • Xoops\Core\Handler\Scheme\FQN
  • Xoops\Core\Handler\Scheme\Kernel
  • Xoops\Core\Handler\Scheme\LegacyModule
  • Xoops\Core\HttpRequest
  • Xoops\Core\Kernel\Criteria
  • Xoops\Core\Kernel\CriteriaCompo
  • Xoops\Core\Kernel\CriteriaElement
  • Xoops\Core\Kernel\Dtype
  • Xoops\Core\Kernel\Dtype\DtypeAbstract
  • Xoops\Core\Kernel\Dtype\DtypeArray
  • Xoops\Core\Kernel\Dtype\DtypeDateTime
  • Xoops\Core\Kernel\Dtype\DtypeDecimal
  • Xoops\Core\Kernel\Dtype\DtypeEmail
  • Xoops\Core\Kernel\Dtype\DtypeEnumeration
  • Xoops\Core\Kernel\Dtype\DtypeFloat
  • Xoops\Core\Kernel\Dtype\DtypeInt
  • Xoops\Core\Kernel\Dtype\DtypeJson
  • Xoops\Core\Kernel\Dtype\DtypeMoney
  • Xoops\Core\Kernel\Dtype\DtypeOther
  • Xoops\Core\Kernel\Dtype\DtypeSimpleTime
  • Xoops\Core\Kernel\Dtype\DtypeSource
  • Xoops\Core\Kernel\Dtype\DtypeTextArea
  • Xoops\Core\Kernel\Dtype\DtypeTextBox
  • Xoops\Core\Kernel\Dtype\DtypeTimeZone
  • Xoops\Core\Kernel\Dtype\DtypeUrl
  • Xoops\Core\Kernel\Handlers\XoopsBlock
  • Xoops\Core\Kernel\Handlers\XoopsBlockHandler
  • Xoops\Core\Kernel\Handlers\XoopsBlockModuleLink
  • Xoops\Core\Kernel\Handlers\XoopsBlockModuleLinkHandler
  • Xoops\Core\Kernel\Handlers\XoopsConfigHandler
  • Xoops\Core\Kernel\Handlers\XoopsConfigItem
  • Xoops\Core\Kernel\Handlers\XoopsConfigItemHandler
  • Xoops\Core\Kernel\Handlers\XoopsConfigOption
  • Xoops\Core\Kernel\Handlers\XoopsConfigOptionHandler
  • Xoops\Core\Kernel\Handlers\XoopsGroup
  • Xoops\Core\Kernel\Handlers\XoopsGroupHandler
  • Xoops\Core\Kernel\Handlers\XoopsGroupPerm
  • Xoops\Core\Kernel\Handlers\XoopsGroupPermHandler
  • Xoops\Core\Kernel\Handlers\XoopsMemberHandler
  • Xoops\Core\Kernel\Handlers\XoopsMembership
  • Xoops\Core\Kernel\Handlers\XoopsMembershipHandler
  • Xoops\Core\Kernel\Handlers\XoopsModule
  • Xoops\Core\Kernel\Handlers\XoopsModuleHandler
  • Xoops\Core\Kernel\Handlers\XoopsOnline
  • Xoops\Core\Kernel\Handlers\XoopsOnlineHandler
  • Xoops\Core\Kernel\Handlers\XoopsPrivateMessage
  • Xoops\Core\Kernel\Handlers\XoopsPrivateMessageHandler
  • Xoops\Core\Kernel\Handlers\XoopsTplFile
  • Xoops\Core\Kernel\Handlers\XoopsTplFileHandler
  • Xoops\Core\Kernel\Handlers\XoopsTplSet
  • Xoops\Core\Kernel\Handlers\XoopsTplSetHandler
  • Xoops\Core\Kernel\Handlers\XoopsUser
  • Xoops\Core\Kernel\Handlers\XoopsUserHandler
  • Xoops\Core\Kernel\Model\Joint
  • Xoops\Core\Kernel\Model\Read
  • Xoops\Core\Kernel\Model\Stats
  • Xoops\Core\Kernel\Model\Sync
  • Xoops\Core\Kernel\Model\Write
  • Xoops\Core\Kernel\XoopsModelAbstract
  • Xoops\Core\Kernel\XoopsModelFactory
  • Xoops\Core\Kernel\XoopsObject
  • Xoops\Core\Kernel\XoopsObjectHandler
  • Xoops\Core\Kernel\XoopsPersistableObjectHandler
  • Xoops\Core\Lists\Country
  • Xoops\Core\Lists\Directory
  • Xoops\Core\Lists\Editor
  • Xoops\Core\Lists\File
  • Xoops\Core\Lists\HtmlFile
  • Xoops\Core\Lists\ImageFile
  • Xoops\Core\Lists\ListAbstract
  • Xoops\Core\Lists\Locale
  • Xoops\Core\Lists\Module
  • Xoops\Core\Lists\Month
  • Xoops\Core\Lists\SubjectIcon
  • Xoops\Core\Lists\SubSet
  • Xoops\Core\Lists\Theme
  • Xoops\Core\Lists\Time
  • Xoops\Core\Lists\TimeZone
  • Xoops\Core\Locale\LegacyCodes
  • Xoops\Core\Locale\Punic\Calendar
  • Xoops\Core\Locale\Time
  • Xoops\Core\Logger
  • Xoops\Core\MediaUploader
  • Xoops\Core\MimeTypes
  • Xoops\Core\PreloadItem
  • Xoops\Core\Psr0ClassLoader
  • Xoops\Core\Psr4ClassLoader
  • Xoops\Core\Random
  • Xoops\Core\Registry
  • Xoops\Core\Request
  • Xoops\Core\Security
  • Xoops\Core\Service\AbstractContract
  • Xoops\Core\Service\Manager
  • Xoops\Core\Service\NullProvider
  • Xoops\Core\Service\Provider
  • Xoops\Core\Service\Response
  • Xoops\Core\Session\Fingerprint
  • Xoops\Core\Session\Handler
  • Xoops\Core\Session\Manager
  • Xoops\Core\Session\RememberMe
  • Xoops\Core\Session\SessionUser
  • Xoops\Core\Text\Sanitizer
  • Xoops\Core\Text\Sanitizer\Configuration
  • Xoops\Core\Text\Sanitizer\ConfigurationAbstract
  • Xoops\Core\Text\Sanitizer\DefaultConfiguration
  • Xoops\Core\Text\Sanitizer\ExtensionAbstract
  • Xoops\Core\Text\Sanitizer\Extensions\Censor
  • Xoops\Core\Text\Sanitizer\Extensions\Clickable
  • Xoops\Core\Text\Sanitizer\Extensions\Embed
  • Xoops\Core\Text\Sanitizer\Extensions\Flash
  • Xoops\Core\Text\Sanitizer\Extensions\Iframe
  • Xoops\Core\Text\Sanitizer\Extensions\Image
  • Xoops\Core\Text\Sanitizer\Extensions\Mms
  • Xoops\Core\Text\Sanitizer\Extensions\Mp3
  • Xoops\Core\Text\Sanitizer\Extensions\Quote
  • Xoops\Core\Text\Sanitizer\Extensions\Rtsp
  • Xoops\Core\Text\Sanitizer\Extensions\SoundCloud
  • Xoops\Core\Text\Sanitizer\Extensions\SyntaxHighlight
  • Xoops\Core\Text\Sanitizer\Extensions\TextFilter
  • Xoops\Core\Text\Sanitizer\Extensions\UnorderedList
  • Xoops\Core\Text\Sanitizer\Extensions\Wiki
  • Xoops\Core\Text\Sanitizer\Extensions\Wmp
  • Xoops\Core\Text\Sanitizer\Extensions\XoopsCode
  • Xoops\Core\Text\Sanitizer\Extensions\Xss
  • Xoops\Core\Text\Sanitizer\Extensions\YouTube
  • Xoops\Core\Text\Sanitizer\FilterAbstract
  • Xoops\Core\Text\Sanitizer\NullExtension
  • Xoops\Core\Text\Sanitizer\NullFilter
  • Xoops\Core\Text\Sanitizer\SanitizerComponent
  • Xoops\Core\Text\Sanitizer\SanitizerConfigurable
  • Xoops\Core\Text\ShortCodes
  • Xoops\Core\Theme\AdminFactory
  • Xoops\Core\Theme\Factory
  • Xoops\Core\Theme\NullTheme
  • Xoops\Core\Theme\PluginAbstract
  • Xoops\Core\Theme\Plugins\Blocks
  • Xoops\Core\Theme\XoopsTheme
  • Xoops\Core\XoopsTpl
  • Xoops\Core\Yaml
  • Xoops\Form\BlockForm
  • Xoops\Form\Button
  • Xoops\Form\ButtonTray
  • Xoops\Form\Captcha
  • Xoops\Form\Checkbox
  • Xoops\Form\ColorPicker
  • Xoops\Form\DateSelect
  • Xoops\Form\DateTime
  • Xoops\Form\DhtmlTextArea
  • Xoops\Form\Editor
  • Xoops\Form\Element
  • Xoops\Form\ElementFactory
  • Xoops\Form\ElementTray
  • Xoops\Form\File
  • Xoops\Form\Form
  • Xoops\Form\GroupCheckbox
  • Xoops\Form\GroupFormCheckbox
  • Xoops\Form\GroupPermissionForm
  • Xoops\Form\Hidden
  • Xoops\Form\Label
  • Xoops\Form\Mail
  • Xoops\Form\OptionElement
  • Xoops\Form\Password
  • Xoops\Form\Radio
  • Xoops\Form\RadioYesNo
  • Xoops\Form\Raw
  • Xoops\Form\Select
  • Xoops\Form\SelectCountry
  • Xoops\Form\SelectEditor
  • Xoops\Form\SelectGroup
  • Xoops\Form\SelectLanguage
  • Xoops\Form\SelectLocale
  • Xoops\Form\SelectMatchOption
  • Xoops\Form\SelectTheme
  • Xoops\Form\SelectTimeZone
  • Xoops\Form\SelectUser
  • Xoops\Form\SimpleForm
  • Xoops\Form\Tab
  • Xoops\Form\TableForm
  • Xoops\Form\TabTray
  • Xoops\Form\Text
  • Xoops\Form\TextArea
  • Xoops\Form\ThemeForm
  • Xoops\Form\Token
  • Xoops\Form\Url
  • Xoops\Html\Attributes
  • Xoops\Html\Img
  • Xoops\Locale
  • Xoops\Locale\AbstractLocale
  • Xoops\Module\Admin
  • Xoops\Module\Helper
  • Xoops\Module\Helper\Dummy
  • Xoops\Module\Helper\HelperAbstract
  • Xoops\Module\Plugin
  • Xoops\Module\Plugin\ConfigCollector
  • Xoops\Module\Plugin\PluginAbstract
  • Xoops\Utils
  • 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
  • Xoops\Core\AttributeInterface
  • Xoops\Core\Handler\Scheme\SchemeInterface
  • Xoops\Core\Service\Contract\AvatarInterface
  • Xoops\Core\Service\Contract\CountryflagInterface
  • Xoops\Core\Service\Contract\EmojiInterface
  • Xoops\Core\Service\Contract\HtmlToPdfInterface
  • Xoops\Core\Service\Contract\QrcodeInterface
  • Xoops\Core\Service\Contract\ThumbnailInterface
  • Xoops\Core\Service\Contract\UserRankInterface
  • Xoops\Core\Session\FingerprintInterface
  • Xoops\Form\ContainerInterface

Exceptions

  • Xoops\Core\Exception\InvalidHandlerSpecException
  • Xoops\Core\Exception\NoHandlerException

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
  1: <?php
  2: /*
  3:  You may not change or alter any portion of this comment or credits
  4:  of supporting developers from this source code or any supporting source code
  5:  which is considered copyrighted (c) material of the original comment or credit authors.
  6: 
  7:  This program is distributed in the hope that it will be useful,
  8:  but WITHOUT ANY WARRANTY; without even the implied warranty of
  9:  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 10: */
 11: 
 12: namespace Xoops\Module;
 13: 
 14: /**
 15:  * Xoops ModuleAdmin Classes
 16:  *
 17:  * @category  Xoops\Module\Admin
 18:  * @package   Admin
 19:  * @author    Mage Grégory (AKA Mage)
 20:  * @copyright 2013-2015 XOOPS Project (http://xoops.org)
 21:  * @license   GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
 22:  * @link      xoops.org
 23:  * @since     2.6.0
 24:  */
 25: class Admin
 26: {
 27:     /**
 28:      * Set module directory
 29:      *
 30:      * @var string
 31:      */
 32:     public $tplModule = 'system';
 33: 
 34:     /**
 35:      * Template call for each render parts
 36:      *
 37:      * @var array
 38:      */
 39:     public $tplFile = array(
 40:         'index' => 'admin_index.tpl',
 41:         'about' => 'admin_about.tpl',
 42:         'infobox' => 'admin_infobox.tpl',
 43:         'bread' => 'admin_breadcrumb.tpl',
 44:         'button' => 'admin_buttons.tpl',
 45:         'tips' => 'admin_tips.tpl',
 46:         'nav'   => 'admin_navigation.tpl',
 47:     );
 48: 
 49:     /**
 50:      * Tips to display in admin page
 51:      *
 52:      * @var string
 53:      */
 54:     private $tips = '';
 55: 
 56:     /**
 57:      * List of button
 58:      *
 59:      * @var array
 60:      */
 61:     private $itemButton = array();
 62: 
 63:     /**
 64:      * List of Info Box
 65:      *
 66:      * @var array
 67:      */
 68:     private $itemInfoBox = array();
 69: 
 70:     /**
 71:      * List of line of an Info Box
 72:      *
 73:      * @var array
 74:      */
 75:     private $itemConfigBoxLine = array();
 76: 
 77:     /**
 78:      * Breadcrumb data
 79:      *
 80:      * @var array
 81:      */
 82:     private $bread = array();
 83: 
 84:     /**
 85:      * Current module object
 86:      *
 87:      * @var \Xoops\Core\Kernel\Handlers\XoopsModule $module
 88:      */
 89:     private $module = null;
 90: 
 91:     /**
 92:      * Constructor
 93:      */
 94:     public function __construct()
 95:     {
 96:         $xoops = \Xoops::getInstance();
 97:         $this->module = $xoops->module;
 98:         $xoops->theme()->addStylesheet('media/xoops/css/moduladmin.css');
 99:     }
100: 
101:     /**
102:      * Add breadcrumb menu
103:      *
104:      * @param string $title title
105:      * @param string $link  url
106:      * @param bool   $home  is home
107:      *
108:      * @return void
109:      */
110:     public function addBreadcrumbLink($title = '', $link = '', $home = false)
111:     {
112:         if ($title != '') {
113:             $this->bread[] = array(
114:                 'link' => $link, 'title' => $title, 'home' => $home
115:             );
116:         }
117:     }
118: 
119:     /**
120:      * Add config line
121:      *
122:      * @param string $value line value - a string or array of values
123:      * @param string $type  type of line default, folder, chmod, extension, module
124:      *
125:      * @return bool
126:      */
127:     public function addConfigBoxLine($value = '', $type = 'default')
128:     {
129:         switch ($type) {
130:             default:
131:             case "default":
132:                 $this->itemConfigBoxLine[] = array('type' => $type, 'text' => $value);
133:                 break;
134: 
135:             case "folder":
136:                 if (!is_dir($value)) {
137:                     $this->itemConfigBoxLine[] = array(
138:                         'type' => 'error', 'text' => sprintf(\XoopsLocale::EF_FOLDER_DOES_NOT_EXIST, $value)
139:                     );
140:                 } else {
141:                     $this->itemConfigBoxLine[] = array(
142:                         'type' => 'accept', 'text' => sprintf(\XoopsLocale::SF_FOLDER_EXISTS, $value)
143:                     );
144:                 }
145:                 break;
146: 
147:             case "chmod":
148:                 if (is_dir($value[0])) {
149:                     if (substr(decoct(fileperms($value[0])), 2) != $value[1]) {
150:                         $this->itemConfigBoxLine[] = array(
151:                             'type' => 'error',
152:                             'text' => sprintf(
153:                                 \XoopsLocale::EF_FOLDER_MUST_BE_WITH_CHMOD,
154:                                 $value[0],
155:                                 $value[1],
156:                                 substr(decoct(fileperms($value[0])), 2)
157:                             )
158:                         );
159:                     } else {
160:                         $this->itemConfigBoxLine[] = array(
161:                             'type' => 'accept',
162:                             'text' => sprintf(
163:                                 \XoopsLocale::EF_FOLDER_MUST_BE_WITH_CHMOD,
164:                                 $value[0],
165:                                 $value[1],
166:                                 substr(decoct(fileperms($value[0])), 2)
167:                             )
168:                         );
169:                     }
170:                 }
171:                 break;
172: 
173:             case "extension":
174:                 $xoops = \Xoops::getInstance();
175:                 if (is_array($value)) {
176:                     $text = $value[0];
177:                     $type = $value[1];
178:                 } else {
179:                     $text = $value;
180:                     $type = 'error';
181:                 }
182:                 if ($xoops->isActiveModule($text) == false) {
183:                     $this->itemConfigBoxLine[] = array(
184:                         'type' => $type, 'text' => sprintf(\XoopsLocale::EF_EXTENSION_IS_NOT_INSTALLED, $text)
185:                     );
186:                 } else {
187:                     $this->itemConfigBoxLine[] = array(
188:                         'type' => 'accept', 'text' => sprintf(\XoopsLocale::SF_EXTENSION_IS_INSTALLED, $text)
189:                     );
190:                 }
191:                 break;
192: 
193:             case "module":
194:                 $xoops = \Xoops::getInstance();
195:                 if (is_array($value)) {
196:                     $text = $value[0];
197:                     $type = $value[1];
198:                 } else {
199:                     $text = $value;
200:                     $type = 'error';
201:                 }
202:                 if ($xoops->isActiveModule($text) == false) {
203:                     $this->itemConfigBoxLine[] = array(
204:                         'type' => $type, 'text' => sprintf(\XoopsLocale::F_MODULE_IS_NOT_INSTALLED, $text)
205:                     );
206:                 } else {
207:                     $this->itemConfigBoxLine[] = array(
208:                         'type' => 'accept', 'text' => sprintf(\XoopsLocale::F_MODULE_IS_INSTALLED, $text)
209:                     );
210:                 }
211:                 break;
212: 
213:             case "service":
214:                 $xoops = \Xoops::getInstance();
215:                 if (is_array($value)) {
216:                     $text = $value[0];
217:                     $type = $value[1];
218:                 } else {
219:                     $text = $value;
220:                     $type = 'error';
221:                 }
222:                 if ($xoops->service($text)->isAvailable()) {
223:                     $this->itemConfigBoxLine[] = array(
224:                         'type' => 'accept', 'text' => sprintf(\XoopsLocale::SF_SERVICE_IS_INSTALLED, $text)
225:                     );
226:                 } else {
227:                     $this->itemConfigBoxLine[] = array(
228:                         'type' => $type, 'text' => sprintf(\XoopsLocale::EF_SERVICE_IS_NOT_INSTALLED, $text)
229:                     );
230:                 }
231:                 break;
232: 
233:         }
234:         return true;
235:     }
236: 
237:     /**
238:      * Add Info box
239:      *
240:      * @param string $title title
241:      * @param string $type  type
242:      * @param string $extra extra
243:      *
244:      * @return bool
245:      */
246:     public function addInfoBox($title, $type = 'default', $extra = '')
247:     {
248:         $ret['title'] = $title;
249:         $ret['type'] = $type;
250:         $ret['extra'] = $extra;
251:         $this->itemInfoBox[] = $ret;
252:         return true;
253:     }
254: 
255:     /**
256:      * Add line to the info box
257:      *
258:      * @param string $text  title
259:      * @param string $type  type
260:      * @param string $color color
261:      *
262:      * @return bool
263:      */
264:     public function addInfoBoxLine($text = '', $type = 'default', $color = 'inherit')
265:     {
266:         $ret = array();
267:         $ret['text'] = $text;
268:         $ret['color'] = $color;
269: 
270:         foreach (array_keys($this->itemInfoBox) as $i) {
271:             if ($this->itemInfoBox[$i]['type'] == $type) {
272:                 $this->itemInfoBox[$i]['line'][] = $ret;
273:                 unset($ret);
274:             }
275:         }
276:         return true;
277:     }
278: 
279:     /**
280:      * Add Item button
281:      *
282:      * @param string $title title
283:      * @param string $link  link
284:      * @param string $icon  icon
285:      * @param string $extra extra
286:      *
287:      * @return bool
288:      */
289:     public function addItemButton($title, $link, $icon = 'add', $extra = '')
290:     {
291:         $ret['title'] = $title;
292:         $ret['link'] = $link;
293:         $ret['icon'] = $icon;
294:         $ret['extra'] = $extra;
295:         $this->itemButton[] = $ret;
296:         return true;
297:     }
298: 
299:     /**
300:      * Add a tips
301:      *
302:      * @param string $text text
303:      *
304:      * @return void
305:      */
306:     public function addTips($text = '')
307:     {
308:         $this->tips = $text;
309:     }
310: 
311:     /**
312:      * Construct template path
313:      *
314:      * @param string $type type
315:      *
316:      * @return string
317:      */
318:     private function getTplPath($type = '')
319:     {
320:         return 'admin:' . $this->tplModule . '/' . $this->tplFile[$type];
321:     }
322: 
323:     /**
324:      * renderBreadcrumb
325:      *
326:      * @return string
327:      */
328:     public function renderBreadcrumb()
329:     {
330:         $xoops = \Xoops::getInstance();
331:         $xoops->tpl()->assign('xo_admin_breadcrumb', $this->bread);
332:         return $xoops->tpl()->fetch($this->getTplPath('bread'));
333:     }
334: 
335:     /**
336:      * displayBreadcrumb
337:      *
338:      * @return void
339:      */
340:     public function displayBreadcrumb()
341:     {
342:         echo $this->renderBreadcrumb();
343:     }
344: 
345:     /**
346:      * Render all items buttons
347:      *
348:      * @param string $position  position
349:      * @param string $delimiter delimiter
350:      *
351:      * @return string
352:      */
353:     public function renderButton($position = "floatright", $delimiter = "&nbsp;")
354:     {
355:         $xoops = \Xoops::getInstance();
356: 
357:         $xoops->tpl()->assign('xo_admin_buttons_position', $position);
358:         $xoops->tpl()->assign('xo_admin_buttons_delim', $delimiter);
359:         $xoops->tpl()->assign('xo_admin_buttons', $this->itemButton);
360:         return $xoops->tpl()->fetch($this->getTplPath('button'));
361:     }
362: 
363:     /**
364:      * displayButton
365:      *
366:      * @param string $position  position
367:      * @param string $delimiter delimiter
368:      *
369:      * @return void
370:      */
371:     public function displayButton($position = "floatright", $delimiter = "&nbsp;")
372:     {
373:         echo $this->renderButton($position, $delimiter);
374:     }
375: 
376:     /**
377:      * Render InfoBox
378:      *
379:      * @return string
380:      */
381:     public function renderInfoBox()
382:     {
383:         $xoops = \Xoops::getInstance();
384:         $xoops->tpl()->assign('xo_admin_box', $this->itemInfoBox);
385:         return $xoops->tpl()->fetch($this->getTplPath('infobox'));
386:     }
387: 
388:     /**
389:      * displayInfoBox
390:      *
391:      * @return void
392:      */
393:     public function displayInfoBox()
394:     {
395:         echo $this->renderInfoBox();
396:     }
397: 
398:     /**
399:      * Render index page for admin
400:      *
401:      * @return string
402:      */
403:     public function renderIndex()
404:     {
405:         $xoops = \Xoops::getInstance();
406:         $this->module->loadAdminMenu();
407:         foreach (array_keys($this->module->adminmenu) as $i) {
408:             if (\XoopsLoad::fileExists($xoops->path("media/xoops/images/icons/32/" . $this->module->adminmenu[$i]['icon']))) {
409:                 $this->module->adminmenu[$i]['icon'] = $xoops->url("media/xoops/images/icons/32/" . $this->module->adminmenu[$i]['icon']);
410:             } elseif (\XoopsLoad::fileExists($xoops->path("modules/" . $xoops->module->dirname() . "/assets/icons/32/" . $this->module->adminmenu[$i]['icon']))) {
411:                 $this->module->adminmenu[$i]['icon'] = $xoops->url("modules/" . $xoops->module->dirname() . "/assets/icons/32/" . $this->module->adminmenu[$i]['icon']);
412:             } else {
413:                 $this->module->adminmenu[$i]['icon'] = $xoops->url("modules/" . $xoops->module->dirname() . "/icons/32/" . $this->module->adminmenu[$i]['icon']);
414:             }
415:             $xoops->tpl()->append('xo_admin_index_menu', $this->module->adminmenu[$i]);
416:         }
417:         if ($this->module->getInfo('help')) {
418:             $help = array();
419:             $help['link'] = '../system/help.php?mid=' . $this->module->getVar('mid', 's')
420:                 . "&amp;" . $this->module->getInfo('help');
421:             $help['icon'] = $xoops->url("/media/xoops/images/icons/32/help.png");
422:             $help['title'] = \XoopsLocale::HELP;
423:             $xoops->tpl()->append('xo_admin_index_menu', $help);
424:         }
425:         $xoops->tpl()->assign('xo_admin_box', $this->itemInfoBox);
426: 
427:         // If you use a config label
428:         if ($this->module->getInfo('min_php') || $this->module->getInfo('min_xoops')
429:             || $this->module->getInfo('min_db') || !empty($this->itemConfigBoxLine)
430:         ) {
431:             // PHP version
432:             if ($this->module->getInfo('min_php')) {
433:                 if (0 >= version_compare(phpversion(), $this->module->getInfo('min_php'))) {
434:                     $this->addConfigBoxLine(
435:                         sprintf(
436:                             \XoopsLocale::F_MINIMUM_PHP_VERSION_REQUIRED,
437:                             $this->module->getInfo('min_php'),
438:                             phpversion()
439:                         ),
440:                         'error'
441:                     );
442:                 } else {
443:                     $this->addConfigBoxLine(
444:                         sprintf(
445:                             \XoopsLocale::F_MINIMUM_PHP_VERSION_REQUIRED,
446:                             $this->module->getInfo('min_php'),
447:                             phpversion()
448:                         ),
449:                         'accept'
450:                     );
451:                 }
452:             }
453: 
454:             // Database version
455:             // Validate that the current system is acceptable for the module by checking a set of specific
456:             // databases and versions if specified in min_db key.
457:             //
458:             // An array of minimum versions keyed by platform can be optionally specified in xoops_version.php:
459:             //   $modversion['min_db'] = array('mysql' => '5.0.7', 'sqlite' => '3.0.8');
460:             //
461:             // If min_db is specified, and the current database is included in the array, the version will be
462:             // compared to the specified minimum. If the reported database version is equal or greater, an OK
463:             // message will be generated. If the version is lower, an error message will be issued.
464:             //
465:             // If min_db is specified, and the current platform is not included in the array, an error message
466:             // will indicate the module does not support the database current platform.
467:             //
468:             // If at all possible, modules should NOT specify this, as with Doctrine DBAL we should be able to
469:             // support many different databases, and thus portable modules are prefered. The supported databases
470:             // and versions are set by XoopsCore and Doctrine, and should not be restricted without reason.
471: 
472:             $dbarray = $this->module->getInfo('min_db');
473:             if ($dbarray !== false) {
474:                 $dbCurrentPlatform = $xoops->db()->getDatabasePlatform()->getName();
475:                 $dbCurrentVersion  = $xoops->db()->getWrappedConnection()->getServerVersion();
476:                 if (isset($dbarray[$dbCurrentPlatform])) {
477:                     $dbRequiredVersion = $dbarray[$dbCurrentPlatform];
478:                     if (0 >= version_compare($dbCurrentVersion, $dbRequiredVersion)) {
479:                         $this->addConfigBoxLine(
480:                             sprintf(
481:                                 strtoupper(\XoopsBaseConfig::get('db-type')) . ' '
482:                                 . \XoopsLocale::F_MINIMUM_DATABASE_VERSION_REQUIRED,
483:                                 $dbRequiredVersion,
484:                                 $dbCurrentVersion
485:                             ),
486:                             'error'
487:                         );
488:                     } else {
489:                         $this->addConfigBoxLine(
490:                             sprintf(
491:                                 strtoupper(\XoopsBaseConfig::get('db-type')) . ' ' . \XoopsLocale::F_MINIMUM_DATABASE_VERSION_REQUIRED,
492:                                 $dbRequiredVersion,
493:                                 $dbCurrentVersion
494:                             ),
495:                             'accept'
496:                         );
497:                     }
498:                 } else {
499:                         $this->addConfigBoxLine(
500:                             sprintf(\XoopsLocale::EF_DATABASE_NOT_SUPPORTED, $dbCurrentPlatform),
501:                             'error'
502:                         );
503:                 }
504:             }
505: 
506:             // xoops version
507:             if ($this->module->getInfo('min_xoops')) {
508:                 $xoopsVersion = substr(\Xoops::VERSION, 6); // skip 'XOOPS ' prefix
509:                 $xoopsCmpVersion = str_ireplace(['Alpha', 'Beta', 'RC'], ['0Alpha', '0Beta', '0RC'], $xoopsVersion);
510:                 if (0 >= version_compare($xoopsCmpVersion, $this->module->getInfo('min_xoops'))) {
511:                     $this->addConfigBoxLine(
512:                         sprintf(
513:                             \XoopsLocale::F_MINIMUM_XOOPS_VERSION_REQUIRED,
514:                             $this->module->getInfo('min_xoops'),
515:                             $xoopsVersion
516:                         ),
517:                         'error'
518:                     );
519:                 } else {
520:                     $this->addConfigBoxLine(
521:                         sprintf(
522:                             \XoopsLocale::F_MINIMUM_XOOPS_VERSION_REQUIRED,
523:                             $this->module->getInfo('min_xoops'),
524:                             $xoopsVersion
525:                         ),
526:                         'accept'
527:                     );
528:                 }
529:             }
530:             $xoops->tpl()->assign('xo_admin_index_config', $this->itemConfigBoxLine);
531:         }
532:         return $xoops->tpl()->fetch($this->getTplPath('index'));
533:     }
534: 
535:     /**
536:      * displayIndex
537:      *
538:      * @return void
539:      */
540:     public function displayIndex()
541:     {
542:         echo $this->renderIndex();
543:     }
544: 
545:     /**
546:      * Render navigation to admin page
547:      *
548:      * @param string $menu current menu
549:      *
550:      * @return array
551:      */
552:     public function renderNavigation($menu = '')
553:     {
554:         $xoops = \Xoops::getInstance();
555:         $ret = array();
556: 
557:         $this->module->loadAdminMenu();
558:         foreach (array_keys($this->module->adminmenu) as $i) {
559:             if ($this->module->adminmenu[$i]['link'] == "admin/" . $menu) {
560:                 if (\XoopsLoad::fileExists($xoops->path("media/xoops/images/icons/32/" . $this->module->adminmenu[$i]['icon']))) {
561:                     $this->module->adminmenu[$i]['icon'] = $xoops->url("media/xoops/images/icons/32/". $this->module->adminmenu[$i]['icon']);
562:                 } elseif (\XoopsLoad::fileExists($xoops->path("modules/" . $xoops->module->dirname() . "/assets/icons/32/" . $this->module->adminmenu[$i]['icon']))) {
563:                     $this->module->adminmenu[$i]['icon'] = $xoops->url("modules/" . $xoops->module->dirname() . "/assets/icons/32/" . $this->module->adminmenu[$i]['icon']);
564:                 } else {
565:                     $this->module->adminmenu[$i]['icon'] = $xoops->url("modules/" . $xoops->module->dirname() . "/icons/32/". $this->module->adminmenu[$i]['icon']);
566:                 }
567:                 $xoops->tpl()->assign('xo_sys_navigation', $this->module->adminmenu[$i]);
568:                 $ret[] = $xoops->tpl()->fetch($this->getTplPath('nav'));
569:             }
570:         }
571:         return $ret;
572:     }
573: 
574:     /**
575:      * displayNavigation
576:      *
577:      * @param string $menu current menu
578:      *
579:      * @return void
580:      */
581:     public function displayNavigation($menu = '')
582:     {
583:         $items = $this->renderNavigation($menu);
584:         foreach ($items as $item) {
585:             echo $item;
586:         }
587:     }
588: 
589:     /**
590:      * Render tips to admin page
591:      *
592:      * @return string
593:      */
594:     public function renderTips()
595:     {
596:         $xoops = \Xoops::getInstance();
597:         $xoops->tpl()->assign('xo_admin_tips', $this->tips);
598:         return $xoops->tpl()->fetch($this->getTplPath('tips'));
599:     }
600: 
601:     /**
602:      * displayTips
603:      *
604:      * @return void
605:      */
606:     public function displayTips()
607:     {
608:         echo $this->renderTips();
609:     }
610: 
611:     /**
612:      * Render about page
613:      *
614:      * @param bool $logo_xoops show logo
615:      *
616:      * @return bool|mixed|string
617:      */
618:     public function renderAbout($logo_xoops = true)
619:     {
620:         $xoops = \Xoops::getInstance();
621: 
622:         $date = explode('/', $this->module->getInfo('release_date'));
623:         $author = explode(',', $this->module->getInfo('author'));
624:         $nickname = explode(',', $this->module->getInfo('nickname'));
625:         $release_date = \XoopsLocale::formatTimestamp(mktime(0, 0, 0, $date[1], $date[2], $date[0]), 's');
626: 
627:         $author_list = '';
628:         foreach (array_keys($author) as $i) {
629:             $author_list .= $author[$i];
630:             if (isset($nickname[$i]) && $nickname[$i] != '') {
631:                 $author_list .= " (" . $nickname[$i] . "), ";
632:             } else {
633:                 $author_list .= ", ";
634:             }
635:         }
636:         $changelog = '';
637:         $language = $xoops->getConfig('locale');
638:         if (!is_file(
639:             \XoopsBaseConfig::get('root-path') . "/modules/" . $this->module->getVar("dirname")
640:             . "/locale/" . $language . "/changelog.txt"
641:         )) {
642:             $language = 'en_US';
643:         }
644:         $file = \XoopsBaseConfig::get('root-path') . "/modules/" . $this->module->getVar("dirname")
645:             . "/locale/" . $language . "/changelog.txt";
646:         if (is_readable($file)) {
647:             $changelog = utf8_encode(implode("<br />", file($file))) . "\n";
648:         } else {
649:             $file = \XoopsBaseConfig::get('root-path') . "/modules/" . $this->module->getVar("dirname") . "/docs/changelog.txt";
650:             if (is_readable($file)) {
651:                 $changelog = utf8_encode(implode("<br />", file($file))) . "\n";
652:             }
653:         }
654:         $author_list = substr($author_list, 0, -2);
655: 
656:         $this->module->setInfo('release_date', $release_date);
657:         $this->module->setInfo('author_list', $author_list);
658:         if (is_array($this->module->getInfo('paypal'))) {
659:             $this->module->setInfo('paypal', $this->module->getInfo('paypal'));
660:         }
661:         $this->module->setInfo('changelog', $changelog);
662:         $xoops->tpl()->assign('module', $this->module);
663: 
664:         $this->addInfoBox(\XoopsLocale::MODULE_INFORMATION, 'info', 'id="xo-about"');
665:         $this->addInfoBoxLine(
666:             \XoopsLocale::C_DESCRIPTION . ' ' . $this->module->getInfo("description"),
667:             'info'
668:         );
669:         $this->addInfoBoxLine(
670:             \XoopsLocale::C_UPDATE_DATE . ' <span class="bold">'
671:             . \XoopsLocale::formatTimestamp($this->module->getVar("last_update"), "m")
672:             . '</span>',
673:             'info'
674:         );
675:         $this->addInfoBoxLine(
676:             \XoopsLocale::C_WEBSITE . ' <a class="xo-tooltip" href="http://'
677:             . $this->module->getInfo("module_website_url")
678:             . '" rel="external" title="'
679:             . $this->module->getInfo("module_website_name") . ' - '
680:             . $this->module->getInfo("module_website_url") . '">'
681:             . $this->module->getInfo("module_website_name") . '</a>',
682:             'info'
683:         );
684: 
685:         $xoops->tpl()->assign('xoops_logo', $logo_xoops);
686:         $xoops->tpl()->assign('xo_admin_box', $this->itemInfoBox);
687:         return $xoops->tpl()->fetch($this->getTplPath('about'));
688:     }
689: 
690:     /**
691:      * displayAbout
692:      *
693:      * @param bool $logo_xoops display logo
694:      *
695:      * @return void
696:      */
697:     public function displayAbout($logo_xoops = true)
698:     {
699:         echo $this->renderAbout($logo_xoops);
700:     }
701: }
702: 
API documentation generated by ApiGen