setasign\SetaPDF2\Core\Document\Catalog
Dests Class for handling the Dests dictionary in the Catalog
File: /SetaPDF v2/Core/Document/Catalog/Dests.php
Old class name (alias):
\SetaPDF_Core_Document_Catalog_Dests
Class hierarchy
Implements
Summary
Properties
$_catalog
protected \SetaPDF_Core_Document_Catalog Dests::$_catalog
The catalog instance
Methods
__construct()
add()
Add or overwrite a named destination.
Parameters
- $name : string|\SetaPDF_Core_Type_Name
- $destination : \SetaPDF_Core_Document_Destination
Exceptions
count()
Count all available named destinations.
Exceptions
get()
Get a destination object by its name.
Parameters
- $name : string
Exceptions
getAll()
getDictionary()
Get and creates the dictionary.
Parameters
- $create : bool
Exceptions
getIterator()
Implementation of the IteratorAggregate interface.
Exceptions
offsetExists()
Checks if a named destination exists
Parameters
- $offset : string
Exceptions
offsetGet()
Get a destination by its name.
Parameters
- $offset : string
Exceptions
offsetSet()
Parameters
- $offset : string|\SetaPDF_Core_Type_Name
- $value : \SetaPDF_Core_Document_Destination
Exceptions
offsetUnset()
Removes a named destination.
Parameters
- $offset : string
Exceptions
remove()
Removes a named destination.
Parameters
- $name : string