Pdf/Action/URI.php

Show: PublicProtectedPrivateinherited
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 license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Subpackage
Actions  
Version
$Id$  

\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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

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

Object constructor

Parameters
NameTypeDescription
$dictionary\Zend_Pdf_Element_Dictionary
$processedActions\SplObjectStorage

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

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

Validate URI

Parameters
NameTypeDescription
$uristring
Returns
TypeDescription
true
Throws
ExceptionDescription
\Zend_Pdf_Exception
methodpubliccreate(string $uri, boolean $isMap = false) : \Zend_Pdf_Action_URI
static

Create new Zend_Pdf_Action_URI object using specified uri

Parameters
NameTypeDescription
$uristring

The URI to resolve, encoded in 7-bit ASCII

$isMapboolean

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

Returns
TypeDescription
\Zend_Pdf_Action_URI
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
TypeDescription
boolean
methodpublicgetUri() : string

Get URI to resolve

Returns
TypeDescription
string
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
NameTypeDescription
$isMapboolean

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

Returns
TypeDescription
\Zend_Pdf_Action_URI
methodpublicsetUri(string $uri) : \Zend_Pdf_Action_URI

Set URI to resolve

Parameters
NameTypeDescription
$uristring

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

Returns
TypeDescription
\Zend_Pdf_Action_URI
Documentation was generated by phpDocumentor 2.2.0 .