phpdftk API Documentation

CollectionSchema extends PdfObject
in package

PDF Collection Schema dictionary.

Defines the schema for collection fields in a PDF portfolio.

Example: $schema = new CollectionSchema(); $schema->fields->set('FileName', $fieldDefDict);

Attributes
#[RequiresPdfVersion]
\Phpdftk\Pdf\Core\PdfVersion::V1_7

Table of Contents

Constants

PDF_TYPE  = 'CollectionSchema'

Properties

$fields  : PdfDictionary
$generationNumber  : int
$objectNumber  : int

Methods

__construct()  : mixed
toIndirectObject()  : string
Wrap the object in an indirect object structure: X Y obj ... endobj
toPdf()  : string
Serialize the object's dictionary/value to PDF syntax.

Constants

Properties

$generationNumber

public int $generationNumber = 0

Methods

toIndirectObject()

Wrap the object in an indirect object structure: X Y obj ... endobj

public toIndirectObject() : string
Return values
string

toPdf()

Serialize the object's dictionary/value to PDF syntax.

public toPdf() : string
Return values
string

        
On this page

Search results