Zend Framework  1.12
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes | List of all members
Zend_Pdf_Action Class Reference

Public Member Functions

 __construct (Zend_Pdf_Element $dictionary, SplObjectStorage $processedActions)
 Object constructor.
 
 getResource ()
 Get resource.
 
 dumpAction (Zend_Pdf_ElementFactory_Interface $factory, SplObjectStorage $processedActions=null)
 Dump Action and its child actions into PDF structures.
 
 current ()
 Returns current child action.
 
 key ()
 Returns current iterator key.
 
 next ()
 Go to next child.
 
 rewind ()
 Rewind children.
 
 valid ()
 Check if current position is valid.
 
 getChildren ()
 Returns the child action.
 
 hasChildren ()
 Implements RecursiveIterator interface.
 
 count ()
 count()
 
- Public Member Functions inherited from Zend_Pdf_Target
 getResource ()
 Get resource.
 

Static Public Member Functions

static load (Zend_Pdf_Element $dictionary, SplObjectStorage $processedActions=null)
 Load PDF action object using specified dictionary.
 
- Static Public Member Functions inherited from Zend_Pdf_Target
static load (Zend_Pdf_Element $resource)
 Parse resource and return it as an Action or Explicit Destination.
 

Public Attributes

 $next = array()
 

Protected Attributes

 $_actionDictionary
 
 $_originalNextList
 

Constructor & Destructor Documentation

__construct ( Zend_Pdf_Element  $dictionary,
SplObjectStorage  $processedActions 
)

Object constructor.

Parameters
Zend_Pdf_Element_Dictionary$dictionary
SplObjectStorage$processedActionslist of already processed action dictionaries, used to avoid cyclic references
Exceptions
Zend_Pdf_Exception

Member Function Documentation

count ( )

count()

Returns
int
current ( )

Returns current child action.

Returns
Zend_Pdf_Action
dumpAction ( Zend_Pdf_ElementFactory_Interface  $factory,
SplObjectStorage  $processedActions = null 
)

Dump Action and its child actions into PDF structures.

Returns dictionary indirect object or reference

getChildren ( )

Returns the child action.

Returns
Zend_Pdf_Action|null
getResource ( )

Get resource.

hasChildren ( )

Implements RecursiveIterator interface.

Returns
bool whether container has any pages
key ( )

Returns current iterator key.

Returns
integer
static load ( Zend_Pdf_Element  $dictionary,
SplObjectStorage  $processedActions = null 
)
static

Load PDF action object using specified dictionary.

next ( )

Go to next child.

rewind ( )

Rewind children.

valid ( )

Check if current position is valid.

Returns
boolean

Member Data Documentation

$_actionDictionary
protected
$_originalNextList
protected
$next = array()