Field that stores a URL
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the FieldtypeURL
class also inherits all the methods and properties of: FieldtypeText, Fieldtype, WireData and Wire.
Common
Name | Return | Summary | |
---|
FieldtypeURL::formatValue() FieldtypeURL::formatValue(Page $page, Field $field, string $value) FieldtypeURL::formatValue(Page $page, Field $field, string $value) | string | Format value | |
FieldtypeURL::getConfigInputfields() FieldtypeURL::getConfigInputfields(Field $field) FieldtypeURL::getConfigInputfields(Field $field) | InputfieldWrapper | Get field configuration Inputfields | |
FieldtypeURL::getInputfield() FieldtypeURL::getInputfield(Page $page, Field $field) FieldtypeURL::getInputfield(Page $page, Field $field) | Inputfield InputfieldURL | Get Inputfield | |
FieldtypeURL::sanitizeValue() FieldtypeURL::sanitizeValue(Page $page, Field $field, string $value) FieldtypeURL::sanitizeValue(Page $page, Field $field, string $value) | string | Sanitize value for storage | |
Additional methods and properties
In addition to the methods and properties above, FieldtypeURL also inherits the methods and properties of these classes:
API reference based on ProcessWire core version 3.0.236