| 
				 public 
				
				
				 | 
			#
			setCsrfOptions( array $options )
				
Sets the CSRF Token options 
				
Sets the CSRF Token options Parameters
						$optionsarray$options An array of CSRF token options including: - token_name The field name
of the CSRF token - set_on_create True to automatically set the CSRF token on
create - token_key The CSRF token key used to make each token unique
 | 
		
			| 
				 public 
				
				
				 | 
			#
			setEol( string $eol )
				
Sets the end of line character to use 
				
Sets the end of line character to use Parameters
						$eolstring$eol The end of line character to use
 | 
		
			| 
				 public 
				
				
				 | 
			#
			setOutput( boolean $return )
				
Set whether to return $output generated by these methods, or to echo it out
instead 
				
Set whether to return $output generated by these methods, or to echo it out
instead Parameters
						$returnboolean$return True to return output from these form methods, false to echo results
instead
 | 
		
			| 
				 public 
				array
				
				 | 
			#
			collapseObjectArray( array $obj_arr, mixed $value_var, string $key_var = null, string $glue = null )
				
Collapses an object array down to a simple key/value array or numerically
indexed array whose values are member variables of the given object array 
				
Collapses an object array down to a simple key/value array or numerically
indexed array whose values are member variables of the given object array Parameters
						$obj_arrarray$obj_arr The object array to collapse
$value_varmixed$value_var A string representing the name of the member variable, or an array of
member variable values to concatenate
$key_varstring$key_var The name of the member variable to use as the key in the array, null
for numerically indexed array
$gluestring$glue The value to use to concat multiple $value_var values together, if null,
will simply print only the first non-null value in $value_var
Returns
						arrayAn array in key/value form
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			create( string $uri = null, array $attributes = array() )
				
Begins a new form. Default method='post', but $attributes may overwrite
that. 
				
Begins a new form. Default method='post', but $attributes may overwrite
that. Parameters
						$uristring$uri The $uri for the form to post to, defaults to $_SERVER['REQUEST_URI']
$attributesarray$attributes The attributes and values to add in the <form> tag, in
key=value pairs
Returns
						stringThe HTML for the <form> tag, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			end( string $end_str = null )
				
Ends a form, appends an optional $end_str 
				
Ends a form, appends an optional $end_str Parameters
						$end_strstring$end_str The string to add after the </form> tag
Returns
						stringThe </form> tag, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			getCsrfToken( string $key = null )
				
Generates a CSRF token Parameters
						$keystring$key The key used to generate the CSRF token
Returns
						stringThe computed CSRF token
 
 | 
		
			| 
				 public 
				boolean
				
				 | 
			#
			verifyCsrfToken( string $key = null, string $csrf_token = null )
				
Verifies that the given CSRF token is valid 
				
Verifies that the given CSRF token is valid Parameters
						$keystring$key The key used to generate the original CSRF token
$csrf_tokenstring$csrf_token The given CSRF token, null to automatically pull the CSRF token from
the $_POST data
Returns
						booleanTrue if the token is valid, false otherwise
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fields( array $fields )
				
Allows fields to be created from an array of fields. 
				
Allows fields to be created from an array of fields. Parameters
						$fieldsarray$fields An array of fields to set
Returns
						stringThe fields given, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			label( string $name, string $for = null, array $attributes = null, boolean $preserve_tags = false )
				
Creates a label with the given name and marks it for the given field 
				
Creates a label with the given name and marks it for the given field Parameters
						$namestring$name The name of this label
$forstring$for The ID of the form element this label is part of
$attributesarray$attributes Attributes for this label
$preserve_tagsboolean$preserve_tags True to preserve tags in the label name
Returns
						stringThe label specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldText( string $name, string $value = null, array $attributes = array() )
				
Creates a text input field 
				
Creates a text input field Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe text field specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldHidden( string $name, string $value = null, array $attributes = array() )
				
Creates a hidden input field 
				
Creates a hidden input field Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe hidden field specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldImage( string $name, string $value = null, array $attributes = array() )
				
Creates an image input field 
				
Creates an image input field Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe image field specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldReset( string $name, string $value = null, array $attributes = array() )
				
Creates a reset input field 
				
Creates a reset input field Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe reset field specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldCheckbox( string $name, string $value = null, boolean $checked = false, array $attributes = array() )
				
Creates a checkbox Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$checkedboolean$checked True to set this field as checked
$attributesarray$attributes Attributes for this input field
Returns
						stringThe checkbox field specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldRadio( string $name, string $value = null, boolean $checked = false, array $attributes = array() )
				
Creates a radio box Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$checkedboolean$checked True to set this field as checked
$attributesarray$attributes Attributes for this input field
Returns
						stringThe radio field specified, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldTextarea( string $name, string $value = null, array $attributes = array() )
				
Creates a textarea field Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in this textarea
$attributesarray$attributes Attributes for this input field
Returns
						stringThe textarea field, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldPassword( string $name, array $attributes = array() )
				
Creates a password input field 
				
Creates a password input field Parameters
						$namestring$name The name to set in the HTML name field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe password field, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldFile( string $name, array $attributes = array() )
				
Creates a file input field 
				
Creates a file input field Parameters
						$namestring$name The name to set in the HTML name field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe file field, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldSelect( string $name, array $options = array(), mixed $selected_value = null, array $attributes = array(), array $option_attributes = array() )
				
Creates a select list Parameters
						$namestring$name The name to set in the HTML name field
$optionsarray$options The options to place in this select list
$selected_valuemixed$selected_value The option(s) to set as selected
$attributesarray$attributes Attributes for this input field
$option_attributesarray$option_attributes Attributes for each option to set. If single dimension will
set the attributes for every option, if multi-dimensional will set option for
each element key that matches in $options
Returns
						stringThe select field, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldMultiSelect( string $name, array $options = array(), string $selected_values = array(), array $attributes = array(), array $option_attributes = array() )
				
Creates a select list with multiple selectable options 
				
Creates a select list with multiple selectable options Parameters
						$namestring$name The name to set in the HTML name field
$optionsarray$options The options to place in this select list
$selected_valuesstring$selected_value The option to set as selected
$attributesarray$attributes Attributes for this input field
$option_attributesarray$option_attributes Attributes for each option to set. If single dimension will
set the attributes for every option, if multi-dimensional will set option for
each element key that matches in $options
Returns
						stringThe multi-select field, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldButton( string $name, string $value = null, array $attributes = array() )
				
Creates a button with default type=button, can be overriden by attirbutes 
				
Creates a button with default type=button, can be overriden by attirbutes Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe button field, void if output enabled
 
 | 
		
			| 
				 public 
				string
				
				 | 
			#
			fieldSubmit( string $name, string $value = null, array $attributes = array() )
				
Creates a button of type submit 
				
Creates a button of type submit Parameters
						$namestring$name The name to set in the HTML name field
$valuestring$value The value to set in the HTML value field
$attributesarray$attributes Attributes for this input field
Returns
						stringThe submit field, void if output enabled
 
 |