JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • CallbackFilterIterator
  • ComposerAutoloaderInit205c915b9c7d3e718e7c95793ee67ffe
  • easyparse
  • EasyPeasyICS
  • FOFAutoloaderComponent
  • FOFAutoloaderFof
  • FOFConfigDomainDispatcher
  • FOFConfigDomainTables
  • FOFConfigDomainViews
  • FOFConfigProvider
  • FOFController
  • FOFDatabase
  • FOFDatabaseDriver
  • FOFDatabaseDriverJoomla
  • FOFDatabaseDriverMysql
  • FOFDatabaseDriverMysqli
  • FOFDatabaseDriverOracle
  • FOFDatabaseDriverPdo
  • FOFDatabaseDriverPdomysql
  • FOFDatabaseDriverPostgresql
  • FOFDatabaseDriverSqlazure
  • FOFDatabaseDriverSqlite
  • FOFDatabaseDriverSqlsrv
  • FOFDatabaseFactory
  • FOFDatabaseInstaller
  • FOFDatabaseIterator
  • FOFDatabaseIteratorAzure
  • FOFDatabaseIteratorMysql
  • FOFDatabaseIteratorMysqli
  • FOFDatabaseIteratorOracle
  • FOFDatabaseIteratorPdo
  • FOFDatabaseIteratorPdomysql
  • FOFDatabaseIteratorPostgresql
  • FOFDatabaseIteratorSqlite
  • FOFDatabaseIteratorSqlsrv
  • FOFDatabaseQuery
  • FOFDatabaseQueryElement
  • FOFDatabaseQueryMysql
  • FOFDatabaseQueryMysqli
  • FOFDatabaseQueryOracle
  • FOFDatabaseQueryPdo
  • FOFDatabaseQueryPdomysql
  • FOFDatabaseQueryPostgresql
  • FOFDatabaseQuerySqlazure
  • FOFDatabaseQuerySqlite
  • FOFDatabaseQuerySqlsrv
  • FOFDispatcher
  • FOFDownload
  • FOFDownloadAdapterAbstract
  • FOFDownloadAdapterCurl
  • FOFDownloadAdapterFopen
  • FOFEncryptAes
  • FOFEncryptAesAbstract
  • FOFEncryptAesMcrypt
  • FOFEncryptAesOpenssl
  • FOFEncryptBase32
  • FOFEncryptRandval
  • FOFEncryptTotp
  • FOFForm
  • FOFFormFieldAccesslevel
  • FOFFormFieldActions
  • FOFFormFieldButton
  • FOFFormFieldCachehandler
  • FOFFormFieldCalendar
  • FOFFormFieldCaptcha
  • FOFFormFieldCheckbox
  • FOFFormFieldCheckboxes
  • FOFFormFieldComponents
  • FOFFormFieldEditor
  • FOFFormFieldEmail
  • FOFFormFieldGroupedbutton
  • FOFFormFieldGroupedlist
  • FOFFormFieldHidden
  • FOFFormFieldImage
  • FOFFormFieldImagelist
  • FOFFormFieldInteger
  • FOFFormFieldLanguage
  • FOFFormFieldList
  • FOFFormFieldMedia
  • FOFFormFieldModel
  • FOFFormFieldOrdering
  • FOFFormFieldPassword
  • FOFFormFieldPlugins
  • FOFFormFieldPublished
  • FOFFormFieldRadio
  • FOFFormFieldRelation
  • FOFFormFieldRules
  • FOFFormFieldSelectrow
  • FOFFormFieldSessionhandler
  • FOFFormFieldSpacer
  • FOFFormFieldSql
  • FOFFormFieldTag
  • FOFFormFieldTel
  • FOFFormFieldText
  • FOFFormFieldTextarea
  • FOFFormFieldTimezone
  • FOFFormFieldTitle
  • FOFFormFieldUrl
  • FOFFormFieldUser
  • FOFFormFieldUsergroup
  • FOFFormHeader
  • FOFFormHeaderAccesslevel
  • FOFFormHeaderField
  • FOFFormHeaderFielddate
  • FOFFormHeaderFieldfilterable
  • FOFFormHeaderFieldsearchable
  • FOFFormHeaderFieldselectable
  • FOFFormHeaderFieldsql
  • FOFFormHeaderFilterdate
  • FOFFormHeaderFilterfilterable
  • FOFFormHeaderFiltersearchable
  • FOFFormHeaderFilterselectable
  • FOFFormHeaderFiltersql
  • FOFFormHeaderLanguage
  • FOFFormHeaderModel
  • FOFFormHeaderOrdering
  • FOFFormHeaderPublished
  • FOFFormHeaderRowselect
  • FOFFormHelper
  • FOFHalDocument
  • FOFHalLink
  • FOFHalLinks
  • FOFHalRenderJson
  • FOFInflector
  • FOFInput
  • FOFIntegrationJoomlaFilesystem
  • FOFIntegrationJoomlaPlatform
  • FOFLayoutFile
  • FOFLayoutHelper
  • FOFLess
  • FOFLessFormatterClassic
  • FOFLessFormatterCompressed
  • FOFLessFormatterJoomla
  • FOFLessFormatterLessjs
  • FOFLessParser
  • FOFModel
  • FOFModelBehavior
  • FOFModelBehaviorAccess
  • FOFModelBehaviorEmptynonzero
  • FOFModelBehaviorEnabled
  • FOFModelBehaviorFilters
  • FOFModelBehaviorLanguage
  • FOFModelBehaviorPrivate
  • FOFModelDispatcherBehavior
  • FOFModelField
  • FOFModelFieldBoolean
  • FOFModelFieldDate
  • FOFModelFieldNumber
  • FOFModelFieldText
  • FOFPlatform
  • FOFPlatformFilesystem
  • FOFQueryAbstract
  • FOFRenderAbstract
  • FOFRenderJoomla
  • FOFRenderJoomla3
  • FOFRenderStrapper
  • FOFStringUtils
  • FOFTable
  • FOFTableBehavior
  • FOFTableBehaviorAssets
  • FOFTableBehaviorContenthistory
  • FOFTableBehaviorTags
  • FOFTableDispatcherBehavior
  • FOFTableNested
  • FOFTableRelations
  • FOFTemplateUtils
  • FOFToolbar
  • FOFUtilsArray
  • FOFUtilsCacheCleaner
  • FOFUtilsConfigHelper
  • FOFUtilsFilescheck
  • FOFUtilsIniParser
  • FOFUtilsInstallscript
  • FOFUtilsIp
  • FOFUtilsObject
  • FOFUtilsObservableDispatcher
  • FOFUtilsObservableEvent
  • FOFUtilsPhpfunc
  • FOFUtilsTimer
  • FOFUtilsUpdate
  • FOFUtilsUpdateCollection
  • FOFUtilsUpdateExtension
  • FOFUtilsUpdateJoomla
  • FOFView
  • FOFViewCsv
  • FOFViewForm
  • FOFViewHtml
  • FOFViewJson
  • FOFViewRaw
  • idna_convert
  • JAccess
  • JAccessRule
  • JAccessRules
  • JAccessWrapperAccess
  • JAdapter
  • JAdapterInstance
  • JApplication
  • JApplicationAdministrator
  • JApplicationBase
  • JApplicationCli
  • JApplicationCms
  • JApplicationDaemon
  • JApplicationHelper
  • JApplicationSite
  • JApplicationWeb
  • JApplicationWebRouter
  • JApplicationWebRouterBase
  • JApplicationWebRouterRest
  • JArchive
  • JArchiveBzip2
  • JArchiveGzip
  • JArchiveTar
  • JArchiveWrapperArchive
  • JArchiveZip
  • JArrayHelper
  • JAssociationExtensionHelper
  • JAuthentication
  • JAuthenticationHelper
  • JAuthenticationResponse
  • JBrowser
  • JBuffer
  • JButton
  • JCache
  • JCacheController
  • JCacheControllerCallback
  • JCacheControllerOutput
  • JCacheControllerPage
  • JCacheControllerView
  • JCacheStorage
  • JCacheStorageApc
  • JCacheStorageApcu
  • JCacheStorageCachelite
  • JCacheStorageFile
  • JCacheStorageHelper
  • JCacheStorageMemcache
  • JCacheStorageMemcached
  • JCacheStorageRedis
  • JCacheStorageWincache
  • JCacheStorageXcache
  • JCaptcha
  • JCategories
  • JCategoryNode
  • JClassLoader
  • JCli
  • JClientFtp
  • JClientHelper
  • JClientLdap
  • JClientWrapperHelper
  • JComponentHelper
  • JComponentRecord
  • JComponentRouterBase
  • JComponentRouterLegacy
  • JComponentRouterRulesMenu
  • JComponentRouterRulesNomenu
  • JComponentRouterRulesStandard
  • JComponentRouterView
  • JComponentRouterViewconfiguration
  • JControllerAdmin
  • JControllerBase
  • JControllerForm
  • JControllerLegacy
  • JCrypt
  • JCryptCipher3Des
  • JCryptCipherBlowfish
  • JCryptCipherCrypto
  • JCryptCipherMcrypt
  • JCryptCipherRijndael256
  • JCryptCipherSimple
  • JCryptKey
  • JCryptPasswordSimple
  • JDaemon
  • JDatabase
  • JDatabaseDriver
  • JDatabaseDriverMysql
  • JDatabaseDriverMysqli
  • JDatabaseDriverOracle
  • JDatabaseDriverPdo
  • JDatabaseDriverPdomysql
  • JDatabaseDriverPostgresql
  • JDatabaseDriverSqlazure
  • JDatabaseDriverSqlite
  • JDatabaseDriverSqlsrv
  • JDatabaseExporter
  • JDatabaseExporterMysql
  • JDatabaseExporterMysqli
  • JDatabaseExporterPdomysql
  • JDatabaseExporterPostgresql
  • JDatabaseFactory
  • JDatabaseImporter
  • JDatabaseImporterMysql
  • JDatabaseImporterMysqli
  • JDatabaseImporterPdomysql
  • JDatabaseImporterPostgresql
  • JDatabaseInterface
  • JDatabaseIterator
  • JDatabaseIteratorMysql
  • JDatabaseIteratorMysqli
  • JDatabaseIteratorOracle
  • JDatabaseIteratorPdo
  • JDatabaseIteratorPdomysql
  • JDatabaseIteratorPostgresql
  • JDatabaseIteratorSqlazure
  • JDatabaseIteratorSqlite
  • JDatabaseIteratorSqlsrv
  • JDatabaseMysql
  • JDatabaseMysqli
  • JDatabaseQuery
  • JDatabaseQueryElement
  • JDatabaseQueryLimitable
  • JDatabaseQueryMysql
  • JDatabaseQueryMysqli
  • JDatabaseQueryOracle
  • JDatabaseQueryPdo
  • JDatabaseQueryPdomysql
  • JDatabaseQueryPostgresql
  • JDatabaseQueryPreparable
  • JDatabaseQuerySqlazure
  • JDatabaseQuerySqlite
  • JDatabaseQuerySqlsrv
  • JDatabaseSqlazure
  • JDatabaseSqlsrv
  • JDate
  • JDispatcher
  • JDocument
  • JDocumentError
  • JDocumentFeed
  • JDocumentHtml
  • JDocumentImage
  • JDocumentJson
  • JDocumentOpensearch
  • JDocumentRaw
  • JDocumentRenderer
  • JDocumentRendererAtom
  • JDocumentRendererComponent
  • JDocumentRendererFeedAtom
  • JDocumentRendererFeedRss
  • JDocumentRendererHead
  • JDocumentRendererHtmlComponent
  • JDocumentRendererHtmlHead
  • JDocumentRendererHtmlMessage
  • JDocumentRendererHtmlModule
  • JDocumentRendererHtmlModules
  • JDocumentRendererMessage
  • JDocumentRendererModule
  • JDocumentRendererModules
  • JDocumentRendererRSS
  • JDocumentXml
  • JEditor
  • JError
  • JErrorPage
  • JEvent
  • JEventDispatcher
  • JExtension
  • JFacebook
  • JFacebookAlbum
  • JFacebookCheckin
  • JFacebookComment
  • JFacebookEvent
  • JFacebookGroup
  • JFacebookLink
  • JFacebookNote
  • JFacebookOAuth
  • JFacebookObject
  • JFacebookPhoto
  • JFacebookPost
  • JFacebookStatus
  • JFacebookUser
  • JFacebookVideo
  • JFactory
  • JFeed
  • JFeedEnclosure
  • JFeedEntry
  • JFeedFactory
  • JFeedImage
  • JFeedItem
  • JFeedLink
  • JFeedParser
  • JFeedParserAtom
  • JFeedParserRss
  • JFeedParserRssItunes
  • JFeedParserRssMedia
  • JFeedPerson
  • JFile
  • JFilesystemHelper
  • JFilesystemPatcher
  • JFilesystemWrapperFile
  • JFilesystemWrapperFolder
  • JFilesystemWrapperPath
  • JFilterInput
  • JFilterOutput
  • JFilterWrapperOutput
  • JFolder
  • JForm
  • JFormField
  • JFormFieldAccessLevel
  • JFormFieldAliastag
  • JFormFieldAuthor
  • JFormFieldCacheHandler
  • JFormFieldCalendar
  • JFormFieldCaptcha
  • JFormFieldCategory
  • JFormFieldCheckbox
  • JFormFieldCheckboxes
  • JFormFieldChromeStyle
  • JFormFieldColor
  • JFormFieldCombo
  • JFormFieldComponentlayout
  • JFormFieldComponents
  • JFormFieldContenthistory
  • JFormFieldContentlanguage
  • JFormFieldContenttype
  • JFormFieldDatabaseConnection
  • JFormFieldEditor
  • JFormFieldEMail
  • JFormFieldFile
  • JFormFieldFileList
  • JFormFieldFolderList
  • JFormFieldFrontend_Language
  • JFormFieldGroupedList
  • JFormFieldHeadertag
  • JFormFieldHelpsite
  • JFormFieldHidden
  • JFormFieldImageList
  • JFormFieldInteger
  • JFormFieldLanguage
  • JFormFieldLastvisitDateRange
  • JFormFieldLimitbox
  • JFormFieldList
  • JFormFieldMedia
  • JFormFieldMenu
  • JFormFieldMenuitem
  • JFormFieldMeter
  • JFormFieldModulelayout
  • JFormFieldModuleOrder
  • JFormFieldModulePosition
  • JFormFieldModuletag
  • JFormFieldNote
  • JFormFieldNumber
  • JFormFieldOrdering
  • JFormFieldPassword
  • JFormFieldPlugin_Status
  • JFormFieldPlugins
  • JFormFieldPredefinedList
  • JFormFieldRadio
  • JFormFieldRange
  • JFormFieldRegistrationDateRange
  • JFormFieldRepeatable
  • JFormFieldRules
  • JFormFieldSessionHandler
  • JFormFieldSpacer
  • JFormFieldSQL
  • JFormFieldStatus
  • JFormFieldSubform
  • JFormFieldTag
  • JFormFieldTel
  • JFormFieldTemplatestyle
  • JFormFieldText
  • JFormFieldTextarea
  • JFormFieldTimezone
  • JFormFieldUrl
  • JFormFieldUser
  • JFormFieldUserActive
  • JFormFieldUsergroup
  • JFormFieldUserGroupList
  • JFormFieldUserState
  • JFormHelper
  • JFormRule
  • JFormRuleBoolean
  • JFormRuleCalendar
  • JFormRuleCaptcha
  • JFormRuleColor
  • JFormRuleEmail
  • JFormRuleEquals
  • JFormRuleNotequals
  • JFormRuleNumber
  • JFormRuleOptions
  • JFormRulePassword
  • JFormRuleRules
  • JFormRuleTel
  • JFormRuleUrl
  • JFormRuleUsername
  • JFormWrapperHelper
  • JFTP
  • JGithub
  • JGithubAccount
  • JGithubCommits
  • JGithubForks
  • JGithubHooks
  • JGithubHttp
  • JGithubMeta
  • JGithubMilestones
  • JGithubObject
  • JGithubPackage
  • JGithubPackageActivity
  • JGithubPackageActivityEvents
  • JGithubPackageActivityNotifications
  • JGithubPackageActivityStarring
  • JGithubPackageActivityWatching
  • JGithubPackageAuthorization
  • JGithubPackageData
  • JGithubPackageDataBlobs
  • JGithubPackageDataCommits
  • JGithubPackageDataRefs
  • JGithubPackageDataTags
  • JGithubPackageDataTrees
  • JGithubPackageGists
  • JGithubPackageGistsComments
  • JGithubPackageGitignore
  • JGithubPackageIssues
  • JGithubPackageIssuesAssignees
  • JGithubPackageIssuesComments
  • JGithubPackageIssuesEvents
  • JGithubPackageIssuesLabels
  • JGithubPackageIssuesMilestones
  • JGithubPackageMarkdown
  • JGithubPackageOrgs
  • JGithubPackageOrgsMembers
  • JGithubPackageOrgsTeams
  • JGithubPackagePulls
  • JGithubPackagePullsComments
  • JGithubPackageRepositories
  • JGithubPackageRepositoriesCollaborators
  • JGithubPackageRepositoriesComments
  • JGithubPackageRepositoriesCommits
  • JGithubPackageRepositoriesContents
  • JGithubPackageRepositoriesDownloads
  • JGithubPackageRepositoriesForks
  • JGithubPackageRepositoriesHooks
  • JGithubPackageRepositoriesKeys
  • JGithubPackageRepositoriesMerging
  • JGithubPackageRepositoriesStatistics
  • JGithubPackageRepositoriesStatuses
  • JGithubPackageSearch
  • JGithubPackageUsers
  • JGithubPackageUsersEmails
  • JGithubPackageUsersFollowers
  • JGithubPackageUsersKeys
  • JGithubRefs
  • JGithubStatuses
  • JGoogle
  • JGoogleAuth
  • JGoogleAuthOauth2
  • JGoogleData
  • JGoogleDataAdsense
  • JGoogleDataCalendar
  • JGoogleDataPicasa
  • JGoogleDataPicasaAlbum
  • JGoogleDataPicasaPhoto
  • JGoogleDataPlus
  • JGoogleDataPlusActivities
  • JGoogleDataPlusComments
  • JGoogleDataPlusPeople
  • JGoogleEmbed
  • JGoogleEmbedAnalytics
  • JGoogleEmbedMaps
  • JGrid
  • JHelp
  • JHelper
  • JHelperContent
  • JHelperContenthistory
  • JHelperMedia
  • JHelperRoute
  • JHelperTags
  • JHelperUsergroups
  • JHtml
  • JHtmlAccess
  • JHtmlActionsDropdown
  • JHtmlBatch
  • JHtmlBehavior
  • JHtmlBootstrap
  • JHtmlCategory
  • JHtmlContent
  • JHtmlContentLanguage
  • JHtmlDate
  • JHtmlDebug
  • JHtmlDropdown
  • JHtmlEmail
  • JHtmlForm
  • JHtmlFormbehavior
  • JHtmlGrid
  • JHtmlIcons
  • JHtmlJGrid
  • JHtmlJquery
  • JHtmlLinks
  • JHtmlList
  • JHtmlMenu
  • JHtmlNumber
  • JHtmlRules
  • JHtmlSearchtools
  • JHtmlSelect
  • JHtmlSidebar
  • JHtmlSliders
  • JHtmlSortablelist
  • JHtmlString
  • JHtmlTabs
  • JHtmlTag
  • JHtmlTel
  • JHtmlUser
  • JHttp
  • JHttpFactory
  • JHttpResponse
  • JHttpTransportCurl
  • JHttpTransportSocket
  • JHttpTransportStream
  • JHttpWrapperFactory
  • JImage
  • JImageFilter
  • JImageFilterBackgroundfill
  • JImageFilterBrightness
  • JImageFilterContrast
  • JImageFilterEdgedetect
  • JImageFilterEmboss
  • JImageFilterGrayscale
  • JImageFilterNegate
  • JImageFilterSketchy
  • JImageFilterSmooth
  • JInput
  • JInputCli
  • JInputCookie
  • JInputFiles
  • JInputJSON
  • JInstaller
  • JInstallerAdapter
  • JInstallerAdapterComponent
  • JInstallerAdapterFile
  • JInstallerAdapterLanguage
  • JInstallerAdapterLibrary
  • JInstallerAdapterModule
  • JInstallerAdapterPackage
  • JInstallerAdapterPlugin
  • JInstallerAdapterTemplate
  • JInstallerComponent
  • JInstallerExtension
  • JInstallerFile
  • JInstallerHelper
  • JInstallerLanguage
  • JInstallerLibrary
  • JInstallerManifest
  • JInstallerManifestLibrary
  • JInstallerManifestPackage
  • JInstallerModule
  • JInstallerPackage
  • JInstallerPlugin
  • JInstallerScript
  • JInstallerTemplate
  • JKeychain
  • JLanguage
  • JLanguageAssociations
  • JLanguageHelper
  • JLanguageMultilang
  • JLanguageStemmer
  • JLanguageStemmerPorteren
  • JLanguageTransliterate
  • JLanguageWrapperHelper
  • JLanguageWrapperText
  • JLanguageWrapperTransliterate
  • JLayoutBase
  • JLayoutFile
  • JLayoutHelper
  • JLDAP
  • JLess
  • JLessFormatterJoomla
  • JLibraryHelper
  • JLinkedin
  • JLinkedinCommunications
  • JLinkedinCompanies
  • JLinkedinGroups
  • JLinkedinJobs
  • JLinkedinOauth
  • JLinkedinObject
  • JLinkedinPeople
  • JLinkedinStream
  • JLoader
  • JLog
  • JLogEntry
  • JLogger
  • JLogLogger
  • JLogLoggerCallback
  • JLogLoggerDatabase
  • JLogLoggerEcho
  • JLogLoggerFormattedtext
  • JLogLoggerMessagequeue
  • JLogLoggerSyslog
  • JLogLoggerW3c
  • JMail
  • JMailHelper
  • JMailWrapperHelper
  • JMediawiki
  • JMediawikiCategories
  • JMediawikiHttp
  • JMediawikiImages
  • JMediawikiLinks
  • JMediawikiObject
  • JMediawikiPages
  • JMediawikiSearch
  • JMediawikiSites
  • JMediawikiUsers
  • JMenu
  • JMenuAdministrator
  • JMenuItem
  • JMenuSite
  • JMicrodata
  • JModelAdmin
  • JModelBase
  • JModelDatabase
  • JModelForm
  • JModelItem
  • JModelLegacy
  • JModelList
  • JModuleHelper
  • JNode
  • JOAuth1Client
  • JOAuth2Client
  • JObject
  • JObservable
  • JObserver
  • JObserverMapper
  • JObserverUpdater
  • JObserverWrapperMapper
  • JOpenSearchImage
  • JOpenSearchUrl
  • JOpenstreetmap
  • JOpenstreetmapChangesets
  • JOpenstreetmapElements
  • JOpenstreetmapGps
  • JOpenstreetmapInfo
  • JOpenstreetmapOauth
  • JOpenstreetmapObject
  • JOpenstreetmapUser
  • JPagination
  • JPaginationObject
  • JPath
  • JPathway
  • JPathwaySite
  • JPlatform
  • JPlugin
  • JPluginHelper
  • JProfiler
  • JRequest
  • JResponse
  • JResponseJson
  • JRoute
  • JRouter
  • JRouterAdministrator
  • JRouterSite
  • JRouteWrapperRoute
  • JRule
  • JRules
  • JSchemaChangeitem
  • JSchemaChangeitemMysql
  • JSchemaChangeitemPostgresql
  • JSchemaChangeitemSqlsrv
  • JSchemaChangeset
  • JSearchHelper
  • JSession
  • JSessionHandlerJoomla
  • JSessionHandlerNative
  • JSessionStorage
  • JSessionStorageApc
  • JSessionStorageDatabase
  • JSessionStorageMemcache
  • JSessionStorageMemcached
  • JSessionStorageNone
  • JSessionStorageWincache
  • JSessionStorageXcache
  • JSimplecrypt
  • JSimplepieFactory
  • JStream
  • JStreamString
  • JString
  • JStringController
  • JStringPunycode
  • JStringWrapperNormalise
  • JStringWrapperPunycode
  • JTable
  • JTableAsset
  • JTableCategory
  • JTableContent
  • JTableContenthistory
  • JTableContenttype
  • JTableCorecontent
  • JTableExtension
  • JTableInterface
  • JTableLanguage
  • JTableMenu
  • JTableMenuType
  • JTableModule
  • JTableNested
  • JTableObserver
  • JTableObserverContenthistory
  • JTableObserverTags
  • JTableSession
  • JTableUcm
  • JTableUpdate
  • JTableUpdatesite
  • JTableUser
  • JTableUsergroup
  • JTableViewlevel
  • JText
  • JToolbar
  • JToolbarButton
  • JToolbarButtonConfirm
  • JToolbarButtonCustom
  • JToolbarButtonHelp
  • JToolbarButtonLink
  • JToolbarButtonPopup
  • JToolbarButtonSeparator
  • JToolbarButtonSlider
  • JToolbarButtonStandard
  • JTree
  • JTwitter
  • JTwitterBlock
  • JTwitterDirectmessages
  • JTwitterFavorites
  • JTwitterFriends
  • JTwitterHelp
  • JTwitterLists
  • JTwitterOAuth
  • JTwitterObject
  • JTwitterPlaces
  • JTwitterProfile
  • JTwittersearch
  • JTwitterStatuses
  • JTwitterTrends
  • JTwitterUsers
  • JUcmBase
  • JUcmContent
  • JUcmType
  • JUpdate
  • JUpdateAdapter
  • JUpdater
  • JUpdaterCollection
  • JUpdaterExtension
  • JUri
  • JUser
  • JUserHelper
  • JUserWrapperHelper
  • JUtility
  • JVersion
  • JViewBase
  • JViewCategories
  • JViewCategory
  • JViewCategoryfeed
  • JViewHtml
  • JViewLegacy
  • JWeb
  • JWebClient
  • JXMLElement
  • lessc
  • lessc_formatter_classic
  • lessc_formatter_compressed
  • lessc_formatter_lessjs
  • lessc_parser
  • lessify
  • Net_IDNA_php4
  • nodecounter
  • ntlm_sasl_client_class
  • PHPMailer
  • PHPMailerOAuth
  • PHPMailerOAuthGoogle
  • POP3
  • SimplePie
  • SimplePie_Author
  • SimplePie_Autoloader
  • SimplePie_Cache
  • SimplePie_Cache_DB
  • SimplePie_Cache_File
  • SimplePie_Cache_Memcache
  • SimplePie_Cache_MySQL
  • SimplePie_Caption
  • SimplePie_Category
  • SimplePie_Content_Type_Sniffer
  • SimplePie_Copyright
  • SimplePie_Core
  • SimplePie_Credit
  • SimplePie_Decode_HTML_Entities
  • SimplePie_Enclosure
  • SimplePie_File
  • SimplePie_gzdecode
  • SimplePie_HTTP_Parser
  • SimplePie_IRI
  • SimplePie_Item
  • SimplePie_Locator
  • SimplePie_Misc
  • SimplePie_Net_IPv6
  • SimplePie_Parse_Date
  • SimplePie_Parser
  • SimplePie_Rating
  • SimplePie_Registry
  • SimplePie_Restriction
  • SimplePie_Sanitize
  • SimplePie_Source
  • SimplePie_XML_Declaration_Parser
  • SMTP
  • tagparse
  • TypeError

