Factory
Implements FactoryInterfaceDefault factory for creating Document objects
since |
4.0.0 |
---|---|
package |
Joomla CMS |
Methods
createDocument
Creates a new Document object for the requested format.
createDocument(string type = 'html', array attributes = []) : \Joomla\CMS\Document\Document
since |
4.0.0 |
---|
Arguments
- type
string
The document type to instantiate- attributes
array
Array of attributes
Response
\Joomla\CMS\Document\Document
createRenderer
Creates a new renderer object.
createRenderer(\Joomla\CMS\Document\Document document, string type, string docType = '') : \Joomla\CMS\Document\RendererInterface
since |
4.0.0 |
---|
Arguments
- document
\Joomla\CMS\Document\Document
The Document instance to attach to the renderer- type
string
The renderer type to instantiate- docType
string
The document type the renderer is part of
Response
\Joomla\CMS\Document\RendererInterface
getCacheControllerFactory
Get the CacheControllerFactoryInterface.
getCacheControllerFactory() : \Joomla\CMS\Cache\CacheControllerFactoryInterface
inherited
since |
4.2.0 |
---|
Response
\Joomla\CMS\Cache\CacheControllerFactoryInterface
setCacheControllerFactory
Set the cache controller factory to use.
setCacheControllerFactory(\Joomla\CMS\Cache\CacheControllerFactoryInterface cacheControllerFactory = null) : void
inherited
since |
4.2.0 |
---|
Arguments
- cacheControllerFactory
\Joomla\CMS\Cache\CacheControllerFactoryInterface
The cache controller factory to use.
Properties
cacheControllerFactory
CacheControllerFactoryInterface
inherited