Parameters content Style content
[type] MIME type
getBuffer( ) : string
Gets the buffered contents of the document.
Returns Document contents
Appendix
[ 395 ]
getCharset( ) : string
Gets the character set encoding.
Returns Character set encoding
getDescription( ) : string
Gets the document description.
Returns Document description
getDirection( ) : string
Gets the text direction of the document, ltr (left-to-right) or rtl (right-to-left).
Returns Text direction
getGenerator( ) : string
Gets the document generator.
Returns Document generator
getHeadData( ) : array
Gets an associative array of header data. Must be implemented in child classes.
Returns Associative array of header data
static &getInstance ( type : string='html', attributes : array=array() ) :
JDocument
Gets a global instance of a JDocument subclass object, based on type (error, feed,
HTML, PDF, or RAW) and attributes. Use JFactory::getDocument() to get the
application document.
Parameters [type] JDocument type
[attributes] Associative array of options
Returns Global instance of a JDocument subclass object
getLanguage( ) : string
Gets the language of the document.
Pages:
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552