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