Class Trees Index phpDocumentor Project Page

Class XoopsFormButton

(line 48)

XoopsFormElement
   |
   --XoopsFormButton

Located in File: Program_Root/class/xoopsform/formbutton.php


A button

Class Variable Summary


Inherited Class Variable Summary


Method Summary

void

constructor XoopsFormButton ( $caption, $name, $value, [$type = "button"] )


Constructor
string

getType ( )


Get the type
string

getValue ( )


Get the initial value
string

render ( )


prepare HTML for output

Inherited Method Summary

Inherited From Class XoopsFormElement

Function Description
XoopsFormElement::XoopsFormElement() constructor
XoopsFormElement::getCaption() get the caption for the element
XoopsFormElement::getDescription() get the element's description
XoopsFormElement::getExtra() Get the extra attributes for the element
XoopsFormElement::getName() get the "name" attribute for the element
XoopsFormElement::isHidden() Find out if an element is "hidden".
XoopsFormElement::render() Generate output for the form element.
XoopsFormElement::setCaption() set the caption for the element
XoopsFormElement::setDescription() set the element's description
XoopsFormElement::setExtra() Add extra attributes to the element.
XoopsFormElement::setHidden() flag the element as "hidden"
XoopsFormElement::setName() set the "name" attribute for the element

Method Detail

Constructor XoopsFormButton (line 73)

void

XoopsFormButton( string $caption, string $name, string $value, [string $type = "button"])

Constructor
Function Parameters:
- string $caption: Caption
- string $name:
- string $value:
- string $type: Type of the button. This could be either "button", "submit", or "reset"
Function Info:

[ Top ]


getType (line 94)

string

getType( )

Get the type
Function Info:

[ Top ]


getValue (line 85)

string

getValue( )

Get the initial value
Function Info:

[ Top ]


render (line 103)

string

render( )

Overrides XoopsFormElement::render() (Generate output for the form element.)

prepare HTML for output
Function Info:

[ Top ]



Variable Detail



Documention generated on Fri, 21 Feb 2003 02:07:23 +0100 by phpDocumentor 1.2.0rc1
proudly hosted at
SourceForge.net Logo