[default] element index

Package indexes

All elements
a b c d e f g h i m n o p s t v w _
_
top
__construct
File::__construct() in types.php
__construct
Phorm::__construct() in phorms.php
__construct
__toString
Phorm::__toString() in phorms.php
Returns a string of all of the form's fields' HTML tags as a table.
a
top
as_list
Phorm::as_list() in phorms.php
Returns the form fields as a series of list items. Does not include the list's opening and closing tags.
as_table
Phorm::as_table() in phorms.php
Returns the form fields as a series of HTML table rows. Does not include the table's opening and closing tags, nor the table's tbody tags.
b
top
$bound
Phorm::$bound in phorms.php
True when the form has user-submitted data.
$bytes
File::$bytes in types.php
The size of the file in bytes.
c
top
$clean
Phorm::$clean in phorms.php
Private storage for cleaned field values.
check_if_bound
Returns true if any of the field's names exist in the source data (or
cleaned_data
Phorm::cleaned_data() in phorms.php
Returns an associative array of the imported form data on a bound, valid form. Returns null if the form is not yet bound or if the form is not valid.
clean_data
Phorm::clean_data() in phorms.php
Processes each field's data in turn, calling it's get_value method to access its "cleaned" data.
close
Phorm::close() in phorms.php
Returns the form's closing HTML tag.
d
top
$data
Phorm::$data in phorms.php
A copy of the superglobal data array merged with any default field values provided during class instantiation.
define_fields
Abstract method that sets the Phorm's fields as class attributes.
e
top
$error
File::$error in types.php
An error message, if there was an error uploading the file.
$errors
Phorm::$errors in phorms.php
Private storage to collect error messages. Stored as $field_name => $msg.
f
top
$fields
Phorm::$fields in phorms.php
Private field storage.
File
File in types.php
File
find_fields
Phorm::find_fields() in phorms.php
Internal method used by the constructor to find all of the fields in the class after the child's 'define_fields' is called. Returns an array of the field instances.
g
top
GET
Phorm::GET in phorms.php
Causes the form to use $_GET as its data source.
getIterator
Phorm::getIterator() in phorms.php
Returns an iterator that returns each field instance in turn.
get_errors
Phorm::get_errors() in phorms.php
Returns the list of errors.
h
top
$height
Image::$height in types.php
The image's height in pixels.
has_errors
Phorm::has_errors() in phorms.php
Returns true if the form has errors.
i
top
Image
Image in types.php
Image
is_bound
Phorm::is_bound() in phorms.php
Returns true if the form is bound (i.e., there is data in the appropriate
is_valid
Phorm::is_valid() in phorms.php
Returns true if all fields' data pass validation tests.
m
top
$method
Phorm::$method in phorms.php
The form's method. Determines which superglobal array to use as the data source.
$multi_part
Phorm::$multi_part in phorms.php
If true, $_FILES is included in the form data. Makes possible file fields.
move_to
File::move_to() in types.php
Moves the files from the temporary directory to another location. The new file will have the original file's name.
n
top
$name
File::$name in types.php
The name of the file.
o
top
open
Phorm::open() in phorms.php
Returns the form's opening HTML tag.
p
top
Phorm
Phorm in phorms.php
Phorm
phorms.php
phorms.php in phorms.php
POST
Phorm::POST in phorms.php
Causes the form to use $_POST as its data source.
s
top
set_data
Phorm::set_data() in phorms.php
Sets the value of each field from the proper superglobal data array.
t
top
$tmp_name
File::$tmp_name in types.php
The path of the temporary file.
$type
File::$type in types.php
The mime type of the file.
types.php
types.php in types.php
v
top
$valid
Phorm::$valid in phorms.php
Memoized return value of the initial is_valid call.
w
top
$width
Image::$width in types.php
The image's width in pixels.
a b c d e f g h i m n o p s t v w _