Interfaces

  • FOFConfigDomainInterface
  • FOFDatabaseInterface
  • FOFDatabaseQueryLimitable
  • FOFDatabaseQueryPreparable
  • FOFDownloadInterface
  • FOFEncryptAesInterface
  • FOFEncryptRandvalinterface
  • FOFFormField
  • FOFHalRenderInterface
  • FOFPlatformFilesystemInterface
  • FOFPlatformInterface
  • JArchiveExtractable
  • JAssociationExtensionInterface
  • JCacheException
  • JComponentRouterInterface
  • JComponentRouterRulesInterface
  • JController
  • JCryptCipher
  • JCryptPassword
  • JFeedParserNamespace
  • JHttpTransport
  • JLayout
  • JModel
  • JObservableInterface
  • JObserverInterface
  • JObserverUpdaterInterface
  • JSessionHandlerInterface
  • JsonSerializable
  • JUcm
  • JView
  • SimplePie_Cache_Base

Exceptions

  • Error
  • JAccessExceptionNotallowed
  • JCacheExceptionConnecting
  • JCacheExceptionUnsupported
  • JComponentExceptionMissing
  • JDatabaseException
  • JDatabaseExceptionConnecting
  • JDatabaseExceptionExecuting
  • JDatabaseExceptionUnsupported
  • JException
  • JSessionExceptionUnsupported
  • LogException
  • phpmailerException
  • SimplePie_Exception

