Pdf/Action/URI.php

Show: inherited
Table of Contents

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Subpackage
Actions  
Version
$Id: URI.php 24593 2012-01-05 20:35:02Z matthew $  

\Zend_Pdf_Action_URI

Package: Zend\Pdf\Actions

PDF 'Resolve a uniform resource identifier' action

A URI action causes a URI to be resolved.

Parent(s)
\Zend_Pdf_Action < \Zend_Pdf_Target
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\Zend_Pdf_Element_Dictionary|\Zend_Pdf_Element_Object|\Zend_Pdf_Element_Reference $_actionDictionary =
inherited

Action dictionary

Inherited from: \Zend_Pdf_Action::$$_actionDictionary
Propertyprotectedarray $_originalNextList =
inherited

An original list of chained actions

<p>Array of Zend_Pdf_Action objects</p>Inherited from: \Zend_Pdf_Action::$$_originalNextList
Details
Type
array
Inherited_from
\Zend_Pdf_Action::$$_originalNextList  
Propertypublicarray $next = array()
inherited

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

<p>Array of Zend_Pdf_Action objects</p>Inherited from: \Zend_Pdf_Action::$$next
Default valuearray()Details
Type
array
Inherited_from
\Zend_Pdf_Action::$$next  

Methods

methodpublic__construct(\Zend_Pdf_Element_Dictionary $dictionary, \SplObjectStorage $processedActions) : void

Object constructor

Parameters
Name Type Description
$dictionary \Zend_Pdf_Element_Dictionary
$processedActions \SplObjectStorage

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

Throws
Exception Description
\Zend_Pdf_Exception
methodprotected_validateUri(string $uri) : true
static

Validate URI

Parameters
Name Type Description
$uri string
Returns
Type Description
true
Throws
Exception Description
\Zend_Pdf_Exception
methodpubliccount() : int
inherited

count()

Inherited from: \Zend_Pdf_Action::count()
Returns
Type Description
int
methodpubliccreate(string $uri, boolean $isMap = false) : \Zend_Pdf_Action_URI
static

Create new Zend_Pdf_Action_URI object using specified uri

Parameters
Name Type Description
$uri string

The URI to resolve, encoded in 7-bit ASCII

$isMap boolean

A flag specifying whether to track the mouse position when the URI is resolved

Returns
Type Description
\Zend_Pdf_Action_URI
methodpubliccurrent() : \Zend_Pdf_Action
inherited

Returns current child action.

Inherited from: \Zend_Pdf_Action::current()
Returns
Type Description
\Zend_Pdf_Action
methodpublicgetChildren() : \Zend_Pdf_Action | null
inherited

Returns the child action.

Inherited from: \Zend_Pdf_Action::getChildren()
Returns
Type Description
\Zend_Pdf_Action | null
methodpublicgetIsMap() : boolean

Get IsMap property

If the IsMap flag is true and the user has triggered the URI action by clicking an annotation, the coordinates of the mouse position at the time the action is performed should be transformed from device space to user space and then offset relative to the upper-left corner of the annotation rectangle.

Returns
Type Description
boolean
methodpublicgetUri() : string

Get URI to resolve

Returns
Type Description
string
methodpublichasChildren() : bool
inherited

Implements RecursiveIterator interface.

Inherited from: \Zend_Pdf_Action::hasChildren()
Returns
Type Description
bool whether container has any pages
methodpublickey() : integer
inherited

Returns current iterator key

Inherited from: \Zend_Pdf_Action::key()
Returns
Type Description
integer
methodpublicnext() : void
inherited

Go to next child

Inherited from: \Zend_Pdf_Action::next()
methodpublicrewind() : void
inherited

Rewind children

Inherited from: \Zend_Pdf_Action::rewind()
methodpublicsetIsMap(boolean $isMap) : \Zend_Pdf_Action_URI

Set IsMap property

If the IsMap flag is true and the user has triggered the URI action by clicking an annotation, the coordinates of the mouse position at the time the action is performed should be transformed from device space to user space and then offset relative to the upper-left corner of the annotation rectangle.

Parameters
Name Type Description
$isMap boolean

A flag specifying whether to track the mouse position when the URI is resolved

Returns
Type Description
\Zend_Pdf_Action_URI
methodpublicsetUri(string $uri) : \Zend_Pdf_Action_URI

Set URI to resolve

Parameters
Name Type Description
$uri string

The uri to resolve, encoded in 7-bit ASCII.

Returns
Type Description
\Zend_Pdf_Action_URI
methodpublicvalid() : boolean
inherited

Check if current position is valid

Inherited from: \Zend_Pdf_Action::valid()
Returns
Type Description
boolean
Documentation was generated by phpDocumentor 2.0.0a8.