XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsFormTextArea Class Reference
Inheritance diagram for XoopsFormTextArea:
Inheritance graph

Public Member Functions

 getCols ()
 
 getRows ()
 
 getValue ($encode=false)
 
 render ()
 
 setValue ($value)
 
 XoopsFormTextArea ($caption, $name, $value="", $rows=5, $cols=50)
 
- Public Member Functions inherited from XoopsFormElement
 getAccessKey ()
 
 getAccessString ($str)
 
 getCaption ($encode=false)
 
 getClass ()
 
 getDescription ($encode=false)
 
 getExtra ($encode=false)
 
 getFormType ()
 
 getName ($encode=true)
 
 getNocolspan ()
 
 getTitle ($encode=true)
 
 isContainer ()
 
 isHidden ()
 
 isRequired ()
 
 render ()
 
 renderValidationJS ()
 
 setAccessKey ($key)
 
 setCaption ($caption)
 
 setClass ($class)
 
 setDescription ($description)
 
 setExtra ($extra, $replace=false)
 
 setFormType ($value= '')
 
 setHidden ()
 
 setName ($name)
 
 setNocolspan ($nocolspan=true)
 
 XoopsFormElement ()
 

Public Attributes

 $_cols
 
 $_rows
 
 $_value
 
- Public Attributes inherited from XoopsFormElement
 $_accesskey = ''
 
 $_caption
 
 $_class = array()
 
 $_description = ''
 
 $_extra = array()
 
 $_formtype = ''
 
 $_hidden = false
 
 $_name
 
 $_nocolspan = false
 
 $_required = false
 
 $customValidationCode = array()
 

Detailed Description

A textarea

Definition at line 28 of file formtextarea.php.

Member Function Documentation

XoopsFormTextArea::getCols ( )

Get number of columns

Returns
int

Definition at line 87 of file formtextarea.php.

XoopsFormTextArea::getRows ( )

get number of rows

Returns
int

Definition at line 77 of file formtextarea.php.

XoopsFormTextArea::getValue (   $encode = false)

Get initial content

Parameters
bool$encodeTo sanitizer the text? Default value should be "true"; however we have to set "false" for backward compat
Returns
string

Definition at line 98 of file formtextarea.php.

XoopsFormTextArea::render ( )

prepare HTML for output

Returns
sting HTML

Definition at line 118 of file formtextarea.php.

XoopsFormTextArea::setValue (   $value)

Set initial content

Parameters
$valuestring

Definition at line 108 of file formtextarea.php.

XoopsFormTextArea::XoopsFormTextArea (   $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 63 of file formtextarea.php.

Member Data Documentation

XoopsFormTextArea::$_cols

Definition at line 36 of file formtextarea.php.

XoopsFormTextArea::$_rows

Definition at line 44 of file formtextarea.php.

XoopsFormTextArea::$_value

Definition at line 52 of file formtextarea.php.


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