XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
XoopsFormTextArea Class Reference
Inheritance diagram for XoopsFormTextArea:
XoopsFormElement XoopsFormDhtmlTextArea

Public Member Functions

 __construct ($caption, $name, $value='', $rows=5, $cols=50)
 
 XoopsFormTextArea ($caption, $name, $value='', $rows=5, $cols=50)
 
 getRows ()
 
 getCols ()
 
 getValue ()
 
 setValue ($value)
 
 render ()
 
- Public Member Functions inherited from XoopsFormElement
 __construct ()
 
 XoopsFormElement ()
 
 isContainer ()
 
 setName ($name)
 
 getName ($encode=true)
 
 setId ($id)
 
 getId ()
 
 setAccessKey ($key)
 
 getAccessKey ()
 
 getAccessString ($str)
 
 setClass ($class)
 
 getClass ()
 
 setCaption ($caption)
 
 getCaption ()
 
 setDescription ($description)
 
 getDescription ()
 
 setHidden ()
 
 isHidden ()
 
 isBreak ()
 
 setExtra ($extra, $replace=false)
 
 getExtra ()
 
 getMessageForJS ()
 

Data Fields

 $_cols
 
 $_rows
 
 $_value
 
- Data Fields inherited from XoopsFormElement
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = ''
 
 $_hidden = false
 
 $_extra = ''
 
 $_required = false
 
 $_description = ''
 
 $_id = null
 

Detailed Description

Definition at line 18 of file formtextarea.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( $caption,
$name,
$value = '',
$rows = 5,
$cols = 50 )

Constuctor

Parameters
string$captioncaption
string$namename
string$valueinitial content
int$rowsnumber of rows
int$colsnumber of columns

Definition at line 50 of file formtextarea.php.

Member Function Documentation

◆ getCols()

getCols ( )

Get number of columns

Returns
int

Definition at line 78 of file formtextarea.php.

◆ getRows()

getRows ( )

get number of rows

Returns
int

Definition at line 68 of file formtextarea.php.

◆ getValue()

getValue ( )

Get initial content

Returns
string

Definition at line 88 of file formtextarea.php.

◆ render()

render ( )

prepare HTML for output

Returns
sting HTML

Reimplemented from XoopsFormElement.

Reimplemented in XoopsFormDhtmlTextArea.

Definition at line 108 of file formtextarea.php.

◆ setValue()

setValue ( $value)

Set initial content

Parameters
string$value

Definition at line 98 of file formtextarea.php.

◆ XoopsFormTextArea()

XoopsFormTextArea ( $caption,
$name,
$value = '',
$rows = 5,
$cols = 50 )

Definition at line 58 of file formtextarea.php.

Field Documentation

◆ $_cols

$_cols

Definition at line 25 of file formtextarea.php.

◆ $_rows

$_rows

Definition at line 32 of file formtextarea.php.

◆ $_value

$_value

Definition at line 39 of file formtextarea.php.


The documentation for this class was generated from the following file: