[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Document/ -> FactoryInterface.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 47 lines (1 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 1 class

FactoryInterface:: (2 methods):
  createDocument()
  createRenderer()


Interface: FactoryInterface  - X-Ref

Interface defining a factory which can create Document objects

createDocument(string $type = 'html', array $attributes = [])   X-Ref
Creates a new Document object for the requested format.

param: string  $type        The document type to instantiate
param: array   $attributes  Array of attributes
return: Document

createRenderer(Document $document, string $type, string $docType = '')   X-Ref
Creates a new renderer object.

param: Document  $document  The Document instance to attach to the renderer
param: string    $type      The renderer type to instantiate
param: string    $docType   The document type the renderer is part of
return: RendererInterface



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer