phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlTextarea.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\common\html\html5
;
4
5
use
Ajax\common\html\HtmlDoubleElement
;
6
use
Ajax\service\JString
;
7
8
class
HtmlTextarea
extends
HtmlDoubleElement
{
9
10
public
function
__construct
(
$identifier
,$value=NULL,$placeholder=NULL,$rows=NULL) {
11
parent::__construct(
$identifier
,
"textarea"
);
12
$this->
setProperty
(
"name"
,
$identifier
);
13
$this->
setValue
($value);
14
$this->
setPlaceholder
($placeholder);
15
if
(isset($rows))
16
$this->
setRows
($rows);
17
}
18
public
function
setValue
($value) {
19
if
(isset($value))
20
$this->
setContent
($value);
21
return
$this;
22
}
23
24
public
function
setPlaceholder
($value){
25
if
(JString::isNotNull($value))
26
$this->
setProperty
(
"placeholder"
, $value);
27
return
$this;
28
}
29
30
public
function
setRows
($count){
31
$this->
setProperty
(
"rows"
, $count);
32
}
33
}
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\HtmlDoubleElement
Definition
HtmlDoubleElement.php:8
Ajax\common\html\HtmlDoubleElement\setContent
setContent($content)
Definition
HtmlDoubleElement.php:27
Ajax\common\html\html5\HtmlTextarea
Definition
HtmlTextarea.php:8
Ajax\common\html\html5\HtmlTextarea\setValue
setValue($value)
Definition
HtmlTextarea.php:18
Ajax\common\html\html5\HtmlTextarea\setRows
setRows($count)
Definition
HtmlTextarea.php:30
Ajax\common\html\html5\HtmlTextarea\__construct
__construct($identifier, $value=NULL, $placeholder=NULL, $rows=NULL)
Definition
HtmlTextarea.php:10
Ajax\common\html\html5\HtmlTextarea\setPlaceholder
setPlaceholder($value)
Definition
HtmlTextarea.php:24
Ajax\common\html\traits\BaseHtmlPropertiesTrait\setProperty
setProperty($name, $value)
Definition
BaseHtmlPropertiesTrait.php:30
Ajax\service\JString
Definition
JString.php:4
Ajax\common\html\html5
Definition
HtmlImg.php:3
Ajax
common
html
html5
HtmlTextarea.php
Generated on Sun Dec 10 2023 16:15:56 for
phpMv-UI
by
doxygen
1.9.8