PagefileExtra class
Extra extension for Pagefile or Pageimage objects
Properties
The following properties affect the behavior of the URL-related methods
Hookable methods
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the Pagefile class also inherits all the methods and properties of: WireData and Wire.
Common
Properties
| Name | Return | Summary | |
|---|---|---|---|
| Pagefile | string | No-cache version of httpUrl | |
| Pagefile | string | No-cache version of url | |
| Pagefile | string | Alias of extension | |
| Pagefile | string | File extension | |
| Pagefile | Pagefile Pageimage | Source Pageimage object | |
| Pagefile | string | Alias of filename | |
| Pagefile | int | Bytes saved by this extra | |
| Pagefile | string | Percent savings by this extra | |
| Pagefile | string | Human readable savings by this extra | |
| Pagefile | bool | Use longer filenames that also include the Pagefile’s extension? DEFAULT: false | |
| Pagefile | bool | Use source Pagefile URL if extra image does not exist and cannot be created? DEFAULT: false | |
| Pagefile | bool | Use source Pagefile URL if extra file is larger than source file? DEFAULT: false |
Additional methods and properties
In addition to the methods and properties above, Pagefile
API reference based on ProcessWire core version 3.0.253