PDF 'Go to' action

package Zend_Pdf
subpackage Actions
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Pdf_Action

 Methods

Object constructor

__construct(\Zend_Pdf_Element_Dictionary $dictionary, \SplObjectStorage $processedActions) 
inherited_from \Zend_Pdf_Action::__construct()

Parameters

$dictionary

\Zend_Pdf_Element_Dictionary

$processedActions

\SplObjectStorage

list of already processed action dictionaries, used to avoid cyclic references

Object constructor

__construct(\Zend_Pdf_Element_Dictionary $dictionary, \SplObjectStorage $processedActions) 
Inherited

Parameters

$dictionary

\Zend_Pdf_Element_Dictionary

$processedActions

\SplObjectStorage

list of already processed action dictionaries, used to avoid cyclic references

Exceptions

\Zend_Pdf_Exception

count()

count() : integer
Inherited

Returns

integer

Create new Zend_Pdf_Action_GoTo object using specified destination

create(\Zend_Pdf_Destination|string $destination) : \Zend_Pdf_Action_GoTo
Static

Parameters

$destination

\Zend_Pdf_Destinationstring

Returns

\Zend_Pdf_Action_GoTo

Returns current child action.

current() : \Zend_Pdf_Action
Inherited

Returns

\Zend_Pdf_Action

Returns the child action.

getChildren() : \Zend_Pdf_Action | null
Inherited

Returns

\Zend_Pdf_Actionnull

Get goto action destination

getDestination() : \Zend_Pdf_Destination

Returns

\Zend_Pdf_Destination

Implements RecursiveIterator interface.

hasChildren() : boolean
Inherited

Returns

booleanwhether container has any pages

Returns current iterator key

key() : integer
Inherited

Returns

integer

Parse resource and return it as an Action or Explicit Destination

load(\Zend_Pdf_Element $resource) : \Zend_Pdf_Destination
InheritedStatic

$param Zend_Pdf_Element $resource

Parameters

$resource

Exceptions

\Zend_Pdf_Exception

Returns

\Zend_Pdf_Destination

Go to next child

next() 
Inherited

Rewind children

rewind() 
Inherited

Set goto action destination

setDestination(\Zend_Pdf_Destination|string $destination) : \Zend_Pdf_Action_GoTo

Parameters

$destination

\Zend_Pdf_Destinationstring

Returns

\Zend_Pdf_Action_GoTo

Check if current position is valid

valid() : boolean
Inherited

Returns

boolean

 Properties

 

A list of next actions in actions tree (used for actions chaining)

$next : array

Default

array()
 

Action dictionary

$_actionDictionary : \Zend_Pdf_Element_Dictionary | \Zend_Pdf_Element_Object | \Zend_Pdf_Element_Reference

Default

 

GoTo Action destination

$_destination : \Zend_Pdf_Destination

Default

 

An original list of chained actions

$_originalNextList : array

Default