Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: Joomla-Framework

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

 Class JDocumentPDF

Description

DocumentPDF class, provides an easy interface to parse and display a pdf document

Located in /joomla/document/pdf/pdf.php (line 27)

Class JObject   (Subpackage Base)

Abstract class JDocument
   
   Class JDocumentPDF   (Subpackage Document)
Variable Summary
Method Summary
Constructor JDocumentPDF __construct ([array $options = array()])
Method void appendData (string $content)
Method The getData ()
Method void &getEngine ()
Method string getHeader ()
Method string getName ()
Method The render ([boolean $cache = false], [array $params = array()])
Method void setData (string $content)
Method void setHeader (string $text)
Method void setName ([string $name = 'joomla'])
Variables
mixed $_engine = null (line 29)
mixed $_header = null (line 31)
mixed $_image_scale = 4 (line 41)
mixed $_margin_bottom = 25 (line 36)
mixed $_margin_footer = 10 (line 34)
mixed $_margin_header = 5 (line 33)
mixed $_margin_left = 15 (line 37)
mixed $_margin_right = 15 (line 38)
mixed $_margin_top = 27 (line 35)
mixed $_name = 'joomla' (line 30)

Inherited Variables

Inherited from JDocument

Variable JDocument::$description
Variable JDocument::$direction
Variable JDocument::$language
Variable JDocument::$link
Variable JDocument::$title
Variable JDocument::$_generator
Methods
Constructor __construct (line 49)

Class constructore

  • access: protected
JDocumentPDF __construct ([array $options = array()])
  • array $options: Associative array of options

Redefinition of:
JDocument::__construct()
Class constructor
appendData (line 241)

Set the contents of the document buffer

  • access: public
void appendData (string $content)
  • string $content: The content to be set in the buffer
getData (line 221)

Get the contents of the document buffer

  • return: contents of the document buffer
  • access: public
The getData ()
getEngine (line 164)
void &getEngine ()
getHeader (line 210)

Returns the document header string

  • access: public
string getHeader ()
getName (line 187)

Returns the document name

  • access: public
string getName ()
render (line 253)

Render the document.

  • return: rendered data
  • access: public
The render ([boolean $cache = false], [array $params = array()])
  • boolean $cache: If true, cache the output
  • array $params: Associative array of attributes

Redefinition of:
JDocument::render()
Outputs the document
setData (line 231)

Set the contents of the document buffer

  • access: public
void setData (string $content)
  • string $content: The content to be set in the buffer
setHeader (line 199)

Sets the document header string

  • access: public
void setHeader (string $text)
  • string $text: Document header string
setName (line 176)

Sets the document name

  • access: public
void setName ([string $name = 'joomla'])
  • string $name: Document name

Inherited Methods

Inherited From JDocument

 JDocument::__construct()
 JDocument::addScript()
 JDocument::addScriptDeclaration()
 JDocument::addStyleDeclaration()
 JDocument::addStyleSheet()
 JDocument::getBuffer()
 JDocument::getCharset()
 JDocument::getDescription()
 JDocument::getDirection()
 JDocument::getGenerator()
 JDocument::getHeadData()
 JDocument::getInstance()
 JDocument::getLanguage()
 JDocument::getLink()
 JDocument::getMetaData()
 JDocument::getModifiedDate()
 JDocument::getTitle()
 JDocument::getType()
 JDocument::loadRenderer()
 JDocument::render()
 JDocument::setBuffer()
 JDocument::setCharset()
 JDocument::setDescription()
 JDocument::setDirection()
 JDocument::setGenerator()
 JDocument::setHeadData()
 JDocument::setLanguage()
 JDocument::setLineEnd()
 JDocument::setLink()
 JDocument::setMetaData()
 JDocument::setMimeEncoding()
 JDocument::setModifiedDate()
 JDocument::setTab()
 JDocument::setTitle()

Inherited From JObject

 JObject::JObject()
 JObject::__construct()
 JObject::get()
 JObject::getPublicProperties()
 JObject::set()
 JObject::toString()

Documentation generated on Mon, 05 Mar 2007 21:16:31 +0000 by phpDocumentor 1.3.1