FieldtypeTextarea class

Field that stores multiple lines of text

Properties set to $field that is using this type, acceessed by $field->get('property')

  • contentType (int): Content type of field output using a self::contentType* constant Default:0
  • htmlOptions (array): Options for content-type Markup/HTML using self::html* constants Default:[]
  • inputfieldClass (string): Inputfield class/module name to use for this field Default:InputfieldTextarea

Click any linked item for full usage details and examples. Hookable methods are indicated with the icon. In addition to those shown below, the FieldtypeTextarea class also inherits all the methods and properties of: FieldtypeText, Fieldtype, WireData and Wire.

Show class?     Show args?       Only hookable?    

Common

NameReturnSummary 
FieldtypeTextarea::configHelper()
FieldtypeTextareaHelperGet an instance of the FieldtypeTextareaHelper config helper 
FieldtypeTextarea::exportValue(Page $page, Field $field, $value)
array stringExport value
FieldtypeTextarea::findLinks(Page $page)
PageArray array intFind abstracted HTML/href attribute Textarea links to given $page 
FieldtypeTextarea::formatValue($page, $field, $value)
None
FieldtypeTextarea::getConfigInputfields(Field $field)
InputfieldWrapperGet Inputfields to configure the Field
FieldtypeTextarea::getDatabaseSchema(Field $field)
arrayGet database schema used by the Field 
FieldtypeTextarea::getFieldSetups()
arrayGet setup options and setup functions for new fields
FieldtypeTextarea::getInputfield(Page $page, Field $field)
InputfieldGet the Inputfield module that provides input for Field 
FieldtypeTextarea::importValue(Page $page, Field $field, $value)
array stringImport value
FieldtypeTextarea::loadPageField($page, $field)
None
FieldtypeTextarea::markupQA()
MarkupQAGet the MarkupQA instance 
FieldtypeTextarea::markupValue($page, $field)
None
FieldtypeTextarea::sleepValue($page, $field, $value)
None
FieldtypeTextarea::wakeupValue($page, $field, $value)
None

Additional methods and properties

In addition to the methods and properties above, FieldtypeTextarea also inherits the methods and properties of these classes:

API reference based on ProcessWire core version 3.0.251