setasign\SetaPDF2\Core\Document\Page
AdditionalActions Class representing a pages additional-actions dictionary
File: /SetaPDF v2/Core/Document/Page/AdditionalActions.php
Old class name (alias):
\SetaPDF_Core_Document_Page_AdditionalActions
Class hierarchy
Summary
Properties
Methods
_getAction()
protected AdditionalActions::_getAction (
string $name
): ?\setasign\SetaPDF2\Core\Document\Action\ActionGet the action.
Parameters
- $name : string
Exceptions
_setAction()
Set the action.
Parameters
- $name : string
- $action : ?\setasign\SetaPDF2\Core\Document\Action\Action
Exceptions
getDictionary()
public AdditionalActions::getDictionary (
bool $create = false
): null|\setasign\SetaPDF2\Core\Type\AbstractType|\setasign\SetaPDF2\Core\Type\PdfDictionaryGet the "additional actions"-dictionary.
Parameters
- $create : bool
Pass true to automatically create the dictionary
setClose()
Set the action that shall be performed when the page is closed.