references:joomla.framework:document:jdocumentpdf-setnamesetName
Sets the document name. The name is returned as part of the header in the render() method. Syntaxvoid setName ( $name )
ExamplesExample $pdfDoc =& JDocument::getInstance( 'pdf' ); $pdfDoc->setName( 'This is the document name' ); echo $pdfDoc->getName(); might produce: Result This is the document name Discussion |


