Support Joomla!

references:joomla.framework:document:jdocumentpdf-getname

Table of Contents

getName

API Package Subpackage Class Method Reference Last reviewed Doc status
API Home Package Joomla.Framework Subpackage Document Class JDocumentPDF Method getName Reference getName() Never Work in Progress

Returns the document name.

The name is returned as part of the header in the render() method.

Syntax

string getName ()

Examples

Example

$pdfDoc =& JDocument::getInstance( 'pdf' );
$pdfDoc->setName( 'This is the document name' );
echo $pdfDoc->getName();

might produce:

Result

This is the document name

Discussion

Full name:
E-Mail:
 
references/joomla.framework/document/jdocumentpdf-getname.txt (601 views) · Last modified: 2007/08/15 14:53