setasign\SetaPDF2\Core\Document\Catalog
Names Class for handling Names in a PDF document
File: /SetaPDF v2/Core/Document/Catalog/Names.php
Old class name (alias):
\SetaPDF_Core_Document_Catalog_Names
Class hierarchy
Summary
Constants
ALTERNATE_PRESENTATIONS
Name/Category key
AP
DESTS
EMBEDDED_FILES
Name/Category key
IDS
JAVA_SCRIPT
Name/Category key
PAGES
RENDITIONS
Name/Category key
TEMPLATES
URLS
XFA_RESOURCES
Name/Category key
Properties
$_catalog
protected \SetaPDF_Core_Document_Catalog Names::$_catalog
The catalog instance
$_namesDictionary
protected \SetaPDF_Core_Type_Dictionary Names::$_namesDictionary
The Names dictionary
Static Methods
Methods
__construct()
getNamesDictionary()
Returns the Names dictionary in the document's catalog.
Parameters
- $create : bool
Exceptions
Throws \setasign\SetaPDF2\Core\SecHandler\Exception,\setasign\SetaPDF2\Core\Type\Exception
getTree()
Get a name tree by its name.
Parameters
- $name : string
- $create : bool
Exceptions
getTrees()
Get all available name trees.
Return Values
Array of \setasign\SetaPDF2\Core\DataStructure\Tree\NameTree objects
Exceptions
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception