references:joomla.framework:document:jdocumenthtml-__constructTable of Contents
__construct
This is the class constructor. It passes the attributes to the parent class and in addition, sets the base attribute. It also sets the MIME type to ‘text/html’ and defines a renderer sequences. SyntaxJDocumentHTML __construct ( $attributes, $type )
ExamplesThis class is instantiated by the JDocument class if the document type is ‘html’. The following code is used (where $type is ‘html’): Example $adapter = 'JDocument'.$type; $instances[$signature] = new $adapter($type, $attributes); |


