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

Class FOFModel

FrameworkOnFramework Model class. The Model is the workhorse. It performs all of the business logic based on its state and then returns the raw (processed) data to the caller, or modifies its own state. It's important to note that the model doesn't get data directly from the request (this is the Controller's business) and that it doesn't output anything (that the View's business).

FOFUtilsObject
Extended by FOFModel

Direct known subclasses

FOFUtilsUpdate

Package: FrameworkOnFramework\model
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 1.0
Located at fof/model/model.php

Methods summary

public static FOFModel &
# getAnInstance( string $type, string $prefix = '', array $config = array() )

Returns a new model object. Unless overriden by the $config array, it will try to automatically populate its state from the request variables.

Returns a new model object. Unless overriden by the $config array, it will try to automatically populate its state from the request variables.

Parameters

$type
string - $type Model type, e.g. 'Items'
$prefix
string - $prefix Model prefix, e.g. 'FoobarModel'
$config
array - $config Model configuration variables

Returns

FOFModel
public boolean
# addBehavior( string $name, array $config = array() )

Adds a behavior to the model

Adds a behavior to the model

Parameters

$name
string - $name The name of the behavior
$config
array - $config Optional Behavior configuration

Returns

boolean - True if the behavior is found and added
public static FOFModel &
# getTmpInstance( string $type, string $prefix = '', array $config = array() )

Returns a new instance of a model, with the state reset to defaults

Returns a new instance of a model, with the state reset to defaults

Parameters

$type
string - $type Model type, e.g. 'Items'
$prefix
string - $prefix Model prefix, e.g. 'FoobarModel'
$config
array - $config Model configuration variables

Returns

FOFModel
public static array
# addIncludePath( mixed $path = '', string $prefix = '' )

Add a directory where FOFModel should search for models. You may either pass a string or an array of directories.

Add a directory where FOFModel should search for models. You may either pass a string or an array of directories.

Parameters

$path
mixed - $path A path or array[sting] of paths to search.
$prefix
string - $prefix A prefix for models.

Returns

array - An array with directory elements. If prefix is equal to '', all directories are returned.

Since

12.2
public static
# addTablePath( mixed $path )

Adds to the stack of model table paths in LIFO order.

Adds to the stack of model table paths in LIFO order.

Parameters

$path
mixed - $path The directory as a string or directories as an array to add.

Since

12.2
protected static string
# _createFileName( string $type, array $parts = array() )

Create the filename for a resource

Create the filename for a resource

Parameters

$type
string - $type The resource type to create the filename for.
$parts
array - $parts An associative array of filename information.

Returns

string - The filename

Since

12.2
public
# __construct( array $config = array() )

Public class constructor

Public class constructor

Parameters

$config
array - $config The configuration array

Overrides

FOFUtilsObject::__construct
public FOFModel
# setIDsFromRequest( )

Sets the list of IDs from the request data

Sets the list of IDs from the request data

Returns

FOFModel
public FOFModel
# setId( integer $id = 0 )

Sets the ID and resets internal data

Sets the ID and resets internal data

Parameters

$id
integer - $id The ID to use

Returns

FOFModel

Throws

InvalidArgumentException
public integer
# getId( )

Returns the currently set ID

Returns the currently set ID

Returns

integer
public FOFModel
# setIds( array $idlist )

Sets a list of IDs for batch operations from an array and resets the model

Sets a list of IDs for batch operations from an array and resets the model

Parameters

$idlist
array - $idlist An array of item IDs to be set to the model's state

Returns

FOFModel
public array
# getIds( )

Returns the list of IDs for batch operations

Returns the list of IDs for batch operations

Returns

array - An array of integers
public FOFModel
# reset( )

Resets the model, like it was freshly loaded

Resets the model, like it was freshly loaded

Returns

FOFModel
public FOFModel
# clearState( )

Clears the model state, but doesn't touch the internal lists of records, record tables or record id variables. To clear these values, please use reset().

Clears the model state, but doesn't touch the internal lists of records, record tables or record id variables. To clear these values, please use reset().

Returns

FOFModel
public FOFModel
# clearInput( )

Clears the input array.

Clears the input array.

Returns

FOFModel
public FOFModel
# setInput( mixed $input )

Set the internal input field

Set the internal input field

Parameters

$input
mixed - $input

Returns

FOFModel
public FOFModel
# resetSavedState( )

Resets the saved state for this view

Resets the saved state for this view

Returns

FOFModel
public boolean
# loadhistory( integer $version_id, FOFTable & $table, string $alias )

Method to load a row for editing from the version history table.

Method to load a row for editing from the version history table.

Parameters

$version_id
integer - $version_id Key to the version history table.
$table
FOFTable - &$table Content table object being loaded.
$alias
string - $alias The type_alias in #__content_types

Returns

boolean - False on failure or error, true otherwise.

Since

2.3
public FOFTable &
# getItem( integer $id = null )

Returns a single item. It uses the id set with setId, or the first ID in the list of IDs for batch operations

Returns a single item. It uses the id set with setId, or the first ID in the list of IDs for batch operations

Parameters

$id
integer - $id Force a primary key ID to the model. Use null to use the id from the state.

Returns

FOFTable - A copy of the item's FOFTable array
public array &
# getList( boolean $overrideLimits = false, string $group = '' )

Alias for getItemList

Alias for getItemList

Parameters

$overrideLimits
boolean - $overrideLimits Should I override set limits?
$group
string - $group The group by clause

Returns

array

CodeCoverageIgnore

public array &
# getItemList( boolean $overrideLimits = false, string $group = '' )

Returns a list of items

Returns a list of items

Parameters

$overrideLimits
boolean - $overrideLimits Should I override set limits?
$group
string - $group The group by clause

Returns

array
public FOFDatabaseIterator &
# getIterator( boolean $overrideLimits = false, string $tableClass = null )

Returns a FOFDatabaseIterator over a list of items.

Returns a FOFDatabaseIterator over a list of items.

THERE BE DRAGONS. Unlike the getItemList() you have a few restrictions:

  • The onProcessList event does not run when you get an iterator
  • The Iterator returns FOFTable instances. By default, $this->table is used. If you have JOINs, GROUPs or a complex query in general you will need to create a custom FOFTable subclass and pass its type in $tableType.

The getIterator() method is a great way to sift through a large amount of records which would otherwise not fit in memory since it only keeps one record in PHP memory at a time. It works best with simple models, returning all the contents of a single database table.

Parameters

$overrideLimits
boolean - $overrideLimits Should I ignore set limits?
$tableClass
string - $tableClass The table class for the iterator, e.g. FoobarTableBar. Leave empty to use the default Table class for this Model.

Returns

FOFDatabaseIterator
public FOFTable &
# getFirstItem( boolean $overrideLimits = false )

A cross-breed between getItem and getItemList. It runs the complete query, like getItemList does. However, instead of returning an array of ad-hoc objects, it binds the data from the first item fetched on the list to an instance of the table object and returns that table object instead.

A cross-breed between getItem and getItemList. It runs the complete query, like getItemList does. However, instead of returning an array of ad-hoc objects, it binds the data from the first item fetched on the list to an instance of the table object and returns that table object instead.

Parameters

$overrideLimits
boolean - $overrideLimits Should I override set limits?

Returns

FOFTable
public boolean
# save( array|object $data )

Binds the data to the model and tries to save it

Binds the data to the model and tries to save it

Parameters

$data
array|object - $data The source data array or object

Returns

boolean - True on success
public boolean
# copy( )

Copy one or more records

Copy one or more records

Returns

boolean - True on success
public FOFTable
# getSavedTable( )

Returns the table object after the last save() operation

Returns the table object after the last save() operation

Returns

FOFTable
public boolean
# delete( )

Deletes one or several items

Deletes one or several items

Returns

boolean - True on success
public boolean
# publish( integer $publish = 1, integer $user = null )

Toggles the published state of one or several items

Toggles the published state of one or several items

Parameters

$publish
integer - $publish The publishing state to set (e.g. 0 is unpublished)
$user
integer - $user The user ID performing this action

Returns

boolean - True on success
public boolean
# checkout( )

Checks out the current item

Checks out the current item

Returns

boolean
public boolean
# checkin( )

Checks in the current item

Checks in the current item

Returns

boolean
public boolean
# isCheckedOut( )

Tells you if the current item is checked out or not

Tells you if the current item is checked out or not

Returns

boolean
public boolean
# hit( )

Increments the hit counter

Increments the hit counter

Returns

boolean
public boolean
# move( string $dirn )

Moves the current item up or down in the ordering list

Moves the current item up or down in the ordering list

Parameters

$dirn
string - $dirn The direction and magnitude to use (2 means move up by 2 positions, -3 means move down three positions)

Returns

boolean - True on success
public boolean
# reorder( )

Reorders all items in the table

Reorders all items in the table

Returns

boolean
public JPagination
# getPagination( )

Get a pagination object

Get a pagination object

Returns

JPagination
public integer
# getTotal( )

Get the number of all items

Get the number of all items

Returns

integer
protected integer
# _getListCount( string $query )

Returns a record count for the query

Returns a record count for the query

Parameters

$query
string - $query The query.

Returns

integer - Number of rows for query

Since

12.2
public mixed
# getState( string $key = null, mixed $default = null, string $filter_type = 'raw' )

Get a filtered state variable

Get a filtered state variable

Parameters

$key
string - $key The name of the state variable
$default
mixed - $default The default value to use
$filter_type
string - $filter_type Filter type

Returns

mixed - The variable's value
protected object
# _real_getState( string $property = null, mixed $default = null )

Method to get model state variables

Method to get model state variables

Parameters

$property
string - $property Optional parameter name
$default
mixed - $default Optional default value

Returns

object - The property where specified, the state object where omitted

Since

12.2
public string
# getHash( )

Returns a hash for this component and view, e.g. "foobar.items.", used for determining the keys of the variables which will be placed in the session storage.

Returns a hash for this component and view, e.g. "foobar.items.", used for determining the keys of the variables which will be placed in the session storage.

Returns

string - The hash
protected string
# getUserStateFromRequest( string $key, string $request, string $default = null, string $type = 'none', boolean $setUserState = true )

Gets the value of a user state variable.

Gets the value of a user state variable.

Parameters

$key
string - $key The key of the user state variable.
$request
string - $request The name of the variable passed in a request.
$default
string - $default The default value for the variable if not found. Optional.
$type
string - $type Filter for the variable, for valid values see JFilterInput::clean(). Optional.
$setUserState
boolean - $setUserState Should I save the variable in the user state? Default: true. Optional.

Returns

string - The request user state.
protected array &
# _getList( string $query, integer $limitstart = 0, integer $limit = 0, string $group = '' )

Returns an object list

Returns an object list

Parameters

$query
string - $query The query
$limitstart
integer - $limitstart Offset from start
$limit
integer - $limit The number of records
$group
string - $group The group by clause

Returns

array - Array of objects
public FOFTable
# getTable( string $name = '', string $prefix = null, array $options = array() )

Method to get a table object, load it if necessary.

Method to get a table object, load it if necessary.

Parameters

$name
string - $name The table name. Optional.
$prefix
string - $prefix The class prefix. Optional.
$options
array - $options Configuration array for model. Optional.

Returns

FOFTable - A FOFTable object

Throws

Exception
protected FOFTable &
# _createTable( string $name, string $prefix = 'Table', array $config = array() )

Method to load and return a model object.

Method to load and return a model object.

Parameters

$name
string - $name The name of the view
$prefix
string - $prefix The class prefix. Optional.
$config
array - $config The configuration array to pass to the table

Returns

FOFTable - Table object or boolean false if failed
public string
# getReorderWhere( )

Creates the WHERE part of the reorder query

Creates the WHERE part of the reorder query

Returns

string
public FOFDatabaseQuery
# buildQuery( boolean $overrideLimits = false )

Builds the SELECT query

Builds the SELECT query

Parameters

$overrideLimits
boolean - $overrideLimits Are we requested to override the set limits?

Returns

FOFDatabaseQuery
public array
# getTableFields( )

Returns a list of the fields of the table associated with this model

Returns a list of the fields of the table associated with this model

Returns

array
public string
# getTableAlias( )

Get the alias set for this model's table

Get the alias set for this model's table

Returns

string - The table alias
public boolean
# buildCountQuery( )

Builds the count query used in getTotal()

Builds the count query used in getTotal()

Returns

boolean
public FOFModel &
# getClone( )

Clones the model object and returns the clone

Clones the model object and returns the clone

Returns

FOFModel
public mixed
# __get( string $name )

Magic getter; allows to use the name of model state keys as properties

Magic getter; allows to use the name of model state keys as properties

Parameters

$name
string - $name The name of the variable to get

Returns

mixed - The value of the variable
public
# __set( string $name, mixed $value )

Magic setter; allows to use the name of model state keys as properties

Magic setter; allows to use the name of model state keys as properties

Parameters

$name
string - $name The name of the variable
$value
mixed - $value The value to set the variable to
public FOFModel
# __call( string $name, mixed $arguments )

Magic caller; allows to use the name of model state keys as methods to set their values.

Magic caller; allows to use the name of model state keys as methods to set their values.

Parameters

$name
string - $name The name of the state variable to set
$arguments
mixed - $arguments The value to set the state variable to

Returns

FOFModel - Reference to self
public FOFModel &
# savestate( boolean $newState )

Sets the model state auto-save status. By default the model is set up to save its state to the session.

Sets the model state auto-save status. By default the model is set up to save its state to the session.

Parameters

$newState
boolean - $newState True to save the state, false to not save it.

Returns

FOFModel - Reference to self
public
# populateSavestate( integer $defaultSaveState = -999 )

Initialises the _savestate variable

Initialises the _savestate variable

Parameters

$defaultSaveState
integer - $defaultSaveState The default value for the savestate
protected
# populateState( )

Method to auto-populate the model state.

Method to auto-populate the model state.

This method should only be called once per instantiation and is designed to be called on the first call to the getState() method unless the model configuration flag to ignore the request is set.

Since

12.2

Note

Calling getState in this method will result in recursion.
public FOFModel
# applyAccessFiltering( integer $userID = null )

Applies view access level filtering for the specified user. Useful to filter a front-end items listing.

Applies view access level filtering for the specified user. Useful to filter a front-end items listing.

Parameters

$userID
integer - $userID The user ID to use. Skip it to use the currently logged in user.

Returns

FOFModel - Reference to self
public mixed
# getForm( array $data = array(), boolean $loadData = true, boolean $source = null )

A method for getting the form from the model.

A method for getting the form from the model.

Parameters

$data
array - $data Data for the form.
$loadData
boolean - $loadData True if the form is to load its own data (default case), false if not.
$source
boolean - $source The name of the form. If not set we'll try the form_name state variable or fall back to default.

Returns

mixed - A FOFForm object on success, false on failure

Since

2.0
protected mixed
# loadForm( string $name, string $source, array $options = array(), boolean $clear = false, boolean|string $xpath = false )

Method to get a form object.

Method to get a form object.

Parameters

$name
string - $name The name of the form.
$source
string - $source The form filename (e.g. form.browse)
$options
array - $options Optional array of options for the form creation.
$clear
boolean - $clear Optional argument to force load a new form.
$xpath
boolean|string - $xpath An optional xpath to search for the fields.

Returns

mixed - FOFForm object on success, False on error.

Throws

Exception

Since

2.0

See

FOFForm
public mixed
# findFormFilename( string $source, array $paths = array() )

Guesses the best candidate for the path to use for a particular form.

Guesses the best candidate for the path to use for a particular form.

Parameters

$source
string - $source The name of the form file to load, without the .xml extension.
$paths
array - $paths The paths to look into. You can declare this to override the default FOF paths.

Returns

mixed - A string if the path and filename of the form to load is found, false otherwise.

Since

2.0
protected array
# loadFormData( )

Method to get the data that should be injected in the form.

Method to get the data that should be injected in the form.

Returns

array - The default data is an empty array.

Since

2.0
protected
# preprocessForm( FOFForm & $form, mixed & $data, string $group = 'content' )

Method to allow derived classes to preprocess the form.

Method to allow derived classes to preprocess the form.

Parameters

$form
FOFForm - $form A FOFForm object.
$data
mixed - &$data The data expected for the form.
$group
string - $group The name of the plugin group to import (defaults to "content").

Throws

Exception - if there is an error in the form event.

Since

2.0

See

FOFFormField
public mixed
# validateForm( FOFForm $form, array $data, string $group = null )

Method to validate the form data.

Method to validate the form data.

Parameters

$form
FOFForm - $form The form to validate against.
$data
array - $data The data to validate.
$group
string - $group The name of the field group to validate.

Returns

mixed - Array of filtered data if valid, false otherwise.

Since

2.0

See

JFormRule
JFilterInput
public
# onBeforeLoadForm( string & $name, string & $source, array & $options )

Allows the manipulation before the form is loaded

Allows the manipulation before the form is loaded

Parameters

$name
string - &$name The name of the form.
$source
string - &$source The form source. Can be XML string if file flag is set to false.
$options
array - &$options Optional array of options for the form creation.

CodeCoverageIgnore

public
# onAfterLoadForm( FOFForm & $form, string & $name, string & $source, array & $options )

Allows the manipulation after the form is loaded

Allows the manipulation after the form is loaded

Parameters

$form
FOFForm - $form A FOFForm object.
$name
string - &$name The name of the form.
$source
string - &$source The form source. Can be XML string if file flag is set to false.
$options
array - &$options Optional array of options for the form creation.

CodeCoverageIgnore

public
# onBeforePreprocessForm( FOFForm & $form, array & $data )

Allows data and form manipulation before preprocessing the form

Allows data and form manipulation before preprocessing the form

Parameters

$form
FOFForm - $form A FOFForm object.
$data
array - &$data The data expected for the form.

CodeCoverageIgnore

public
# onAfterPreprocessForm( FOFForm & $form, array & $data )

Allows data and form manipulation after preprocessing the form

Allows data and form manipulation after preprocessing the form

Parameters

$form
FOFForm - $form A FOFForm object.
$data
array - &$data The data expected for the form.

CodeCoverageIgnore

protected
# onProcessList( array & $resultArray )

This method can be overriden to automatically do something with the list results array. You are supposed to modify the list which was passed in the parameters; DO NOT return a new array!

This method can be overriden to automatically do something with the list results array. You are supposed to modify the list which was passed in the parameters; DO NOT return a new array!

Parameters

$resultArray
array - &$resultArray An array of objects, each row representing a record
protected
# onAfterGetItem( FOFTable & $record )

This method runs after an item has been gotten from the database in a read operation. You can modify it before it's returned to the MVC triad for further processing.

This method runs after an item has been gotten from the database in a read operation. You can modify it before it's returned to the MVC triad for further processing.

Parameters

$record
FOFTable - &$record The table instance we fetched
protected boolean
# onBeforeSave( array & $data, FOFTable & $table )

This method runs before the $data is saved to the $table. Return false to stop saving.

This method runs before the $data is saved to the $table. Return false to stop saving.

Parameters

$data
array - &$data The data to save
$table
FOFTable - &$table The table to save the data to

Returns

boolean - Return false to prevent saving, true to allow it
protected boolean
# onAfterSave( FOFTable & $table )

This method runs after the data is saved to the $table.

This method runs after the data is saved to the $table.

Parameters

$table
FOFTable - &$table The table which was saved

Returns

boolean
protected boolean
# onBeforeDelete( integer & $id, FOFTable & $table )

This method runs before the record with key value of $id is deleted from $table

This method runs before the record with key value of $id is deleted from $table

Parameters

$id
integer - &$id The ID of the record being deleted
$table
FOFTable - &$table The table instance used to delete the record

Returns

boolean
protected boolean
# onAfterDelete( integer $id )

This method runs after a record with key value $id is deleted

This method runs after a record with key value $id is deleted

Parameters

$id
integer - $id The id of the record which was deleted

Returns

boolean - Return false to raise an error, true otherwise
protected boolean
# onBeforeCopy( FOFTable & $table )

This method runs before a record is copied

This method runs before a record is copied

Parameters

$table
FOFTable - &$table The table instance of the record being copied

Returns

boolean - True to allow the copy
protected boolean
# onAfterCopy( FOFTable & $table )

This method runs after a record has been copied

This method runs after a record has been copied

Parameters

$table
FOFTable - &$table The table instance of the record which was copied

Returns

boolean - True to allow the copy
protected boolean
# onBeforePublish( FOFTable & $table )

This method runs before a record is published

This method runs before a record is published

Parameters

$table
FOFTable - &$table The table instance of the record being published

Returns

boolean - True to allow the operation
protected boolean
# onAfterPublish( FOFTable & $table )

This method runs after a record has been published

This method runs after a record has been published

Parameters

$table
FOFTable - &$table The table instance of the record which was published

Returns

boolean - True to allow the operation
protected boolean
# onBeforeHit( FOFTable & $table )

This method runs before a record is hit

This method runs before a record is hit

Parameters

$table
FOFTable - &$table The table instance of the record being hit

Returns

boolean - True to allow the operation
protected boolean
# onAfterHit( FOFTable & $table )

This method runs after a record has been hit

This method runs after a record has been hit

Parameters

$table
FOFTable - &$table The table instance of the record which was hit

Returns

boolean - True to allow the operation
protected boolean
# onBeforeMove( FOFTable & $table )

This method runs before a record is moved

This method runs before a record is moved

Parameters

$table
FOFTable - &$table The table instance of the record being moved

Returns

boolean - True to allow the operation
protected boolean
# onAfterMove( FOFTable & $table )

This method runs after a record has been moved

This method runs after a record has been moved

Parameters

$table
FOFTable - &$table The table instance of the record which was moved

Returns

boolean - True to allow the operation
protected boolean
# onBeforeReorder( FOFTable & $table )

This method runs before a table is reordered

This method runs before a table is reordered

Parameters

$table
FOFTable - &$table The table instance being reordered

Returns

boolean - True to allow the operation
protected boolean
# onAfterReorder( FOFTable & $table )

This method runs after a table is reordered

This method runs after a table is reordered

Parameters

$table
FOFTable - &$table The table instance which was reordered

Returns

boolean - True to allow the operation
public FOFDatabaseDriver
# getDbo( )

Method to get the database driver object

Method to get the database driver object

Returns

FOFDatabaseDriver
public string
# getName( )

Method to get the model name

Method to get the model name

The model name. By default parsed using the classname or it can be set by passing a $config['name'] in the class constructor

Returns

string - The name of the model

Throws

Exception
public
# setDbo( FOFDatabaseDriver $db )

Method to set the database driver object

Method to set the database driver object

Parameters

$db
FOFDatabaseDriver - $db A FOFDatabaseDriver based object
public mixed
# setState( string $property, mixed $value = null )

Method to set model state variables

Method to set model state variables

Parameters

$property
string - $property The name of the property.
$value
mixed - $value The value of the property to set or null.

Returns

mixed - The previous value of the property or null if not set.
protected
# cleanCache( string $group = null, integer $client_id = 0 )

Clean the cache

Clean the cache

Parameters

$group
string - $group The cache group
$client_id
integer - $client_id The ID of the client
public FOFModel
# setBehaviorParam( string $name, mixed $value )

Set a behavior param

Set a behavior param

Parameters

$name
string - $name The name of the param
$value
mixed - $value The param value to set

Returns

FOFModel
public mixed
# getBehaviorParam( string $name, mixed $default = null )

Get a behavior param

Get a behavior param

Parameters

$name
string - $name The name of the param
$default
mixed - $default The default value returned if not set

Returns

mixed
public |array
# blacklistFilters( mixed $list = null, boolean $reset = false )

Set or get the backlisted filters

Set or get the backlisted filters

Parameters

$list
mixed - $list A filter or list of filters to backlist. If null return the list of backlisted filter
$reset
boolean - $reset Reset the blacklist if true

Returns

|array - Return an array of value if $list is null

Methods inherited from FOFUtilsObject

__toString(), def(), get(), getError(), getErrors(), getProperties(), set(), setError(), setProperties()

Magic methods summary

Properties summary

protected boolean $__state_set
#

Indicates if the internal state has been set

Indicates if the internal state has been set

Since

12.2
protected object $_db
#

Database Connector

Database Connector

Since

12.2
protected string $event_after_delete
#

The event to trigger after deleting the data.

The event to trigger after deleting the data.

protected string $event_after_save
#

The event to trigger after saving the data.

The event to trigger after saving the data.

protected string $event_before_delete
#

The event to trigger before deleting the data.

The event to trigger before deleting the data.

protected string $event_before_save
#

The event to trigger before saving the data.

The event to trigger before saving the data.

protected string $event_change_state
#

The event to trigger after changing the published state of the data.

The event to trigger after changing the published state of the data.

protected string $event_clean_cache
#

The event to trigger when cleaning cache.

The event to trigger when cleaning cache.

Since

12.2
protected array $id_list
#

Stores a list of IDs passed to the model's state

Stores a list of IDs passed to the model's state

protected integer $id
#

The first row ID passed to the model's state

The first row ID passed to the model's state

protected FOFInput $input
#

Input variables, passed on from the controller, in an associative array

Input variables, passed on from the controller, in an associative array

protected array $list
#

The list of records made available through getList

The list of records made available through getList

protected string $name
#

The model (base) name

The model (base) name

Since

12.2
protected string $option
#

The URL option for the component.

The URL option for the component.

Since

12.2
protected FOFTable $otable
#

The table object, populated when saving data

The table object, populated when saving data

protected JPagination $pagination
#

Pagination object

Pagination object

protected FOFTable $record
#

The table object, populated when retrieving data

The table object, populated when retrieving data

protected string $state
#

A state object

A state object

Since

12.2
protected string $table
#

The name of the table to use

The name of the table to use

protected integer $total
#

Total rows based on the filters set in the model's state

Total rows based on the filters set in the model's state

protected boolean $_savestate
#

Should I save the model's state in the session?

Should I save the model's state in the session?

protected array $_forms
#

Array of form objects.

Array of form objects.

Since

2.0
protected array $_formData
#

The data to load into a form

The data to load into a form

Since

2.0
protected FOFConfigProvider $configProvider
#

An instance of FOFConfigProvider to provision configuration overrides

An instance of FOFConfigProvider to provision configuration overrides

protected FOFModelDispatcherBehavior $modelDispatcher
#

FOFModelDispatcherBehavior for dealing with extra behaviors

FOFModelDispatcherBehavior for dealing with extra behaviors

protected array $default_behaviors
#

Default behaviors to apply to the model

Default behaviors to apply to the model

protected array $_behaviorParams
#

Behavior parameters

Behavior parameters

Properties inherited from FOFUtilsObject

$_errors

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.