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

Latest news

  • ProcessWire Weekly #560
    In the 560th issue of ProcessWire Weekly we'll check out the latest core updates, cover newly released ProcessWire modules, and more. Read on!
    Weekly.pw / 1 February 2025
  • ProcessWire 3.0.244 new main/master version
    ProcessWire 3.0.244 is our newest main/master/stable version. It's been more than a year in the making and is packed with tons of new features, issue fixes, optimizations and more. This post covers all the details.
    Blog / 18 January 2025
  • Subscribe to weekly ProcessWire news

“I am currently managing a ProcessWire site with 2 million+ pages. It’s admirably fast, and much, much faster than any other CMS we tested.” —Nickie, Web developer