Constants

  • JERROR_CALLBACK_NOT_CALLABLE
  • JERROR_ILLEGAL_MODE
  • JERROR_ILLEGAL_OPTIONS
  • JREQUEST_ALLOWHTML
  • JREQUEST_ALLOWRAW
  • JREQUEST_NOTRIM
  • JROUTER_MODE_RAW
  • JROUTER_MODE_SEF

Functions

  • __autoload
  • array_column
  • boolval
  • composerRequire205c915b9c7d3e718e7c95793ee67ffe
  • gzopen
  • gzseek
  • gztell
  • hash_equals
  • hash_pbkdf2
  • HTMLFilter
  • jexit
  • jimport
  • json_last_error_msg
  • ldap_escape
  • password_get_info
  • password_hash
  • password_needs_rehash
  • password_verify
  • PHPMailerAutoload
  • random_bytes
  • random_int
  • RandomCompat_intval
  • RandomCompat_strlen
  • RandomCompat_substr
  • tln_body2div
  • tln_casenormalize
  • tln_deent
  • tln_defang
  • tln_findnxreg
  • tln_findnxstr
  • tln_fixatts
  • tln_fixstyle
  • tln_fixurl
  • tln_getnxtag
  • tln_sanitize
  • tln_skipspace
  • tln_tagprint
  • tln_unspace
  • utf8_accents_to_ascii
  • utf8_bad_explain
  • utf8_bad_find
  • utf8_bad_findall
  • utf8_bad_identify
  • utf8_bad_replace
  • utf8_bad_strip
  • utf8_byte_position
  • utf8_compliant
  • utf8_from_unicode
  • utf8_ireplace
  • utf8_is_ascii
  • utf8_is_ascii_ctrl
  • utf8_is_valid
  • utf8_is_word_chars
  • utf8_locate_current_chr
  • utf8_locate_next_chr
  • utf8_ltrim
  • utf8_ord
  • utf8_rtrim
  • utf8_specials_pattern
  • utf8_str_pad
  • utf8_str_split
  • utf8_strcasecmp
  • utf8_strcspn
  • utf8_strip_ascii_ctrl
  • utf8_strip_non_ascii
  • utf8_strip_non_ascii_ctrl
  • utf8_strip_specials
  • utf8_stristr
  • utf8_strlen
  • utf8_strpos
  • utf8_strrev
  • utf8_strrpos
  • utf8_strspn
  • utf8_strtolower
  • utf8_strtoupper
  • utf8_substr
  • utf8_substr_replace
  • utf8_to_unicode
  • utf8_trim
  • utf8_ucfirst
  • utf8_ucwords
  • utf8_ucwords_callback
  1 <?php
  2 /**
  3  * @package     Joomla.Libraries
  4  * @subpackage  Module
  5  *
  6  * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
  7  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8  */
  9 
 10 defined('JPATH_PLATFORM') or die;
 11 
 12 use Joomla\Registry\Registry;
 13 
 14 /**
 15  * Module helper class
 16  *
 17  * @since  1.5
 18  */
 19 abstract class JModuleHelper
 20 {
 21     /**
 22      * Get module by name (real, eg 'Breadcrumbs' or folder, eg 'mod_breadcrumbs')
 23      *
 24      * @param   string  $name   The name of the module
 25      * @param   string  $title  The title of the module, optional
 26      *
 27      * @return  stdClass  The Module object
 28      *
 29      * @since   1.5
 30      */
 31     public static function &getModule($name, $title = null)
 32     {
 33         $result = null;
 34         $modules =& static::load();
 35         $total = count($modules);
 36 
 37         for ($i = 0; $i < $total; $i++)
 38         {
 39             // Match the name of the module
 40             if ($modules[$i]->name === $name || $modules[$i]->module === $name)
 41             {
 42                 // Match the title if we're looking for a specific instance of the module
 43                 if (!$title || $modules[$i]->title === $title)
 44                 {
 45                     // Found it
 46                     $result = &$modules[$i];
 47                     break;
 48                 }
 49             }
 50         }
 51 
 52         // If we didn't find it, and the name is mod_something, create a dummy object
 53         if ($result === null && strpos($name, 'mod_') === 0)
 54         {
 55             $result            = new stdClass;
 56             $result->id        = 0;
 57             $result->title     = '';
 58             $result->module    = $name;
 59             $result->position  = '';
 60             $result->content   = '';
 61             $result->showtitle = 0;
 62             $result->control   = '';
 63             $result->params    = '';
 64         }
 65 
 66         return $result;
 67     }
 68 
 69     /**
 70      * Get modules by position
 71      *
 72      * @param   string  $position  The position of the module
 73      *
 74      * @return  array  An array of module objects
 75      *
 76      * @since   1.5
 77      */
 78     public static function &getModules($position)
 79     {
 80         $position = strtolower($position);
 81         $result = array();
 82         $input  = JFactory::getApplication()->input;
 83 
 84         $modules =& static::load();
 85 
 86         $total = count($modules);
 87 
 88         for ($i = 0; $i < $total; $i++)
 89         {
 90             if ($modules[$i]->position === $position)
 91             {
 92                 $result[] = &$modules[$i];
 93             }
 94         }
 95 
 96         if (count($result) === 0)
 97         {
 98             if ($input->getBool('tp') && JComponentHelper::getParams('com_templates')->get('template_positions_display'))
 99             {
100                 $result[0] = static::getModule('mod_' . $position);
101                 $result[0]->title = $position;
102                 $result[0]->content = $position;
103                 $result[0]->position = $position;
104             }
105         }
106 
107         return $result;
108     }
109 
110     /**
111      * Checks if a module is enabled. A given module will only be returned
112      * if it meets the following criteria: it is enabled, it is assigned to
113      * the current menu item or all items, and the user meets the access level
114      * requirements.
115      *
116      * @param   string  $module  The module name
117      *
118      * @return  boolean See description for conditions.
119      *
120      * @since   1.5
121      */
122     public static function isEnabled($module)
123     {
124         $result = static::getModule($module);
125 
126         return $result !== null && $result->id !== 0;
127     }
128 
129     /**
130      * Render the module.
131      *
132      * @param   object  $module   A module object.
133      * @param   array   $attribs  An array of attributes for the module (probably from the XML).
134      *
135      * @return  string  The HTML content of the module output.
136      *
137      * @since   1.5
138      */
139     public static function renderModule($module, $attribs = array())
140     {
141         static $chrome;
142 
143         // Check that $module is a valid module object
144         if (!is_object($module) || !isset($module->module) || !isset($module->params))
145         {
146             if (JDEBUG)
147             {
148                 JLog::addLogger(array('text_file' => 'jmodulehelper.log.php'), JLog::ALL, array('modulehelper'));
149                 JLog::add('JModuleHelper::renderModule($module) expects a module object', JLog::DEBUG, 'modulehelper');
150             }
151 
152             return;
153         }
154 
155         if (JDEBUG)
156         {
157             JProfiler::getInstance('Application')->mark('beforeRenderModule ' . $module->module . ' (' . $module->title . ')');
158         }
159 
160         $app = JFactory::getApplication();
161 
162         // Record the scope.
163         $scope = $app->scope;
164 
165         // Set scope to component name
166         $app->scope = $module->module;
167 
168         // Get module parameters
169         $params = new Registry($module->params);
170 
171         // Get the template
172         $template = $app->getTemplate();
173 
174         // Get module path
175         $module->module = preg_replace('/[^A-Z0-9_\.-]/i', '', $module->module);
176         $path = JPATH_BASE . '/modules/' . $module->module . '/' . $module->module . '.php';
177 
178         // Load the module
179         if (file_exists($path))
180         {
181             $lang = JFactory::getLanguage();
182 
183             $coreLanguageDirectory      = JPATH_BASE;
184             $extensionLanguageDirectory = dirname($path);
185 
186             $langPaths = $lang->getPaths();
187 
188             // Only load the module's language file if it hasn't been already
189             if (!$langPaths || (!isset($langPaths[$coreLanguageDirectory]) && !isset($langPaths[$extensionLanguageDirectory])))
190             {
191                 // 1.5 or Core then 1.6 3PD
192                 $lang->load($module->module, $coreLanguageDirectory, null, false, true) ||
193                     $lang->load($module->module, $extensionLanguageDirectory, null, false, true);
194             }
195 
196             $content = '';
197             ob_start();
198             include $path;
199             $module->content = ob_get_contents() . $content;
200             ob_end_clean();
201         }
202 
203         // Load the module chrome functions
204         if (!$chrome)
205         {
206             $chrome = array();
207         }
208 
209         include_once JPATH_THEMES . '/system/html/modules.php';
210         $chromePath = JPATH_THEMES . '/' . $template . '/html/modules.php';
211 
212         if (!isset($chrome[$chromePath]))
213         {
214             if (file_exists($chromePath))
215             {
216                 include_once $chromePath;
217             }
218 
219             $chrome[$chromePath] = true;
220         }
221 
222         // Check if the current module has a style param to override template module style
223         $paramsChromeStyle = $params->get('style');
224 
225         if ($paramsChromeStyle)
226         {
227             $attribs['style'] = preg_replace('/^(system|' . $template . ')\-/i', '', $paramsChromeStyle);
228         }
229 
230         // Make sure a style is set
231         if (!isset($attribs['style']))
232         {
233             $attribs['style'] = 'none';
234         }
235 
236         // Dynamically add outline style
237         if ($app->input->getBool('tp') && JComponentHelper::getParams('com_templates')->get('template_positions_display'))
238         {
239             $attribs['style'] .= ' outline';
240         }
241 
242         // If the $module is nulled it will return an empty content, otherwise it will render the module normally.
243         $app->triggerEvent('onRenderModule', array(&$module, &$attribs));
244 
245         if ($module === null || !isset($module->content))
246         {
247             return '';
248         }
249 
250         foreach (explode(' ', $attribs['style']) as $style)
251         {
252             $chromeMethod = 'modChrome_' . $style;
253 
254             // Apply chrome and render module
255             if (function_exists($chromeMethod))
256             {
257                 $module->style = $attribs['style'];
258 
259                 ob_start();
260                 $chromeMethod($module, $params, $attribs);
261                 $module->content = ob_get_contents();
262                 ob_end_clean();
263             }
264         }
265 
266         // Revert the scope
267         $app->scope = $scope;
268 
269         $app->triggerEvent('onAfterRenderModule', array(&$module, &$attribs));
270 
271         if (JDEBUG)
272         {
273             JProfiler::getInstance('Application')->mark('afterRenderModule ' . $module->module . ' (' . $module->title . ')');
274         }
275 
276         return $module->content;
277     }
278 
279     /**
280      * Get the path to a layout for a module
281      *
282      * @param   string  $module  The name of the module
283      * @param   string  $layout  The name of the module layout. If alternative layout, in the form template:filename.
284      *
285      * @return  string  The path to the module layout
286      *
287      * @since   1.5
288      */
289     public static function getLayoutPath($module, $layout = 'default')
290     {
291         $template = JFactory::getApplication()->getTemplate();
292         $defaultLayout = $layout;
293 
294         if (strpos($layout, ':') !== false)
295         {
296             // Get the template and file name from the string
297             $temp = explode(':', $layout);
298             $template = $temp[0] === '_' ? $template : $temp[0];
299             $layout = $temp[1];
300             $defaultLayout = $temp[1] ?: 'default';
301         }
302 
303         // Build the template and base path for the layout
304         $tPath = JPATH_THEMES . '/' . $template . '/html/' . $module . '/' . $layout . '.php';
305         $bPath = JPATH_BASE . '/modules/' . $module . '/tmpl/' . $defaultLayout . '.php';
306         $dPath = JPATH_BASE . '/modules/' . $module . '/tmpl/default.php';
307 
308         // If the template has a layout override use it
309         if (file_exists($tPath))
310         {
311             return $tPath;
312         }
313 
314         if (file_exists($bPath))
315         {
316             return $bPath;
317         }
318 
319         return $dPath;
320     }
321 
322     /**
323      * Load published modules.
324      *
325      * @return  array
326      *
327      * @since   1.5
328      * @deprecated  4.0  Use JModuleHelper::load() instead
329      */
330     protected static function &_load()
331     {
332         return static::load();
333     }
334 
335     /**
336      * Load published modules.
337      *
338      * @return  array
339      *
340      * @since   3.2
341      */
342     protected static function &load()
343     {
344         static $modules;
345 
346         if (isset($modules))
347         {
348             return $modules;
349         }
350 
351         $app = JFactory::getApplication();
352 
353         $modules = null;
354 
355         $app->triggerEvent('onPrepareModuleList', array(&$modules));
356 
357         // If the onPrepareModuleList event returns an array of modules, then ignore the default module list creation
358         if (!is_array($modules))
359         {
360             $modules = static::getModuleList();
361         }
362 
363         $app->triggerEvent('onAfterModuleList', array(&$modules));
364 
365         $modules = static::cleanModuleList($modules);
366 
367         $app->triggerEvent('onAfterCleanModuleList', array(&$modules));
368 
369         return $modules;
370     }
371 
372     /**
373      * Module list
374      *
375      * @return  array
376      */
377     public static function getModuleList()
378     {
379         $app = JFactory::getApplication();
380         $Itemid = $app->input->getInt('Itemid', 0);
381         $groups = implode(',', JFactory::getUser()->getAuthorisedViewLevels());
382         $lang = JFactory::getLanguage()->getTag();
383         $clientId = (int) $app->getClientId();
384 
385         // Build a cache ID for the resulting data object
386         $cacheId = $groups . $clientId . $Itemid;
387 
388         $db = JFactory::getDbo();
389 
390         $query = $db->getQuery(true)
391             ->select('m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid')
392             ->from('#__modules AS m')
393             ->join('LEFT', '#__modules_menu AS mm ON mm.moduleid = m.id')
394             ->where('m.published = 1')
395             ->join('LEFT', '#__extensions AS e ON e.element = m.module AND e.client_id = m.client_id')
396             ->where('e.enabled = 1');
397 
398         $date = JFactory::getDate();
399         $now = $date->toSql();
400         $nullDate = $db->getNullDate();
401         $query->where('(m.publish_up = ' . $db->quote($nullDate) . ' OR m.publish_up <= ' . $db->quote($now) . ')')
402             ->where('(m.publish_down = ' . $db->quote($nullDate) . ' OR m.publish_down >= ' . $db->quote($now) . ')')
403             ->where('m.access IN (' . $groups . ')')
404             ->where('m.client_id = ' . $clientId)
405             ->where('(mm.menuid = ' . $Itemid . ' OR mm.menuid <= 0)');
406 
407         // Filter by language
408         if ($app->isClient('site') && $app->getLanguageFilter())
409         {
410             $query->where('m.language IN (' . $db->quote($lang) . ',' . $db->quote('*') . ')');
411             $cacheId .= $lang . '*';
412         }
413 
414         $query->order('m.position, m.ordering');
415 
416         // Set the query
417         $db->setQuery($query);
418 
419         try
420         {
421             /** @var JCacheControllerCallback $cache */
422             $cache = JFactory::getCache('com_modules', 'callback');
423 
424             $modules = $cache->get(array($db, 'loadObjectList'), array(), md5($cacheId), false);
425         }
426         catch (RuntimeException $e)
427         {
428             JLog::add(JText::sprintf('JLIB_APPLICATION_ERROR_MODULE_LOAD', $e->getMessage()), JLog::WARNING, 'jerror');
429 
430             return array();
431         }
432 
433         return $modules;
434     }
435 
436     /**
437      * Clean the module list
438      *
439      * @param   array  $modules  Array with module objects
440      *
441      * @return  array
442      */
443     public static function cleanModuleList($modules)
444     {
445         // Apply negative selections and eliminate duplicates
446         $Itemid = JFactory::getApplication()->input->getInt('Itemid');
447         $negId = $Itemid ? -(int) $Itemid : false;
448         $clean = array();
449         $dupes = array();
450 
451         foreach ($modules as $i => $module)
452         {
453             // The module is excluded if there is an explicit prohibition
454             $negHit = ($negId === (int) $module->menuid);
455 
456             if (isset($dupes[$module->id]))
457             {
458                 // If this item has been excluded, keep the duplicate flag set,
459                 // but remove any item from the modules array.
460                 if ($negHit)
461                 {
462                     unset($clean[$module->id]);
463                 }
464 
465                 continue;
466             }
467 
468             $dupes[$module->id] = true;
469 
470             // Only accept modules without explicit exclusions.
471             if ($negHit)
472             {
473                 continue;
474             }
475 
476             $module->name = substr($module->module, 4);
477             $module->style = null;
478             $module->position = strtolower($module->position);
479 
480             $clean[$module->id] = $module;
481         }
482 
483         unset($dupes);
484 
485         // Return to simple indexing that matches the query order.
486         return array_values($clean);
487     }
488 
489     /**
490      * Module cache helper
491      *
492      * Caching modes:
493      * To be set in XML:
494      * 'static'      One cache file for all pages with the same module parameters
495      * 'oldstatic'   1.5 definition of module caching, one cache file for all pages
496      *               with the same module id and user aid,
497      * 'itemid'      Changes on itemid change, to be called from inside the module:
498      * 'safeuri'     Id created from $cacheparams->modeparams array,
499      * 'id'          Module sets own cache id's
500      *
501      * @param   object  $module        Module object
502      * @param   object  $moduleparams  Module parameters
503      * @param   object  $cacheparams   Module cache parameters - id or URL parameters, depending on the module cache mode
504      *
505      * @return  string
506      *
507      * @see     JFilterInput::clean()
508      * @since   1.6
509      */
510     public static function moduleCache($module, $moduleparams, $cacheparams)
511     {
512         if (!isset($cacheparams->modeparams))
513         {
514             $cacheparams->modeparams = null;
515         }
516 
517         if (!isset($cacheparams->cachegroup))
518         {
519             $cacheparams->cachegroup = $module->module;
520         }
521 
522         $user = JFactory::getUser();
523         $conf = JFactory::getConfig();
524 
525         /** @var JCacheControllerCallback $cache */
526         $cache = JFactory::getCache($cacheparams->cachegroup, 'callback');
527 
528         // Turn cache off for internal callers if parameters are set to off and for all logged in users
529         if ($moduleparams->get('owncache', null) === '0' || $conf->get('caching') == 0 || $user->get('id'))
530         {
531             $cache->setCaching(false);
532         }
533 
534         // Module cache is set in seconds, global cache in minutes, setLifeTime works in minutes
535         $cache->setLifeTime($moduleparams->get('cache_time', $conf->get('cachetime') * 60) / 60);
536 
537         $wrkaroundoptions = array('nopathway' => 1, 'nohead' => 0, 'nomodules' => 1, 'modulemode' => 1, 'mergehead' => 1);
538 
539         $wrkarounds = true;
540         $view_levels = md5(serialize($user->getAuthorisedViewLevels()));
541 
542         switch ($cacheparams->cachemode)
543         {
544             case 'id':
545                 $ret = $cache->get(
546                     array($cacheparams->class, $cacheparams->method),
547                     $cacheparams->methodparams,
548                     $cacheparams->modeparams,
549                     $wrkarounds,
550                     $wrkaroundoptions
551                 );
552                 break;
553 
554             case 'safeuri':
555                 $secureid = null;
556 
557                 if (is_array($cacheparams->modeparams))
558                 {
559                     $input   = JFactory::getApplication()->input;
560                     $uri     = $input->getArray();
561                     $safeuri = new stdClass;
562                     $noHtmlFilter = JFilterInput::getInstance();
563 
564                     foreach ($cacheparams->modeparams as $key => $value)
565                     {
566                         // Use int filter for id/catid to clean out spamy slugs
567                         if (isset($uri[$key]))
568                         {
569                             $safeuri->$key = $noHtmlFilter->clean($uri[$key], $value);
570                         }
571                     }
572                 }
573 
574                 $secureid = md5(serialize(array($safeuri, $cacheparams->method, $moduleparams)));
575                 $ret = $cache->get(
576                     array($cacheparams->class, $cacheparams->method),
577                     $cacheparams->methodparams,
578                     $module->id . $view_levels . $secureid,
579                     $wrkarounds,
580                     $wrkaroundoptions
581                 );
582                 break;
583 
584             case 'static':
585                 $ret = $cache->get(
586                     array($cacheparams->class, $cacheparams->method),
587                     $cacheparams->methodparams,
588                     $module->module . md5(serialize($cacheparams->methodparams)),
589                     $wrkarounds,
590                     $wrkaroundoptions
591                 );
592                 break;
593 
594             // Provided for backward compatibility, not really useful.
595             case 'oldstatic':
596                 $ret = $cache->get(
597                     array($cacheparams->class, $cacheparams->method),
598                     $cacheparams->methodparams,
599                     $module->id . $view_levels,
600                     $wrkarounds,
601                     $wrkaroundoptions
602                 );
603                 break;
604 
605             case 'itemid':
606             default:
607                 $ret = $cache->get(
608                     array($cacheparams->class, $cacheparams->method),
609                     $cacheparams->methodparams,
610                     $module->id . $view_levels . JFactory::getApplication()->input->getInt('Itemid', null),
611                     $wrkarounds,
612                     $wrkaroundoptions
613                 );
614                 break;
615         }
616 
617         return $ret;
618     }
619 }
620 
Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.