Singleton / instance() #
Note
This page is generated from the source code by php bin/php/exppatterncatalogue.php --write. Do not edit it by hand:
change the code or the generator, then run the command again. How the patterns are recognized: the pattern catalogue.
A class that hands out one shared instance per key, mostly through a static instance() method (often cached in $GLOBALS).
| Group | Creation |
| Instances | 77 |
| Recognized by | Has a static instance() or getInstance() method. |
| Extension point | Call Class::instance(); many of them take the settings file or database as the key. |
Classes by area #
extension/bccie (1) #
All patterns of extension/bccie
| Class | Kind | File | Description | Extension point |
|---|
bccieExportFormatOutputHandler | class | extension/bccie/classes/bccieExportFormatOutputHandler.php:11 | – | – |
extension/cjw_newsletter (1) #
All patterns of extension/cjw_newsletter
| Class | Kind | File | Description | Extension point |
|---|
CjwNewsletterLog | class extends ezcLog | extension/cjw_newsletter/classes/cjwnewsletterlog.php:28 | Log handling of the Cjw Newsletter using ezcLog logmessage time [severity] [source] [category] ( element1: value1, .... | – |
extension/expai (2) #
All patterns of extension/expai
| Class | Kind | File | Description | Extension point |
|---|
expAiConfig | class | extension/expai/classes/expaiconfig.php:14 | The settings of expai.ini, read fresh on every call (no static state: Velocity's persistent workers serve many requests and siteaccesses with one pro… | – |
expAiProviderRegistry | class | extension/expai/classes/expaiproviderregistry.php:24 | The providers and models of expai.ini: | – |
extension/explayouts (1) #
All patterns of extension/explayouts
| Class | Kind | File | Description | Extension point |
|---|
expLayoutsSite | class | extension/explayouts/classes/explayoutssite.php:9 | Exponential 4 Site registry compatible with the Exp Site API Site interface. | – |
extension/expqueue (1) #
All patterns of extension/expqueue
| Class | Kind | File | Description | Extension point |
|---|
expQueueConfig | class | extension/expqueue/classes/expqueueconfig.php:15 | The settings of expqueue (expqueue.ini), with the defaults that apply when a setting is missing. | – |
extension/ezfind (2) #
All patterns of extension/ezfind
| Class | Kind | File | Description | Extension point |
|---|
eZFindExtendedAttributeFilterFactory | class | extension/ezfind/classes/ezfindextendedattributefilterfactory.php:10 | Extended attribute filters factory | – |
ezfSolrDocumentFieldBase | class | extension/ezfind/classes/ezfsolrdocumentfieldbase.php:21 | Class ezfSolrDocumentFieldBase. | – |
extension/ezflow (1) #
All patterns of extension/ezflow
| Class | Kind | File | Description | Extension point |
|---|
eZFlowAjaxContent | class | extension/ezflow/classes/ezflowajaxcontent.php:35 | – | – |
extension/ezjscore (1) #
All patterns of extension/ezjscore
| Class | Kind | File | Description | Extension point |
|---|
ezjscServerRouter | class | extension/ezjscore/classes/ezjscserverrouter.php:39 | – | – |
extension/ezupdate (1) #
All patterns of extension/ezupdate
| Class | Kind | File | Description | Extension point |
|---|
eZUpdateManager | class | extension/ezupdate/classes/ezupdatemanager.php:19 | Runs Composer for the installation this extension belongs to. | – |
extension/git_manager (1) #
All patterns of extension/git_manager
| Class | Kind | File | Description | Extension point |
|---|
GitManager | class | extension/git_manager/classes/git_manager.php:9 | – | – |
extension/sevenx_authentication_2fa (1) #
All patterns of extension/sevenx_authentication_2fa
| Class | Kind | File | Description | Extension point |
|---|
sevenxAuthentication2faHelper | class | extension/sevenx_authentication_2fa/classes/sevenxauthentication2fahelper.php:23 | – | – |
extension/sqliimport (3) #
All patterns of extension/sqliimport
| Class | Kind | File | Description | Extension point |
|---|
expImportRegistry | class | extension/sqliimport/classes/exp/engine/expimportregistry.php:23 | The catalogue of a site: its sources, handlers and transforms. | extension/sqliimport/settings/kernelservices.ini [Service_sqliimport.registry] Class |
SQLIContentPublisher | class | extension/sqliimport/classes/content/sqlicontentpublisher.php:26 | SQLIContentPublisher is a class allowing to publish a content $options = new SQLIContentOptions( array( 'class_identifier' =› 'article', 'remote_id'… | – |
SQLIImportFactory | class | extension/sqliimport/classes/sqliimportfactory.php:12 | Import factory Will trigger import for all declared and activated import handlers | – |
extension/syndication (1) #
All patterns of extension/syndication
| Class | Kind | File | Description | Extension point |
|---|
eZImportEditWizard | class extends eZWizardBase | extension/syndication/modules/syndication/import_edit/ezimporteditwizard.php:47 | – | – |
kernel/classes (12) #
All patterns of kernel/classes
| Class | Kind | File | Description | Extension point |
|---|
expPasswordPolicy | class | kernel/classes/exppasswordpolicy.php:24 | The rules a new password must meet, and what happens after a password was changed. | – |
expScriptStatus | class | kernel/classes/expscriptstatus.php:18 | expScriptStatus - lightweight CLI progress/status reporter. | – |
expWeakPasswordList | class | kernel/classes/expweakpasswordlist.php:35 | The one list of well-known and common passwords, and the check every place that sets a new password uses: the setup wizard, the kickstarter and exp:i… | – |
eZBinaryFileHandler | class | kernel/classes/ezbinaryfilehandler.php:23 | – | – |
eZClusterFileHandler | class | kernel/classes/ezclusterfilehandler.php:11 | – | – |
eZCollaborationProfile | class extends eZPersistentObject | kernel/classes/ezcollaborationprofile.php:18 | – | – |
eZCollaborationViewHandler | class | kernel/classes/ezcollaborationviewhandler.php:18 | – | – |
eZConfirmOrderHandler | class | kernel/classes/ezconfirmorderhandler.php:18 | – | – |
eZPackageCreationHandler | class | kernel/classes/ezpackagecreationhandler.php:21 | – | – |
eZPackageInstallationHandler | class | kernel/classes/ezpackageinstallationhandler.php:19 | – | – |
eZScript | class | kernel/classes/ezscript.php:49 | – | – |
eZShopAccountHandler | class | kernel/classes/ezshopaccounthandler.php:12 | – | – |
kernel/classes/datatable (1) #
All patterns of kernel/classes/datatable
| Class | Kind | File | Description | Extension point |
|---|
expDataTableCatalogue | class | kernel/classes/datatable/expdatatablecatalogue.php:32 | The catalogue of data tables (doc/eng-us/features/6.0/data-tables.md, "The catalogue"): every persistent class of the installation (an eZPersistentOb… | – |
kernel/classes/datatypes (3) #
All patterns of kernel/classes/datatypes
| Class | Kind | File | Description | Extension point |
|---|
eZUser | class extends eZPersistentObject | kernel/classes/datatypes/ezuser/ezuser.php:21 | – | extension/AdminAid/settings/aid.ini [SearchDatabase] ClassList[] |
eZUserLoginHandler | class | kernel/classes/datatypes/ezuser/ezuserloginhandler.php:19 | – | – |
eZXMLSchema | class | kernel/classes/datatypes/ezxmltext/ezxmlschema.php:12 | – | – |
kernel/classes/help (4) #
All patterns of kernel/classes/help
| Class | Kind | File | Description | Extension point |
|---|
expHelpContentProvider | class | kernel/classes/help/content/exphelpcontentprovider.php:19 | Help maintained as content, delivered into the help system (exphelp): the topics the current user may see, rendered with the help's Markdown renderer… | settings/exphelp.ini [ContextHelp] Providers[] |
expHelpContentRepository | class | kernel/classes/help/content/exphelpcontentrepository.php:15 | Reads help maintained as content out of the database into plain arrays (the shapes expHelpContentValidator describes), without any permission filter:… | settings/site.ini [Cache_exphelpcontent] class; settings/site.ini [Cache_exphelpcontent] purgeClass |
expHelpContextRegistry | class | kernel/classes/help/exphelpcontextregistry.php:45 | Context help: which help page answers "help for this page", for a module, view and design. | – |
expHelpDocumentIndex | class | kernel/classes/help/exphelpdocumentindex.php:46 | The index of the help pages (doc/eng-us/features/6.0/help-system.md, "The index"): one entry per document of the allowlist (expHelpAllowlist: git-tra… | – |
kernel/classes/logviewer (2) #
All patterns of kernel/classes/logviewer
| Class | Kind | File | Description | Extension point |
|---|
expLogManager | class | kernel/classes/logviewer/explogmanager.php:27 | Log management (doc/eng-us/features/6.0/log-rotation.md): the logs of the installation with their archives, sizes, growth and limits; rotation, pruni… | – |
expLogViewerConfig | class | kernel/classes/logviewer/explogviewerconfig.php:11 | The settings of the log viewer (settings/logviewer.ini, doc/eng-us/features/6.0/log-viewer.md, "Settings"), read once per request with safe bounds. | – |
kernel/classes/mailpreferences (1) #
All patterns of kernel/classes/mailpreferences
| Class | Kind | File | Description | Extension point |
|---|
expMailCategoryRegistry | class | kernel/classes/mailpreferences/expmailcategoryregistry.php:26 | All categories of e-mail, in the order the preference page shows them: | – |
kernel/classes/notification (1) #
All patterns of kernel/classes/notification
| Class | Kind | File | Description | Extension point |
|---|
eZNotificationTransport | class | kernel/classes/notification/eznotificationtransport.php:17 | – | – |
kernel/classes/requestclassifier (1) #
All patterns of kernel/classes/requestclassifier
| Class | Kind | File | Description | Extension point |
|---|
expRequestClassifier | class | kernel/classes/requestclassifier/exprequestclassifier.php:29 | The request classifier: tells a probe, a traversal, an injection, a scanner or a burst of not-found answers from an ordinary request, and writes one… | – |
kernel/classes/subitems (1) #
All patterns of kernel/classes/subitems
| Class | Kind | File | Description | Extension point |
|---|
expSubitemsColumnRegistry | class | kernel/classes/subitems/expsubitemscolumnregistry.php:23 | The registry of the admin subitems list columns ("Table options"). | – |
kernel/classes/transfer (1) #
All patterns of kernel/classes/transfer
| Class | Kind | File | Description | Extension point |
|---|
expKernelTransferRegistry | class | kernel/classes/transfer/expkerneltransferregistry.php:30 | The transfer registry: every import and export tool of the installation, as each declares itself in kernelservices.ini (a [Service_transfer.] block t… | settings/kernelservices.ini [Service_transfer.registry] Class |
kernel/common (1) #
All patterns of kernel/common
| Class | Kind | File | Description | Extension point |
|---|
eZTemplateDesignResource | class extends eZTemplateFileResource | kernel/common/eztemplatedesignresource.php:18 | – | – |
kernel/modules (1) #
All patterns of kernel/modules
| Class | Kind | File | Description | Extension point |
|---|
eZCurrencyConverter | class | kernel/shop/classes/ezcurrencyconverter.php:20 | – | – |
kernel/private (5) #
All patterns of kernel/private
| Class | Kind | File | Description | Extension point |
|---|
ezpContentPublishingQueueProcessor | class | kernel/private/classes/ezpcontentpublishingqueueprocessor.php:21 | This class manages the publishing queue through ezpContentPublishingProcess persistent objects | – |
ezpEvent | class | kernel/private/classes/ezpevent.php:20 | This class handles internal kernel events in Exponential, aka hooks. | – |
ezpExtension | class | kernel/private/classes/ezpextension.php:15 | Object representing an Exponential extension | – |
ezpKernel | class | kernel/private/classes/ezpkernel.php:16 | Base Exponential kernel class. | – |
ezpRestDebug | class | kernel/private/rest/classes/debug/debug.php:11 | – | – |
kernel/private/classes/requestrules (1) #
All patterns of kernel/private/classes/requestrules
| Class | Kind | File | Description | Extension point |
|---|
ezpRequestRuleEngine | class | kernel/private/classes/requestrules/ezprequestruleengine.php:32 | The request rules: an ordered list of rules, each a set of conditions and an action, asked about every module view the kernel is about to run. | – |
lib/ezdb (1) #
All patterns of lib/ezdb
| Class | Kind | File | Description | Extension point |
|---|
eZDB | class | lib/ezdb/classes/ezdb.php:80 | – | – |
lib/ezdbschema (1) #
All patterns of lib/ezdbschema
| Class | Kind | File | Description | Extension point |
|---|
eZDbSchema | class | lib/ezdbschema/classes/ezdbschema.php:19 | – | – |
lib/ezfile (1) #
All patterns of lib/ezfile
| Class | Kind | File | Description | Extension point |
|---|
eZFileHandler | class | lib/ezfile/classes/ezfilehandler.php:56 | – | – |
lib/ezi18n (8) #
All patterns of lib/ezi18n
| Class | Kind | File | Description | Extension point |
|---|
expI18nFallbackResolver | class | lib/ezi18n/classes/expi18nfallbackresolver.php:32 | Which translations a locale falls back to, in order: the one source of truth for the translator (eZTSTranslator), the interface language choice (expU… | – |
eZCharTransform | class | lib/ezi18n/classes/ezchartransform.php:21 | – | – |
eZCodePage | class | lib/ezi18n/classes/ezcodepage.php:19 | – | – |
eZCodePageMapper | class | lib/ezi18n/classes/ezcodepagemapper.php:18 | – | – |
eZMBStringMapper | class | lib/ezi18n/classes/ezmbstringmapper.php:25 | – | – |
eZTextCodec | class | lib/ezi18n/classes/eztextcodec.php:23 | – | – |
eZTranslatorManager | class | lib/ezi18n/classes/eztranslatormanager.php:31 | – | – |
eZUTF8Codec | class | lib/ezi18n/classes/ezutf8codec.php:22 | – | – |
lib/ezimage (1) #
All patterns of lib/ezimage
| Class | Kind | File | Description | Extension point |
|---|
eZImageManager | class | lib/ezimage/classes/ezimagemanager.php:85 | – | – |
lib/ezlocale (1) #
All patterns of lib/ezlocale
| Class | Kind | File | Description | Extension point |
|---|
eZLocale | class | lib/ezlocale/classes/ezlocale.php:111 | – | – |
lib/eztemplate (3) #
All patterns of lib/eztemplate
| Class | Kind | File | Description | Extension point |
|---|
eZTemplate | class | lib/eztemplate/classes/eztemplate.php:200 | – | – |
eZTemplateElementParser | class | lib/eztemplate/classes/eztemplateelementparser.php:18 | – | – |
eZTemplateMultiPassParser | class extends eZTemplateParser | lib/eztemplate/classes/eztemplatemultipassparser.php:18 | – | – |
lib/ezutils (9) #
All patterns of lib/ezutils
| Class | Kind | File | Description | Extension point |
|---|
eZCLI | class | lib/ezutils/classes/ezcli.php:31 | – | – |
eZDebug | class | lib/ezutils/classes/ezdebug.php:59 | – | – |
eZExpiryHandler | class | lib/ezutils/classes/ezexpiryhandler.php:16 | Keeps track of expiry keys and their timestamps | – |
eZHTTPTool | class | lib/ezutils/classes/ezhttptool.php:25 | – | settings/kernelservices.ini [Service_http] Class |
eZINI | class | lib/ezutils/classes/ezini.php:53 | ### EXP-MULTI-SITE-OVERRIDE-SETTINGS ### - lib/ezutils/classes/ezini.php - new ini setting ext-siteaccess-override - - new ini setting ext-siteaccess… | settings/kernelservices.ini [Service_ini.i18n] Class; settings/kernelservices.ini [Service_ini.site] Class |
eZMimeType | class | lib/ezutils/classes/ezmimetype.php:34 | – | – |
eZProcess | class | lib/ezutils/classes/ezprocess.php:18 | – | – |
eZSys | class | lib/ezutils/classes/ezsys.php:33 | Easy access to various system settings | – |
eZURI | class | lib/ezutils/classes/ezuri.php:32 | Provides access to the HTTP uri | – |