X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fhtmlform%2Ffields%2FHTMLTextAreaField.php;h=82ec3bf201211788b0fd7dc5f8bcbb2eca42b0b9;hb=e758226c91935a1df2b6fd3ed1f18922d8bfb45b;hp=8ffff43888f7ad1093f0ee8fa0d661460c0d2570;hpb=43b7b5ef948ede9f1b8dee64b5d8742d4ab292c5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/htmlform/fields/HTMLTextAreaField.php b/includes/htmlform/fields/HTMLTextAreaField.php index 8ffff43888..82ec3bf201 100644 --- a/includes/htmlform/fields/HTMLTextAreaField.php +++ b/includes/htmlform/fields/HTMLTextAreaField.php @@ -22,15 +22,15 @@ class HTMLTextAreaField extends HTMLFormField { } } - function getCols() { + public function getCols() { return isset( $this->mParams['cols'] ) ? $this->mParams['cols'] : static::DEFAULT_COLS; } - function getRows() { + public function getRows() { return isset( $this->mParams['rows'] ) ? $this->mParams['rows'] : static::DEFAULT_ROWS; } - function getSpellCheck() { + public function getSpellCheck() { $val = isset( $this->mParams['spellcheck'] ) ? $this->mParams['spellcheck'] : null; if ( is_bool( $val ) ) { // "spellcheck" attribute literally requires "true" or "false" to work. @@ -39,7 +39,7 @@ class HTMLTextAreaField extends HTMLFormField { return null; } - function getInputHTML( $value ) { + public function getInputHTML( $value ) { $attribs = [ 'id' => $this->mID, 'cols' => $this->getCols(),