|
XOOPS
2.6.0
|

Additional Inherited Members | |
Public Attributes inherited from Xoops\Form\Element | |
| $customValidationCode = array() | |
Protected Attributes inherited from Xoops\Form\Element | |
| $value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
| $attributes = array() | |
Definition at line 25 of file TextArea.php.
| Xoops\Form\TextArea::__construct | ( | $caption, | |
| $name, | |||
$value = "", |
|||
$rows = 5, |
|||
$cols = 5, |
|||
$placeholder = '' |
|||
| ) |
Constructor
| string | $caption | caption |
| string | $name | name |
| string | $value | initial content |
| integer | $rows | number of rows |
| integer | $cols | number of columns |
| string | $placeholder | placeholder for this element. |
Definition at line 59 of file TextArea.php.
References Xoops\Form\Element\$caption, $name, Xoops\Form\Element\$value, Xoops\Html\Attributes\setAttribute(), Xoops\Form\Element\setCaption(), and Xoops\Form\Element\setValue().

| Xoops\Form\TextArea::getCols | ( | ) |
Get number of columns
Definition at line 85 of file TextArea.php.
References Xoops\Html\Attributes\getAttribute().
Referenced by FormDhtmlTextArea\__construct(), Xoops\Form\TextArea\render(), and Xoops\Form\DhtmlTextArea\render().


| Xoops\Form\TextArea::getPlaceholder | ( | ) |
Get placeholder for this element
Definition at line 95 of file TextArea.php.
References Xoops\Html\Attributes\getAttribute().

| Xoops\Form\TextArea::getRows | ( | ) |
get number of rows
Definition at line 75 of file TextArea.php.
References Xoops\Html\Attributes\getAttribute().
Referenced by FormDhtmlTextArea\__construct(), and Xoops\Form\DhtmlTextArea\render().


| Xoops\Form\TextArea::render | ( | ) |
prepare HTML for output
Definition at line 105 of file TextArea.php.
References Xoops\Html\Attributes\$attributes, Xoops\Form\Element\$maxcols, Xoops\Html\Attributes\addAttribute(), Xoops\Form\TextArea\getCols(), Xoops\Form\Element\getExtra(), Xoops\Form\Element\getMaxcols(), Xoops\Form\Element\getValue(), and Xoops\Form\Element\renderAttributeString().
