- Description
-
Class trees
Index of elements
Todo List
Interfaces
Phpfox_Cache_Interface
Phpfox_Database_Interface
Phpfox_Gateway_Interface
Phpfox_Image_Interface
Phpfox_Mail_Interface
Classes
Database_Driver_Mssql
Database_Driver_Oracle
Database_Driver_Postgres
Database_Driver_Sqlite
Phpfox
Phpfox_Ajax
Phpfox_Api
Phpfox_Archive
Phpfox_Archive_Export
Phpfox_Archive_Extension_Tar
Phpfox_Archive_Extension_Xml
Phpfox_Archive_Extension_Zip
Phpfox_Archive_Import
Phpfox_Archive_Support
Phpfox_Cache
Phpfox_Cache_Abstract
Phpfox_Cache_Storage_File
Phpfox_Cache_Storage_Memcache
Phpfox_Cdn
Phpfox_Cdn_Abstract
Phpfox_Cdn_Module_S3
Phpfox_Component
Phpfox_Cron
Phpfox_Database
Phpfox_Database_Dba
Phpfox_Database_Driver_Mysql
Phpfox_Database_Driver_Mysqli
Phpfox_Database_Export
Phpfox_Database_Support
Phpfox_Date
Phpfox_Debug
Phpfox_Diff_Md5
Phpfox_Editor
Phpfox_Error
Phpfox_File
Phpfox_File_Minimize
Phpfox_Ftp
Phpfox_Gateway
Phpfox_Gateway_Api_2checkout
Phpfox_Gateway_Api_Paypal
Phpfox_Hash
Phpfox_Image
Phpfox_Image_Abstract
Phpfox_Image_Helper
Phpfox_Image_Library_Gd
Phpfox_Locale
Phpfox_Mail
Phpfox_Mail_Driver_Phpmailer_Mail
Phpfox_Mail_Driver_Phpmailer_Smtp
Phpfox_Module
Phpfox_Pager
Phpfox_Parse_Bbcode
Phpfox_Parse_Css
Phpfox_Parse_Format
Phpfox_Parse_Input
Phpfox_Parse_Output
Phpfox_Parse_Wiki
Phpfox_Plugin
Phpfox_Process
Phpfox_Request
Phpfox_Search
Phpfox_Search_Inline
Phpfox_Server
Phpfox_Service
Phpfox_Session
Phpfox_Session_Handler
Phpfox_Session_Handler_Default
Phpfox_Session_Handler_File
Phpfox_Session_Handler_Memcache
Phpfox_Session_Storage_Cookie
Phpfox_Session_Storage_Session
Phpfox_Setting
Phpfox_Spam
Phpfox_Spam_Hash
Phpfox_Template
Phpfox_Url
Phpfox_Validator
Phpfox_Xml_Builder
Phpfox_Xml_Parser
Functions
d
e
p
Files
2checkout.class.php
abstract.class.php
abstract.class.php
abstract.class.php
ajax.class.php
api.class.php
archive.class.php
bbcode.class.php
builder.class.php
cache.class.php
cdn.class.php
component.class.php
cookie.class.php
cron.class.php
css.class.php
database.class.php
date.class.php
dba.class.php
debug.class.php
default.class.php
editor.class.php
error.class.php
export.class.php
export.class.php
file.class.php
file.class.php
file.class.php
format.class.php
ftp.class.php
gateway.class.php
gd.class.php
handler.class.php
hash.class.php
hash.class.php
helper.class.php
image.class.php
import.class.php
inline.class.php
input.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
interface.class.php
locale.class.php
mail.class.php
mail.class.php
md5.class.php
memcache.class.php
memcache.class.php
minimize.class.php
module.class.php
mssql.class.php
mysql.class.php
mysqli.class.php
oracle.class.php
output.class.php
pager.class.php
parser.class.php
paypal.class.php
phpfox.class.php
plugin.class.php
postgres.class.php
process.class.php
request.class.php
s3.class.php
search.class.php
server.class.php
service.class.php
session.class.php
session.class.php
setting.class.php
smtp.class.php
spam.class.php
sqlite.class.php
support.class.php
support.class.php
tar.class.php
template.class.php
url.class.php
validator.class.php
wiki.class.php
xml.class.php
zip.class.php
Template-
Classes
Phpfox_Template_Cache
Files
cache.class.php
Phpfox_Validator
Validatior Used for site wide validation of POST forms. Includes the feature to validate forms using JavaScript and PHP as a failsafe.
Located in /include/library/phpfox/validator/validator.class.php (line 18)
mixed
_checkRoutine
(array $aFieldValue, string $sFieldKey, [string $sType = 'php'], [string $sValue = ''])
string
_createIfJS
(string $sIfStatment, string $sTitle, [string $sFieldKey = ''], [string $sInfoGuide = ''])
array
$aErrors
= array() (line 25)
List of all the errors.
string
$sFormName
(line 32)
Name of the curremt HTML form.
array
$_aDefaults
(line 46)
List of default regex rules.
array
$_aRegex
= array('user_name' => '/^[a-zA-Z0-9_\- ]{5,25}$/',
'email' => '/^[0-9a-zA-Z]([\-.\w]*[0-9a-zA-Z]?)*@([0-9a-zA-Z][\-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,}$/',
'html' => '/<(.*?)>/',
'url' => '~(?>[a-z+]{2,}://|www\.)(?:[a-z0-9]+(?:\.[a-z0-9]+)?@)?(?:(?:[a-z](?:[a-z0-9]|(?<!-)-)*[a-z0-9])(?:\.[a-z](?:[a-z0-9]|(?<!-)-)*[a-z0-9])+|(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?))(?:/[^\\/:?*"<>|\n]*[a-z0-9])*/?(?:\?[a-z0-9_.%]+(?:=[a-z0-9_.%:/+-]*)?(?:&[a-z0-9_.%]+(?:=[a-z0-9_.%:/+-]*)?)*)?(?:#[a-z0-9_%.]+)?~is',
'currency_id' => '/^[A-Z]{3,3}$/'
) (line 60)
Default regex rules.
bool
$_bParent
= false (line 53)
Check to see if we should load a parent check.
string
$_sName
(line 39)
Name of the validation.
Constructor __construct (line 73)
Class constructor used to load default validator rules.
Found in the file: include/setting/validator.sett.php
check (line 112)
Check a string value against multiple regex checks.
- string $sString: Value to check.
- array $aParams: ARRAY of regex checks to perform.
createJS (line 514)
Client side check
getJsForm (line 488)
Create the JS form onsubmit=""
- bool $bReturn: TRUE to include the "return" in the JavaScript code.
isValid (line 499)
Server Side check
- array $aVal: holds all the post arrays
process (line 138)
Process a form and perform regex checks on all the values.
- array $aParams: ARRAY of regex checks.
- array $aValues: ARRAY of form values.
set (line 468)
Build a form validation check.
- array $aParams: ARRAY of settings.
verify (line 90)
Verify a regex pattern against a string value.
- string $sPattern: Regex pattern to check.
- string $sValue: String value.
_checkRoutine (line 544)
Method is used to check if POST data fields is valid for either PHP or Javascript.
- array $aFieldValue: is the array of field values
- string $sFieldKey: is the KEY or form ID
- string $sType: is the type of form
- string $sValue: is the value, only for PHP
_createIfJS (line 716)
Creates a JS IF statment
- string $sIfStatment: is the JS IF statment will plan to execute
- string $sTitle: is the error message if the check has failed
- string $sFieldKey: Field ID/Class if using a parent check.
- string $sInfoGuide: Info guide to explain the error in more detail.
Documentation generated on Tue, 28 Sep 2010 10:36:45 +0200 by phpDocumentor 1.4.0a2