PageOptions
in package
Options for page handling (PDF only).
Table of Contents
Properties
- $onMinPage : int
- $operation : string
- $pageIndexes : array<string|int, mixed>|null
Methods
- __construct() : mixed
- isEmpty() : bool
- Checks whether the options are set.
Properties
$onMinPage
public
int
$onMinPage
Apply the operation only if the document has at least this many pages.
$operation
public
string
$operation
Operation to apply to the page.
$pageIndexes
public
array<string|int, mixed>|null
$pageIndexes
Indexes of the page to apply the transformations to.
Methods
__construct()
public
__construct([array<string|int, mixed>|null $pageIndexes = null ][, string $operation = KEEP_ONLY ][, int $onMinPage = 0 ]) : mixed
Parameters
- $pageIndexes : array<string|int, mixed>|null = null
-
Indexes of the page.
- $operation : string = KEEP_ONLY
-
Operation to apply.
- $onMinPage : int = 0
-
Minimum page amount.
isEmpty()
Checks whether the options are set.
public
isEmpty() : bool