phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
HtmlFormTextarea.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\semantic\html\collections\form
;
4
5
use
Ajax\semantic\html\collections\form\HtmlFormField
;
6
use
Ajax\common\html\html5\HtmlTextarea
;
7
use
Ajax\semantic\html\collections\form\traits\TextFieldsTrait
;
8
9
class
HtmlFormTextarea
extends
HtmlFormField
{
10
use
TextFieldsTrait
;
11
12
public
function
__construct
(
$identifier
, $label=NULL,$value=NULL,$placeholder=NULL,$rows=NULL) {
13
if
(!isset($placeholder))
14
$placeholder=$label;
15
parent::__construct(
"field-"
.
$identifier
,
new
HtmlTextarea
(
$identifier
,$value,$placeholder,$rows), $label);
16
$this->_identifier=
$identifier
;
17
}
18
23
public
function
setRows
($count){
24
$this->
getField
()->setRows($count);
25
}
26
27
public
function
getDataField
() {
28
return
$this->content[
"field"
];
29
}
30
31
public
function
setName
($name){
32
$this->
getDataField
()->setProperty(
"name"
,$name);
33
}
34
}
Ajax\semantic\html\collections\form\HtmlFormTextarea
Definition:
HtmlFormTextarea.php:9
Ajax\semantic\html\collections\form\HtmlFormTextarea\__construct
__construct($identifier, $label=NULL, $value=NULL, $placeholder=NULL, $rows=NULL)
Definition:
HtmlFormTextarea.php:12
Ajax\semantic\html\collections\form\HtmlFormField
Definition:
HtmlFormField.php:15
HtmlTextarea
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition:
BaseWidget.php:14
Ajax\semantic\html\collections\form\HtmlFormField\getField
getField()
Return the field.
Definition:
HtmlFormField.php:71
Ajax\semantic\html\collections\form\HtmlFormTextarea\getDataField
getDataField()
Definition:
HtmlFormTextarea.php:27
Ajax\semantic\html\collections\form\traits\TextFieldsTrait
trait TextFieldsTrait
Definition:
TextFieldsTrait.php:5
HtmlFormField
Ajax\semantic\html\collections\form\HtmlFormTextarea\setRows
setRows($count)
Defines the textarea row count.
Definition:
HtmlFormTextarea.php:23
Ajax\semantic\html\collections\form\HtmlFormTextarea\setName
setName($name)
Definition:
HtmlFormTextarea.php:31
Ajax\common\html\html5\HtmlTextarea
Definition:
HtmlTextarea.php:8
Ajax\semantic\html\collections\form
Definition:
HtmlForm.php:3
Ajax
semantic
html
collections
form
HtmlFormTextarea.php
Generated on Thu Sep 19 2024 23:26:03 for
phpMv-UI
by
doxygen
1.8.13