Class Form

Description

Located in /library/form.class.php (line 19)


	
			
Variable Summary
static mixed $fields
Method Summary
static void form ( $name,  $view, [ $method = "POST"], [ $input = NULL])
Form __construct ()
void action ( $value, [ $options = NULL])
void addfield ( $name)
void button ( $name,  $value, [ $options = NULL])
void checkbox ( $name, [ $value = ''], [ $status = false], [ $options = NULL])
void endform ()
void file ( $name, [ $options = NULL])
void hidden ( $name, [ $value = ''], [ $options = NULL])
void input ( $type,  $name, [ $value = ''], [ $options = NULL])
void options ([ $options = NULL])
void password ( $name, [ $value = ''], [ $options = NULL])
void radio ( $name, [ $value = ''], [ $status = false], [ $options = NULL])
void select ( $name, [ $values = ''], [ $default = NULL], [ $options = NULL])
void selectvalues ( $inputs, [ $default = NULL])
void submit ( $name, [ $value = 'Submit'], [ $options = NULL])
void text ( $name, [ $value = ''], [ $options = NULL])
void textarea ( $name, [ $value = ''], [ $options = NULL])
void upload ( $fname,  $name,  $view,  $callback, [ $input = NULL], [ $options = NULL])
Variables
static mixed $fields (line 20)
  • access: public
Methods
static method form (line 24)
static void form ( $name,  $view, [ $method = "POST"], [ $input = NULL])
  • $name
  • $view
  • $method
  • $input
Constructor __construct (line 21)
Form __construct ()
action (line 77)
void action ( $value, [ $options = NULL])
  • $value
  • $options
addfield (line 40)
void addfield ( $name)
  • $name
button (line 92)
void button ( $name,  $value, [ $options = NULL])
  • $name
  • $value
  • $options
checkbox (line 98)
void checkbox ( $name, [ $value = ''], [ $status = false], [ $options = NULL])
  • $name
  • $value
  • $status
  • $options
endform (line 132)
void endform ()
file (line 83)
void file ( $name, [ $options = NULL])
  • $name
  • $options
hidden (line 89)
void hidden ( $name, [ $value = ''], [ $options = NULL])
  • $name
  • $value
  • $options
input (line 106)
void input ( $type,  $name, [ $value = ''], [ $options = NULL])
  • $type
  • $name
  • $value
  • $options
options (line 64)
void options ([ $options = NULL])
  • $options
password (line 86)
void password ( $name, [ $value = ''], [ $options = NULL])
  • $name
  • $value
  • $options
radio (line 102)
void radio ( $name, [ $value = ''], [ $status = false], [ $options = NULL])
  • $name
  • $value
  • $status
  • $options
select (line 125)
void select ( $name, [ $values = ''], [ $default = NULL], [ $options = NULL])
  • $name
  • $values
  • $default
  • $options
selectvalues (line 116)
void selectvalues ( $inputs, [ $default = NULL])
  • $inputs
  • $default
submit (line 80)
void submit ( $name, [ $value = 'Submit'], [ $options = NULL])
  • $name
  • $value
  • $options
text (line 95)
void text ( $name, [ $value = ''], [ $options = NULL])
  • $name
  • $value
  • $options
textarea (line 111)
void textarea ( $name, [ $value = ''], [ $options = NULL])
  • $name
  • $value
  • $options
upload (line 44)
void upload ( $fname,  $name,  $view,  $callback, [ $input = NULL], [ $options = NULL])
  • $fname
  • $name
  • $view
  • $callback
  • $input
  • $options

Documentation generated on Sun, 20 Sep 2009 02:21:20 -0700 by phpDocumentor 1.4.1