FieldtypeTextarea class

Field that stores multiple lines of text

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?        

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)
stringFormat value for output
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)
mixed nullLoad the given page field from the database table and return the value.
FieldtypeTextarea::markupQA()
MarkupQAGet the MarkupQA instance 
FieldtypeTextarea::markupValue($page, $field)
string MarkupFieldtypeRender a markup string of the value.
FieldtypeTextarea::sleepValue($page, $field, $value)
string int float arrayGiven an 'awake' value, as set by wakeupValue(), convert the value back to a basic type for storage in database.
FieldtypeTextarea::wakeupValue($page, $field, $value)
string int array objectGiven a raw value (value as stored in database), return the value as it would appear in a Page object.

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.236

Latest news

  • ProcessWire Weekly #550
    In the 550th issue of ProcessWire Weekly we're going to check out the latest core updates, introduce a new third party module called PagefileMetadata, and more. Read on!
    Weekly.pw / 23 November 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“We chose ProcessWire because of its excellent architecture, modular extensibility and the internal API. The CMS offers the necessary flexibility and performance for such a complex website like superbude.de. ProcessWire offers options that are only available for larger systems, such as Drupal, and allows a much slimmer development process.” —xport communication GmbH