XOOPS  2.6.0
Xoops\Form\ButtonTray Class Reference
Inheritance diagram for Xoops\Form\ButtonTray:
Inheritance graph

Public Member Functions

 __construct ($name, $value= '', $type= '', $onclick= '', $showDelete=false)
 
 getType ()
 
 render ()
 
- Public Member Functions inherited from Xoops\Form\Element
 getAccessKey ()
 
 getAccessString ($str)
 
 getCaption ()
 
 getClass ()
 
 getDatalist ()
 
 getDescription ($encode=false)
 
 getExtra ($encode=false)
 
 getMaxcols ()
 
 getName ()
 
 getPattern ()
 
 getPatternDescription ()
 
 getTitle ()
 
 getValue ($encode=false)
 
 isDatalist ()
 
 isHidden ()
 
 isRequired ()
 
 render ()
 
 renderAttributeString ()
 
 renderValidationJS ()
 
 setAccessKey ($key)
 
 setCaption ($caption)
 
 setClass ($class)
 
 setDatalist ($datalist)
 
 setDescription ($description)
 
 setExtra ($extra, $replace=false)
 
 setHidden ()
 
 setName ($name)
 
 setPattern ($pattern, $pattern_description= '')
 
 setRequired ($bool=true)
 
 setTitle ($title)
 
 setValue ($value)
 
- Public Member Functions inherited from Xoops\Html\Attributes
 addAttribute ($name, $value)
 
 getAttribute ($name)
 
 hasAttribute ($name)
 
 renderAttributeString ()
 
 setAttribute ($name, $value=null)
 
 setAttributes ($values)
 
 unsetAttribute ($name)
 

Private Attributes

 $showDelete
 

Additional Inherited Members

- Public Attributes inherited from Xoops\Form\Element
 $customValidationCode = array()
 
- Protected Attributes inherited from Xoops\Form\Element
 $value = ''
 
- Protected Attributes inherited from Xoops\Html\Attributes
 $attributes = array()
 

Detailed Description

Definition at line 25 of file ButtonTray.php.

Constructor & Destructor Documentation

Xoops\Form\ButtonTray::__construct (   $name,
  $value = '',
  $type = '',
  $onclick = '',
  $showDelete = false 
)

__construct

Parameters
string$namename
string$valuevalue
string$typeType of button. This could be either "button", "submit", or "reset"
string$onclickonClick JS code
boolean$showDeleteshow delete confirmation

Definition at line 47 of file ButtonTray.php.

References $name, Xoops\Form\ButtonTray\$showDelete, $type, Xoops\Form\Element\$value, Xoops\Html\Attributes\setAttribute(), Xoops\Form\Element\setExtra(), and Xoops\Form\Element\setValue().

Here is the call graph for this function:

Member Function Documentation

Xoops\Form\ButtonTray::getType ( )

getType

Returns
string type

Definition at line 65 of file ButtonTray.php.

References Xoops\Html\Attributes\getAttribute().

Here is the call graph for this function:

Member Data Documentation

Xoops\Form\ButtonTray::$showDelete
private

Definition at line 36 of file ButtonTray.php.

Referenced by Xoops\Form\ButtonTray\__construct().


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