Index of all elements
[ a ]
[ b ]
[ c ]
[ d ]
[ e ]
[ f ]
[ g ]
[ h ]
[ i ]
[ l ]
[ m ]
[ n ]
[ o ]
[ p ]
[ r ]
[ s ]
[ t ]
[ u ]
[ v ]
[ w ]
[ _ ]
top
b
- build_filter
- in file datalib.php, function build_filter()
Converts name/values pairs into an an SQL where clause.
- Button
- in file Button.php, class Button
A simple submit button class.
- Button.php
- procedural page Button.php
top
c
- CheckboxField
- in file CheckboxField.php, class CheckboxField
Your basic checkbox HTML widget.
- checkName
- in file PropertyBag.php, method PropertyBag::checkName()
Determines if a name is valid.
- common.php
- procedural page common.php
- CompareFieldsValidator
- in file CompareFieldsValidator.php, class CompareFieldsValidator
This validator can compare the values of 2 fields. The values can be compare using the standard comparison operators (<, <=, ==, !=, etc...)
- count_records
- in file datalib.php, function count_records()
Returns the number of records that match the conditions.
- createEngine
- in file CryptFactory.php, method CryptFactory::createEngine()
- CryptBlowfish
- in file CryptBlowfish.php, class CryptBlowfish
This class implements the Blowfish encryption algorithm.
- CryptDES
- in file CryptDES.php, class CryptDES
This class supports the standard DES encryption algorithm.
- CryptEngine
- in file CryptEngine.php, class CryptEngine
Defines an interface to query and create cryptographic engines.
- CryptExtDES
- in file CryptExtDES.php, class CryptExtDES
This class implements the extended DES encryption algorithm.
- CryptFactory
- in file CryptFactory.php, class CryptFactory
Helper class that is used to determine which encryption algorithms are available and creates new CryptEngine objects.
- CryptBlowfish.php
- procedural page CryptBlowfish.php
- CryptDES.php
- procedural page CryptDES.php
- CryptEngine.php
- procedural page CryptEngine.php
- CryptExtDES.php
- procedural page CryptExtDES.php
- CryptFactory.php
- procedural page CryptFactory.php
- CryptMD5.php
- procedural page CryptMD5.php
- CryptNativeMD5.php
- procedural page CryptNativeMD5.php
- CryptNativeSHA1.php
- procedural page CryptNativeSHA1.php
- CryptMD5
- in file CryptMD5.php, class CryptMD5
This class implements the MD5 encryption algorithm.
- CryptNativeMD5
- in file CryptNativeMD5.php, class CryptNativeMD5
This class implements the MD5 encryption algorithm using the built-in md5() function.
- CryptNativeSHA1
- in file CryptNativeSHA1.php, class CryptNativeSHA1
This class implements the SHA encryption algorithm using the built-in sha1() function.
- CheckboxField.php
- procedural page CheckboxField.php
- CompareFieldsValidator.php
- procedural page CompareFieldsValidator.php
top
d
- datalib.php
- procedural page datalib.php
- decrypt
- in file CryptMD5.php, method CryptMD5::decrypt()
Standard DES is a one-way encryption, so throws error always.
- decrypt
- in file CryptNativeMD5.php, method CryptNativeMD5::decrypt()
MD5 is a one-way encryption, so throws error always.
- decrypt
- in file CryptNativeSHA1.php, method CryptNativeSHA1::decrypt()
SHA1 is a one-way encryption, so throws error always.
- decrypt
- in file CryptExtDES.php, method CryptExtDES::decrypt()
Standard DES is a one-way encryption, so throws error always.
- decrypt
- in file CryptEngine.php, method CryptEngine::decrypt()
Decrypts an encrypted string.
- decrypt
- in file CryptDES.php, method CryptDES::decrypt()
Standard DES is a one-way encryption, so throws error always.
- decrypt
- in file CryptBlowfish.php, method CryptBlowfish::decrypt()
Blowfish is a one-way encryption, so throws error always.
- DefaultValueValidator
- in file DefaultValueValidator.php, class DefaultValueValidator
Supplies a default field value if the user leaves the field empty.
- delete_records
- in file datalib.php, function delete_records()
Deletes one or more database records
- display
- in file HiddenField.php, method HiddenField::display()
Override the display function since we don't want a label.
- display
- in file ImageButton.php, method ImageButton::display()
Displays the button in 2 columns of a table row.
- display
- in file Button.php, method Button::display()
Render the button as HTML.
- display
- in file Form.php, method Form::display()
Send the form to the user.
- display
- in file Field.php, method Field::display()
Function to render the field as HTML.
- displayField
- in file TextField.php, method TextField::displayField()
Renders the label and text field assuming a 2 column table.
- displayField
- in file Listbox.php, method Listbox::displayField()
Renders the list box as HTML.
- displayField
- in file HiddenField.php, method HiddenField::displayField()
- displayField
- in file CheckboxField.php, method CheckboxField::displayField()
- displayField
- in file Field.php, method Field::displayField()
Renders the field as HTML. Must be overridden in child classes.
- DefaultValueValidator.php
- procedural page DefaultValueValidator.php
top
e
- EmailValidator
- in file EmailValidator.php, class EmailValidator
Validates a field as an e-mail address using a regular expression.
- encrypt
- in file CryptMD5.php, method CryptMD5::encrypt()
Encrypt the string using the Standard DES algorithm. Uses 'salt' string.
- encrypt
- in file CryptNativeMD5.php, method CryptNativeMD5::encrypt()
Encrypt the string using the RSA MD5 algorithm.
- encrypt
- in file CryptExtDES.php, method CryptExtDES::encrypt()
Encrypt the string using the Standard DES algorithm. Uses 'salt' string if provided.
- encrypt
- in file CryptNativeSHA1.php, method CryptNativeSHA1::encrypt()
Encrypt the string using the US SHA1 hashing algorithm.
- encrypt
- in file CryptBlowfish.php, method CryptBlowfish::encrypt()
Encrypt the string using the Standard DES algorithm. Uses 'salt' string.
- encrypt
- in file CryptDES.php, method CryptDES::encrypt()
Encrypt the string using the Standard DES algorithm. Uses 'salt' string if provided.
- encrypt
- in file CryptEngine.php, method CryptEngine::encrypt()
Encrypts a string and returns the encrypted version.
- encrypted
- in file PasswordField.php, method PasswordField::encrypted()
Runs the current password through an encryption engine.
- engineNames
- in file CryptFactory.php, method CryptFactory::engineNames()
- errorMessage
- in file RequiredValidator.php, method RequiredValidator::errorMessage()
- errorMessage
- in file RegexValidator.php, method RegexValidator::errorMessage()
- errorMessage
- in file RangeValidator.php, method RangeValidator::errorMessage()
- errorMessage
- in file DefaultValueValidator.php, method DefaultValueValidator::errorMessage()
This validator never generates an error.
- errorMessage
- in file Validator.php, method Validator::errorMessage()
Get an error message that can be shown to the user.
- errorMessage
- in file CompareFieldsValidator.php, method CompareFieldsValidator::errorMessage()
- execute_sql
- in file datalib.php, function execute_sql()
Executes the provided SQL command and optionally returns the results.
- EmailValidator.php
- procedural page EmailValidator.php
top
f
- Field
- in file Field.php, class Field
Base class used to derive other types of HTML fields.
- Form
- in file Form.php, class Form
Form class
- formEnd
- in file Form.php, method Form::formEnd()
The default version of formEnd() closes the form.
- formFooter
- in file Form.php, method Form::formFooter()
The default version of formFooter() closes the table.
- formHeader
- in file Form.php, method Form::formHeader()
The default implementation of formHeader() outputs the form title in a row that spans 2 columns of the HTML table.
- Field.php
- procedural page Field.php
- Form.php
- procedural page Form.php
- formStart
- in file Form.php, method Form::formStart()
The default implementation of formStart() begins the form and starts an HTML table.
- full_me
- in file weblib.php, function full_me()
Get the complete URL of the current script including protocol and server name.
top
g
- getField
- in file Form.php, method Form::getField()
Search for a field by name and return it.
- getOptions
- in file CryptBlowfish.php, method CryptBlowfish::getOptions()
Returns the current options.
- getOptions
- in file CryptNativeSHA1.php, method CryptNativeSHA1::getOptions()
Returns the current options.
- getOptions
- in file CryptMD5.php, method CryptMD5::getOptions()
Returns the current options.
- getOptions
- in file CryptNativeMD5.php, method CryptNativeMD5::getOptions()
Returns the current options.
- getOptions
- in file CryptExtDES.php, method CryptExtDES::getOptions()
Returns the current options.
- getOptions
- in file CryptEngine.php, method CryptEngine::getOptions()
Returns the current options for the encryption scheme.
- getOptions
- in file CryptDES.php, method CryptDES::getOptions()
Returns the current options.
- get_field
- in file datalib.php, function get_field()
Get a single field from a record.
- get_record
- in file datalib.php, function get_record()
Lookups a record using a filter and returns it as a standard object. If more than one record matches, only the first is returned.
- get_records
- in file datalib.php, function get_records()
Gets zero or many records from a table as an array of objects with optional filtering, sorting, list of fields and limits.
- get_referer
- in file weblib.php, function get_referer()
Returns the HTTP_REFERER without the query parameters.
top
h
- HiddenField.php
- procedural page HiddenField.php
- HiddenField
- in file HiddenField.php, class HiddenField
Object oriented wrapper around a hidden HTML text field.
- html2text
- in file html2text.php, function html2text()
**********************************************************
- html2text.php
- procedural page html2text.php
top
i
- ImageButton.php
- procedural page ImageButton.php
- ImageButton
- in file ImageButton.php, class ImageButton
An image button class with rollover effects.
- ini_get_bool
- in file common.php, function ini_get_bool()
Function to read a boolean value from the PHP.INI file.
- insert_record
- in file datalib.php, function insert_record()
Creates a new database record from an object.
- isValid
- in file Validator.php, method Validator::isValid()
Validates the value the user entered into a field.
- isValid
- in file RequiredValidator.php, method RequiredValidator::isValid()
- isValid
- in file RangeValidator.php, method RangeValidator::isValid()
- isValid
- in file RegexValidator.php, method RegexValidator::isValid()
- isValid
- in file Form.php, method Form::isValid()
- isValid
- in file DefaultValueValidator.php, method DefaultValueValidator::isValid()
Checks the value the user entered and if empty/missing, sets the field with the default value supplied to the constructor.
- isValid
- in file CompareFieldsValidator.php, method CompareFieldsValidator::isValid()
- isValid
- in file Field.php, method Field::isValid()
Checks to see if the data entered into a field is valid.
- isValid
- in file EmailValidator.php, method EmailValidator::isValid()
- isValidName
- in file PropertyHolder.php, method PropertyHolder::isValidName()
Tests to see if a property name is valid.
- isValidName
- in file PropertyBag.php, method PropertyBag::isValidName()
Tests for a valid property name.
- is_logged_in
- in file common.php, function is_logged_in()
Checks to see if the user is currently logged in.
top
l
- Listbox.php
- procedural page Listbox.php
- Listbox
- in file Listbox.php, class Listbox
An object-oriented wrapper around an HTML listbox.
- load
- in file Form.php, method Form::load()
Helper function that decodes the POST data and determines
- logout_user
- in file common.php, function logout_user()
Logs a user out by clearing the user's session.
top
m
- me
- in file weblib.php, function me()
Get the current script URI, include the query.
- my_addslashes
- in file common.php, function my_addslashes()
A version of addslashes that can recursively process arrays.
top
n
- names
- in file PropertyBag.php, method PropertyBag::names()
Returns a list of valid property names.
- names
- in file PropertyHolder.php, method PropertyHolder::names()
Returns a list of valid property names.
- notify
- in file weblib.php, function notify()
Sends a notification message to the browser.
- nvl
- in file weblib.php, function nvl()
Returns the variable if defined, a default value if not.
top
o
- object
- in file common.php, class object
This is a very simple PHP class that can be used to hold data.
- onClick
- in file Button.php, method Button::onClick()
top
p
- $properties
- in file Button.php, variable Button::$properties
- $properties
- in file Form.php, variable Form::$properties
Private variables.
- $properties
- in file Field.php, variable Field::$properties
- PasswordField.php
- procedural page PasswordField.php
- PasswordField
- in file PasswordField.php, class PasswordField
Object oriented wrapper around an HTML text password field.
- print_footer
- in file weblib.php, function print_footer()
Ends the current page.
- print_header
- in file weblib.php, function print_header()
Starts a new page.
- process
- in file Form.php, method Form::process()
Derived form classes must implement this function.
- PropertyBag
- in file PropertyBag.php, class PropertyBag
An implementation of a PropertyHolder that uses an array to store name/value property pairs.
- PropertyHolder
- in file PropertyHolder.php, class PropertyHolder
Defines a generic interface for objects that can manage name/value property pairs. Different holders can be defined that use either memory, databases, files or even network storage and swapped in as needed.
- PropertyBag.php
- procedural page PropertyBag.php
- PropertyHolder.php
- procedural page PropertyHolder.php
top
r
- RangeValidator.php
- procedural page RangeValidator.php
- RegexValidator.php
- procedural page RegexValidator.php
- RequiredValidator.php
- procedural page RequiredValidator.php
- RangeValidator
- in file RangeValidator.php, class RangeValidator
Tests a field value an ensures it falls in a min/max range of numbers.
- record_exists
- in file datalib.php, function record_exists()
Determine if a record matching up to 3 filter conditions exists or not.
- redirect
- in file weblib.php, function redirect()
Outputs an HTML meta refresh tag to send the visitor to a new URL.
- RegexValidator
- in file RegexValidator.php, class RegexValidator
Validates a field using a regular expression.
- reportError
- in file datalib.php, function reportError()
Record a PDO error message to the log file.
- RequiredValidator
- in file RequiredValidator.php, class RequiredValidator
A simple validator that requires the user to enter a value.
- require_login
- in file common.php, function require_login()
Checks to see if the user is logged in. If not, redirects to the login page.
top
s
- s
- in file weblib.php, function s()
Return an empty string or quotes special characters like "<" and ">"
- setOptions
- in file CryptBlowfish.php, method CryptBlowfish::setOptions()
Changes the current options for the encryption scheme. Only looks for the 'salt' property.
- setOptions
- in file CryptNativeSHA1.php, method CryptNativeSHA1::setOptions()
Changes the current options for the encryption scheme.
- setOptions
- in file CryptMD5.php, method CryptMD5::setOptions()
Changes the current options for the encryption scheme. Only looks for the 'salt' property.
- setOptions
- in file CryptNativeMD5.php, method CryptNativeMD5::setOptions()
Changes the current options for the encryption scheme.
- setOptions
- in file CryptExtDES.php, method CryptExtDES::setOptions()
Changes the current options for the encryption scheme. Only looks for the 'salt' property.
- setOptions
- in file CryptEngine.php, method CryptEngine::setOptions()
Sets the options for the encryption scheme.
- setOptions
- in file CryptDES.php, method CryptDES::setOptions()
Changes the current options for the encryption scheme. Only looks for the 'salt' property.
- set_field
- in file datalib.php, function set_field()
Updates one field in a database record.
- stripslashes_safe
- in file weblib.php, function stripslashes_safe()
Improved version of the stripslashes() function.
- strip_query
- in file weblib.php, function strip_query()
Removes the query parameters from a URL
top
t
- TextField.php
- procedural page TextField.php
- table_info
- in file datalib.php, function table_info()
Helper function to retrieve information about a table's columns.
- TextField
- in file TextField.php, class TextField
Object oriented wrapper around an HTML text input field.
top
u
- update_record
- in file datalib.php, function update_record()
Issues an UPDATE statement with modified record values.
top
v
- Validator.php
- procedural page Validator.php
- Validator
- in file Validator.php, class Validator
The Validator class supports testing field values to make sure the user enters properly formatted data.
top
top
_
- __autoload
- in file common.php, function __autoload()
A global __autoload that automatically loads classes.
- __construct
- in file ImageButton.php, method ImageButton::__construct()
Constructor.
- __construct
- in file HiddenField.php, method HiddenField::__construct()
Constructor
- __construct
- in file Form.php, method Form::__construct()
Form class constructor.
- __construct
- in file Button.php, method Button::__construct()
Constructor
- __construct
- in file Listbox.php, method Listbox::__construct()
Constructor.
- __construct
- in file PropertyBag.php, method PropertyBag::__construct()
Constructor.
- __construct
- in file TextField.php, method TextField::__construct()
Constructor
- __construct
- in file RegexValidator.php, method RegexValidator::__construct()
- __construct
- in file RangeValidator.php, method RangeValidator::__construct()
- __construct
- in file EmailValidator.php, method EmailValidator::__construct()
- __construct
- in file PasswordField.php, method PasswordField::__construct()
Constructor Initializes a PasswordField object.
- __construct
- in file Field.php, method Field::__construct()
Constructor
- __construct
- in file CryptDES.php, method CryptDES::__construct()
Constructor
- __construct
- in file DefaultValueValidator.php, method DefaultValueValidator::__construct()
Initializes a DefaultValueValidator object.
- __construct
- in file CryptBlowfish.php, method CryptBlowfish::__construct()
Constructor
- __construct
- in file CompareFieldsValidator.php, method CompareFieldsValidator::__construct()
Constructor for CompareFieldsValidator objects.
- __construct
- in file CheckboxField.php, method CheckboxField::__construct()
- __construct
- in file CryptMD5.php, method CryptMD5::__construct()
Constructor
- __construct
- in file CryptExtDES.php, method CryptExtDES::__construct()
Constructor
- __construct
- in file CryptNativeSHA1.php, method CryptNativeSHA1::__construct()
Constructor
- __construct
- in file CryptNativeMD5.php, method CryptNativeMD5::__construct()
Constructor
- __get
- in file Button.php, method Button::__get()
Property accessor.
- __get
- in file PropertyBag.php, method PropertyBag::__get()
Accessor function that reads a property's value.
- __get
- in file Field.php, method Field::__get()
Property accessor.
- __get
- in file Form.php, method Form::__get()
Property accessor.
- __set
- in file Button.php, method Button::__set()
Property mutator.
- __set
- in file Field.php, method Field::__set()
Property mutator.
- __set
- in file PropertyBag.php, method PropertyBag::__set()
Mutator function that updates a property's value.
- __set
- in file Form.php, method Form::__set()
Property mutator.
top
|
|