Package: Zebra_Form

Element index for package Zebra_Form

[ a ] [ c ] [ d ] [ f ] [ l ] [ r ] [ s ] [ v ] [ z ] [ _ ]

_

__construct
in file Zebra_Form.php, method Zebra_Form::__construct()Constructor of the class
top

a

add
in file Zebra_Form.php, method Zebra_Form::add()Adds a control to the form.
add_error
in file Zebra_Form.php, method Zebra_Form::add_error()Appends a message to an already existing error block
assets_path
in file Zebra_Form.php, method Zebra_Form::assets_path()Set the server path and URL to the "process.php" and "mimes.json" files.
assign
in file Zebra_Form.php, method Zebra_Form::assign()Creates a PHP variable with the given value, available in the template file.
auto_fill
in file Zebra_Form.php, method Zebra_Form::auto_fill()Call this method anytime *before* calling the validate() method (preferably, right after instantiating the class) to instruct the library to automatically fill out all of the form's fields with random content while obeying any rules that might be set for each control.
top

c

captcha_storage
in file Zebra_Form.php, method Zebra_Form::captcha_storage()Sets the storage method for CAPTCHA values.
clientside_validation
in file Zebra_Form.php, method Zebra_Form::clientside_validation()Sets properties for the client-side validation.
client_side_validation
in file Zebra_Form.php, method Zebra_Form::client_side_validation()Alias of clientside_validation() method.
csrf
in file Zebra_Form.php, method Zebra_Form::csrf()Enables protection against Cross-site request forgery (CSRF) attacks.
top

d

doctype
in file Zebra_Form.php, method Zebra_Form::doctype()By default, this class generates HTML 4.01 Strict markup.
top

f

$file_upload
in file Zebra_Form.php, variable Zebra_Form::$file_uploadAn associative array of items uploaded to the current script via the HTTP POST method.
$file_upload_permissions
in file Zebra_Form.php, variable Zebra_Form::$file_upload_permissionsIndicates the filesystem permissions to be set for files uploaded through the upload rule.
top

l

language
in file Zebra_Form.php, method Zebra_Form::language()Sets the language to be used by some of the form's controls (the date control, the select control, etc.)
top

r

render
in file Zebra_Form.php, method Zebra_Form::render()Renders the form.
reset
in file Zebra_Form.php, method Zebra_Form::reset()Resets the submitted values for all of the form's controls (also resets the POST/GET/FILES superglobals)
top

s

show_all_error_messages
in file Zebra_Form.php, method Zebra_Form::show_all_error_messages()Sets how error messages generated upon server-side validation are displayed in an error block.
top

v

validate
in file Zebra_Form.php, method Zebra_Form::validate()This method performs the server-side validation of all the form's controls, making sure that all the values comply to the rules set for these controls through the set_rule() method.
validate_control
in file Zebra_Form.php, method Zebra_Form::validate_control()This method performs the server-side validation of a control, making sure that the value complies to the rules set for the control through the set_rule() method.
top

z

Zebra_Form
in file Zebra_Form.php, class Zebra_FormZebra_Form, a jQuery augmented PHP library for creating and validating HTML forms
Zebra_Form.php
procedural page Zebra_Form.php
ZEBRA_FORM_UPLOAD_RANDOM_NAMES
in file Zebra_Form.php, constant ZEBRA_FORM_UPLOAD_RANDOM_NAMES
top