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

Public Member Functions

 getType ()
 
 getValue ($encode=false)
 
 render ()
 
 setValue ($value)
 
 XoopsFormButton ($caption, $name, $value="", $type="button")
 
- 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

 $_type
 
 $_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

Definition at line 42 of file formbutton.php.

Member Function Documentation

XoopsFormButton::getType ( )
Get the type
Returns
string

Definition at line 101 of file formbutton.php.

XoopsFormButton::getValue (   $encode = false)
Get the initial value
Parameters
bool$encodeTo sanitizer the text?
Returns
string

Definition at line 81 of file formbutton.php.

XoopsFormButton::render ( )
prepare HTML for output
Returns
string

Definition at line 111 of file formbutton.php.

XoopsFormButton::setValue (   $value)
Set the initial value
Returns
string

Definition at line 91 of file formbutton.php.

XoopsFormButton::XoopsFormButton (   $caption,
  $name,
  $value = "",
  $type = "button" 
)
Constructor
Parameters
string$captionCaption
string$name
string$value
string$typeType of the button. Potential values: "button", "submit", or "reset"

Definition at line 67 of file formbutton.php.

References $type.

Member Data Documentation

XoopsFormButton::$_type

Definition at line 57 of file formbutton.php.

XoopsFormButton::$_value

Definition at line 50 of file formbutton.php.


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