Class Zend_Pdf_Element_Array

Description

PDF file 'array' element implementation

  • copyright: Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
  • license: New BSD License

Located in /Pdf/Element/Array.php (line 35)

Zend_Pdf_Element
   |
   --Zend_Pdf_Element_Array
Variable Summary
 array $items
Method Summary
 Zend_Pdf_Element_Array __construct ([array $val = null])
 integer getType ()
 mixed toPhp ()
 string toString ([Zend_Pdf_Factory $factory = null])
 void __get (string $property)
 void __set ( $property, mixed $value, mixed $offset)
Variables
array $items (line 44)

Array element items

Array of Zend_Pdf_Element objects

  • access: public
Methods
Constructor __construct (line 53)

Object constructor

  • throws: Zend_Pdf_Exception
  • access: public
Zend_Pdf_Element_Array __construct ([array $val = null])
  • array $val:
    • array of Zend_Pdf_Element objects
getType (line 101)

Return type of the element.

  • access: public
integer getType ()

Redefinition of:
Zend_Pdf_Element::getType()
Return type of the element.
toPhp (line 138)

Convert PDF element to PHP type.

Dictionary is returned as an associative array

  • access: public
mixed toPhp ()

Redefinition of:
Zend_Pdf_Element::toPhp()
Convert PDF element to PHP type.
toString (line 113)

Return object as string

  • access: public
string toString ([Zend_Pdf_Factory $factory = null])
  • Zend_Pdf_Factory $factory

Redefinition of:
Zend_Pdf_Element::toString()
Convert element to a string, which can be directly written to a PDF file.
__get (line 78)

Getter

  • throws: Zend_Pdf_Exception
  • access: public
void __get (string $property)
  • string $property
__set (line 91)

Setter

  • throws: Zend_Pdf_Exception
  • access: public
void __set ( $property, mixed $value, mixed $offset)
  • mixed $offset
  • mixed $value
  • $property

Inherited Methods

Inherited From Zend_Pdf_Element

 Zend_Pdf_Element::cleanUp()
 Zend_Pdf_Element::getParentObject()
 Zend_Pdf_Element::getType()
 Zend_Pdf_Element::phpToPdf()
 Zend_Pdf_Element::setParentObject()
 Zend_Pdf_Element::toPhp()
 Zend_Pdf_Element::toString()
 Zend_Pdf_Element::touch()
Class Constants

Documentation generated on Mon, 21 Jun 2010 15:07:48 -0400 by phpDocumentor 1.4.3