Field that stores an e-mail address
Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the FieldtypeEmail
class also inherits all the methods and properties of: FieldtypeText, Fieldtype, WireData and Wire.
Common
Name | Return | Summary | |
---|
FieldtypeEmail::getConfigAdvancedInputfields() FieldtypeEmail::getConfigAdvancedInputfields(Field $field) FieldtypeEmail::getConfigAdvancedInputfields(Field $field) | InputfieldWrapper | Advanced configuration for field | |
FieldtypeEmail::getDatabaseSchema() FieldtypeEmail::getDatabaseSchema(Field $field) FieldtypeEmail::getDatabaseSchema(Field $field) | array | Get database schema for field | |
FieldtypeEmail::getInputfield() FieldtypeEmail::getInputfield(Page $page, Field $field) FieldtypeEmail::getInputfield(Page $page, Field $field) | InputfieldEmail | Get Inputfield module for this Fieldtype | |
FieldtypeEmail::getMaxEmailLength() FieldtypeEmail::getMaxEmailLength() FieldtypeEmail::getMaxEmailLength() | int | Get max email address length | |
FieldtypeEmail::isDeleteValue() FieldtypeEmail::isDeleteValue(Page $page, Field $field, mixed $value) FieldtypeEmail::isDeleteValue(Page $page, Field $field, mixed $value) | bool | Is given value one that doesn’t need to be stored in DB? | |
FieldtypeEmail::sanitizeValue() FieldtypeEmail::sanitizeValue(Page $page, Field $field, string $value) FieldtypeEmail::sanitizeValue(Page $page, Field $field, string $value) | string | Sanitize value for page | |
Additional methods and properties
In addition to the methods and properties above, FieldtypeEmail also inherits the methods and properties of these classes:
API reference based on ProcessWire core version 3.0.236