setasign\SetaPDF2\Core\Document\Action

UriAction Class representing an URI action

File: /SetaPDF v2/Core/Document/Action/UriAction.php
Old class name (alias): \SetaPDF_Core_Document_Action_Uri

Resolve a uniform resource identifier. See PDF 32000-1:2008 - 12.6.4.7

Class hierarchy

Summary

Properties

$_actionDictionary


Static Methods

createActionDictionary()


Methods

addNext()

Adds an additional action to the next value of this action.

Parameters
$next : \setasign\SetaPDF2\Core\Type\PdfDictionary|Action
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

getActionDictionary()

Get the action dictionary.

getIndirectObject()

Get the indirect object of this annotation or creates it in the specific document context.

Parameters
$document : ?\setasign\SetaPDF2\Core\Document

The document instance

getPdfValue()

Get the PDF value of this action.

getType()

public Action::getType (
void
): string

Get the action type specified in the S key.

getUri()

public UriAction::getUri (
void
): string

Get the URI.

Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception

setIndirectObject()

Set the indirect object of this annotation.

Parameters
$indirectReference : \setasign\SetaPDF2\Core\Type\IndirectObjectInterface
 

setUri()

public UriAction::setUri (
string $uri
): void

Set the URI.

Parameters
$uri : string
 
Exceptions

Throws \setasign\SetaPDF2\Core\Type\Exception