====== setName ====== {#JAPI Joomla.Framework Document JDocumentPDF::setName #} Sets the document name. The name is returned as part of the header in the render() method. ===== Syntax ===== void setName ( **$name** ) | **$name** | string | is a string containing the document name. | ===== Examples ===== $pdfDoc =& JDocument::getInstance( 'pdf' ); $pdfDoc->setName( 'This is the document name' ); echo $pdfDoc->getName(); might produce: This is the document name ---- ~~DISCUSSION~~