WACT_VALIDATION
[ class tree: WACT_VALIDATION ] [ index: WACT_VALIDATION ] [ all elements ]

Element index for package WACT_VALIDATION

[ a ] [ c ] [ d ] [ e ] [ f ] [ g ] [ i ] [ m ] [ n ] [ p ] [ r ] [ s ] [ u ] [ v ] [ w ] [ _ ]

_

_sizeToHuman
in file fileupload.inc.php, method FileUploadMaxSizeRule::_sizeToHuman()
    Utility function returns readable filesizes for the error message.
top

a

$AllowableSchemes
in file url.inc.php, variable UrlRule::$AllowableSchemes
    Array of allowable URL schemes e.g.
addError
in file errorlist.inc.php, method ErrorList::addError()
    Add an error code to the error list.
addErrorMessage
in file errorlist.inc.php, method ErrorList::addErrorMessage()
    Add an error message to the error list.
addRule
in file validator.inc.php, method Validator::addRule()
    Registers a Rule
top

c

$currentError
in file errorlist.inc.php, variable ErrorList::$currentError
    The current ErrorMessage from the array
Check
in file prefix.inc.php, method PrefixRule::Check()
    Performs validation of a single value
Check
in file prefix.inc.php, method ExcludePrefixRule::Check()
    Performs validation of a single value
Check
in file pattern.inc.php, method ExcludePatternRule::Check()
    Performs validation of a single value
Check
in file numeric.inc.php, method NumericRangeRule::Check()
    Performs validation of a single value
Check
in file pattern.inc.php, method PatternRule::Check()
    Performs validation of a single value
Check
in file rule.inc.php, method SingleFieldRule::Check()
    Check a Single Value to see if its valid
Check
in file url.inc.php, method UrlRule::Check()
    Performs validation of a single value
Check
in file suffix.inc.php, method SuffixRule::Check()
    Performs validation of a single value
Check
in file suffix.inc.php, method ExcludeSuffixRule::Check()
    Performs validation of a single value
Check
in file rule.inc.php, method SizeRangeRule::Check()
    Performs validation of a single value
Check
in file numeric.inc.php, method NumericPrecisionRule::Check()
    Performs validation of a single value
Check
in file member.inc.php, method MemberRule::Check()
    Performs validation of a single value
Check
in file domain.inc.php, method DNSDomainRule::Check()
    Performs validation of a single value
Check
in file email.inc.php, method EmailRule::Check()
    Performs validation of a single value
Check
in file domain.inc.php, method DomainRule::Check()
    Performs validation of a single value
Check
in file fileupload.inc.php, method FileUploadMimeTypeRule::Check()
    Check that the mimetype of the uploaded file appears in the mimetypes array.
Check
in file fileupload.inc.php, method FileUploadMaxSizeRule::Check()
    Check that the uploaded file was smaller than a programmer defined size;
Check
in file ip.inc.php, method PartialIPAddressRule::Check()
    Performs validation of a single value
Check
in file fileupload.inc.php, method FileUploadPartialRule::Check()
    Check that an uploaded file was fully uploaded.
Check
in file ip.inc.php, method IPAddressRule::Check()
    Performs validation of a single value
CheckDomain
in file email.inc.php, method EmailRule::CheckDomain()
    Performs validation of an email domain
CheckDomain
in file email.inc.php, method DNSEmailRule::CheckDomain()
    Performs validation of a single value
CheckUser
in file email.inc.php, method EmailRule::CheckUser()
    Performs validation of an email user
createErrorList
in file validator.inc.php, method Validator::createErrorList()
    Initalize Error List
top

d

$DecimalDigits
in file numeric.inc.php, variable NumericPrecisionRule::$DecimalDigits
    Allowable Number of Decimal Digits
DefaultFieldNameDictionary
in file fielddictionary.inc.php, class DefaultFieldNameDictionary
DNSDomainRule
in file domain.inc.php, method DNSDomainRule::DNSDomainRule()
    Constructs a DNSDomainRule
DNSDomainRule
in file domain.inc.php, class DNSDomainRule
    check for a valid domain name with a valid DNS Record.
DNSEmailRule
in file email.inc.php, class DNSEmailRule
    Check for a valid email address and verify that a mail server DNS record exists for this address.
DNSEmailRule
in file email.inc.php, method DNSEmailRule::DNSEmailRule()
    Constructs a DNSEmailRule
DomainRule
in file domain.inc.php, method DomainRule::DomainRule()
    Constructs a DomainRule
DomainRule
in file domain.inc.php, class DomainRule
    Check for a valid domain name.
domain.inc.php
procedural page domain.inc.php
top

e

$ErrorList
in file validator.inc.php, variable Validator::$ErrorList
    Instance of ErrorList
$ErrorList
in file rule.inc.php, variable SingleFieldRule::$ErrorList
    Error Collection Object
$ErrorMessages
in file messagedictionary.inc.php, variable ErrorMessageDictionary::$ErrorMessages
    Associative array of errors, key being the error id and the value the message for the end user.
$errors
in file errorlist.inc.php, variable ErrorList::$errors
    Full list of ErrorMessage objects
EmailRule
in file email.inc.php, method EmailRule::EmailRule()
    Constructs a EmailRule
EmailRule
in file email.inc.php, class EmailRule
    Check for a valid email address.
EmptyErrorList
in file emptyerrorlist.inc.php, class EmptyErrorList
    Returned by FormComponent::getErrorList() if not errors have been defined.
ensureErrorMessageDictionary
in file errorlist.inc.php, method ErrorList::ensureErrorMessageDictionary()
    Ensures that an error message dictionary is available, creating a default dictionary if one is not set
ensureFieldNameDictionary
in file errorlist.inc.php, method ErrorList::ensureFieldNameDictionary()
    Ensures that an error message dictionary is available, creating a default dictionary if one is not set
Error
in file rule.inc.php, method SingleFieldRule::Error()
    Signal that an error has occurred.
ErrorList
in file errorlist.inc.php, class ErrorList
    Container for errors implementing the Iterator iterface
ErrorMessageCode
in file errorlist.inc.php, class ErrorMessageCode
    Class representing a validation error, used to populate runtime components.
ErrorMessageDictionary
in file messagedictionary.inc.php, class ErrorMessageDictionary
    The ErrorMessage dictionary contains a map of error messages to be displayed to the end user, if they fail any of the validation rules assigned to a controller
ErrorMessageText
in file errorlist.inc.php, class ErrorMessageText
ExcludePatternRule
in file pattern.inc.php, method ExcludePatternRule::ExcludePatternRule()
    Constructs ExcludePatternRule
ExcludePatternRule
in file pattern.inc.php, class ExcludePatternRule
    Check that a field does not match a specific string pattern within allowable parameters.
ExcludePrefixRule
in file prefix.inc.php, method ExcludePrefixRule::ExcludePrefixRule()
    Constructs ExcludePrefixRule
ExcludePrefixRule
in file prefix.inc.php, class ExcludePrefixRule
    Check that a field does not begin with a specific string prefix within allowable parameters.
ExcludeSuffixRule
in file suffix.inc.php, method ExcludeSuffixRule::ExcludeSuffixRule()
    Constructs ExcludeSuffixRule
ExcludeSuffixRule
in file suffix.inc.php, class ExcludeSuffixRule
    Check that a field does not end with a specific string suffix within allowable parameters.
emptyerrorlist.inc.php
procedural page emptyerrorlist.inc.php
errorlist.inc.php
procedural page errorlist.inc.php
email.inc.php
procedural page email.inc.php
top

f

$FieldList
in file errorlist.inc.php, variable ErrorMessageText::$FieldList
$FieldList
in file errorlist.inc.php, variable ErrorMessageCode::$FieldList
$fieldname
in file match.inc.php, variable MatchRule::$fieldname
    Field name to validate
$fieldname
in file rule.inc.php, variable SingleFieldRule::$fieldname
    Field name to validate
$fieldRestriction
in file errorlist.inc.php, variable ErrorList::$fieldRestriction
    The fields that should be returned by the ErrorList
$first
in file errorlist.inc.php, variable ErrorList::$first
    Switch for when at start of iteration
$form
in file form.inc.php, variable FormFieldNameDictionary::$form
FileUploadMaxSizeRule
in file fileupload.inc.php, class FileUploadMaxSizeRule
    Check that the size of an uploaded file was not too large.
FileUploadMaxSizeRule
in file fileupload.inc.php, method FileUploadMaxSizeRule::FileUploadMaxSizeRule()
    Constructs a FileUploadMaxSizeRule
FileUploadMimeTypeRule
in file fileupload.inc.php, method FileUploadMimeTypeRule::FileUploadMimeTypeRule()
    Constructs a FileUploadMimeTypeRule
FileUploadMimeTypeRule
in file fileupload.inc.php, class FileUploadMimeTypeRule
    Check that an uploaded file has an acceptable mime type
FileUploadPartialRule
in file fileupload.inc.php, method FileUploadPartialRule::FileUploadPartialRule()
    Constructs FileUploadPartialRule
FileUploadPartialRule
in file fileupload.inc.php, class FileUploadPartialRule
    Check that a partial file upload error didn't occur.
FileUploadRequiredRule
in file fileupload.inc.php, method FileUploadRequiredRule::FileUploadRequiredRule()
    Constructs RequiredRule
FileUploadRequiredRule
in file fileupload.inc.php, class FileUploadRequiredRule
    Replaces RequiredRule for FileUploads.
FormFieldNameDictionary
in file form.inc.php, class FormFieldNameDictionary
    Translates between form name attributes and tag displayname attributes (human reabable).
FormFieldNameDictionary
in file form.inc.php, method FormFieldNameDictionary::FormFieldNameDictionary()
form.inc.php
procedural page form.inc.php
fielddictionary.inc.php
procedural page fielddictionary.inc.php
fileupload.inc.php
procedural page fileupload.inc.php
top

g

$Group
in file errorlist.inc.php, variable ErrorMessageCode::$Group
$Group
in file rule.inc.php, variable Rule::$Group
    Identifies error message group in vars file
get
in file errorlist.inc.php, method ErrorList::get()
getError
in file errorlist.inc.php, method ErrorList::getError()
    Returns the current ValidationError
getErrorList
in file validator.inc.php, method Validator::getErrorList()
    Returns the ErrorList
getErrorMessage
in file errorlist.inc.php, method ErrorMessageText::getErrorMessage()
    Returns the Error message for this error
getErrorMessage
in file errorlist.inc.php, method ErrorMessageCode::getErrorMessage()
    Returns the Error message for this error
getField
in file rule.inc.php, method SingleFieldRule::getField()
    Returns the fieldname the rule applies to
getFieldName
in file fielddictionary.inc.php, method DefaultFieldNameDictionary::getFieldName()
getFieldName
in file form.inc.php, method FormFieldNameDictionary::getFieldName()
getMessage
in file errorlist.inc.php, method ErrorList::getMessage()
    Gets an error message from the current ValidationError object
getMessage
in file messagedictionary.inc.php, method ErrorMessageDictionary::getMessage()
    Gets a message, given it's group and id.
top

i

$Id
in file pattern.inc.php, variable PatternRule::$Id
$Id
in file errorlist.inc.php, variable ErrorMessageCode::$Id
$Id
in file pattern.inc.php, variable ExcludePatternRule::$Id
$IsValid
in file validator.inc.php, variable Validator::$IsValid
    Whether the validation process was valid
$IsValid
in file rule.inc.php, variable SingleFieldRule::$IsValid
    Is this field valid?
ip.inc.php
procedural page ip.inc.php
IPAddressRule
in file ip.inc.php, class IPAddressRule
    Check for a valid ip address.
IPAddressRule
in file ip.inc.php, method IPAddressRule::IPAddressRule()
    Constructs a IPAddressRule
IsValid
in file validator.inc.php, method Validator::IsValid()
    Whether the validation process was valid
IsValid
in file rule.inc.php, method SingleFieldRule::IsValid()
    Have we already determined this error to be invalid?
top

m

$max
in file numeric.inc.php, variable NumericRangeRule::$max
    Maximum value
$maxLength
in file rule.inc.php, variable SizeRangeRule::$maxLength
    Maximum length
$maxsize
in file fileupload.inc.php, variable FileUploadMaxSizeRule::$maxsize
$memberList
in file member.inc.php, variable MemberRule::$memberList
    Member list to validate against
$Message
in file errorlist.inc.php, variable ErrorMessageText::$Message
$mimetypes
in file fileupload.inc.php, variable FileUploadMimeTypeRule::$mimetypes
$min
in file numeric.inc.php, variable NumericRangeRule::$min
    Minumum value
$minLength
in file rule.inc.php, variable SizeRangeRule::$minLength
    Minumum length
messagedictionary.inc.php
procedural page messagedictionary.inc.php
match.inc.php
procedural page match.inc.php
member.inc.php
procedural page member.inc.php
MatchRule
in file match.inc.php, class MatchRule
    The field being validated must exactly match a reference field
MatchRule
in file match.inc.php, method MatchRule::MatchRule()
    Constructs MatchRule
MemberRule
in file member.inc.php, class MemberRule
    Check a field for membership in a list of allowable values.
MemberRule
in file member.inc.php, method MemberRule::MemberRule()
    Constructs a MatchRule
top

n

numeric.inc.php
procedural page numeric.inc.php
next
in file emptyerrorlist.inc.php, method EmptyErrorList::next()
    Dummy next method
next
in file errorlist.inc.php, method ErrorList::next()
    Iterator method
NumericPrecisionRule
in file numeric.inc.php, method NumericPrecisionRule::NumericPrecisionRule()
    Constructs NumericPrecisionRule
NumericPrecisionRule
in file numeric.inc.php, class NumericPrecisionRule
    Check that a field is a valid numeric value and its precision falls within allowable parameters.
NumericRangeRule
in file numeric.inc.php, method NumericRangeRule::NumericRangeRule()
    Constructs SizeRangeRule
NumericRangeRule
in file numeric.inc.php, class NumericRangeRule
    Make sure field value is within a specific numeric range
top

p

$Parent
in file errorlist.inc.php, variable ErrorMessageCode::$Parent
    Instance of ErrorList
$Pattern
in file pattern.inc.php, variable PatternRule::$Pattern
$Pattern
in file pattern.inc.php, variable ExcludePatternRule::$Pattern
$Prefix
in file prefix.inc.php, variable PrefixRule::$Prefix
$Prefix
in file prefix.inc.php, variable ExcludePrefixRule::$Prefix
pattern.inc.php
procedural page pattern.inc.php
prefix.inc.php
procedural page prefix.inc.php
PartialIPAddressRule
in file ip.inc.php, class PartialIPAddressRule
    Check for a valid parital IP address.
PartialIPAddressRule
in file ip.inc.php, method PartialIPAddressRule::PartialIPAddressRule()
    Constructs a PartialIPAddressRule
PatternRule
in file pattern.inc.php, class PatternRule
    Check that a field matches a specific string pattern within allowable parameters.
PatternRule
in file pattern.inc.php, method PatternRule::PatternRule()
    Constructs PatternRule
PrefixRule
in file prefix.inc.php, method PrefixRule::PrefixRule()
    Constructs PrefixRule
PrefixRule
in file prefix.inc.php, class PrefixRule
    Check that a field begins with a specific string prefix within allowable parameters.
prepare
in file emptyerrorlist.inc.php, method EmptyErrorList::prepare()
    Dummy prepare method does nothing
top

r

$refField
in file match.inc.php, variable MatchRule::$refField
    Reference field to match against
$rules
in file validator.inc.php, variable Validator::$rules
    Indexed array of Rule objects
rule.inc.php
procedural page rule.inc.php
removeRestrictions
in file errorlist.inc.php, method ErrorList::removeRestrictions()
removeRestrictions
in file emptyerrorlist.inc.php, method EmptyErrorList::removeRestrictions()
RequiredRule
in file rule.inc.php, class RequiredRule
    For fields which must be supplied a value by the user
RequiredRule
in file rule.inc.php, method RequiredRule::RequiredRule()
    Constructs RequiredRule
reset
in file errorlist.inc.php, method ErrorList::reset()
    Iterator method
reset
in file emptyerrorlist.inc.php, method EmptyErrorList::reset()
    Dummy reset method does nothing
restrictFields
in file emptyerrorlist.inc.php, method EmptyErrorList::restrictFields()
    Dummy restrictFields method
restrictFields
in file errorlist.inc.php, method ErrorList::restrictFields()
    Fields which errors should be applied to ???
Rule
in file rule.inc.php, class Rule
    Base class for defining Rules to validate against
top

s

$Suffix
in file suffix.inc.php, variable ExcludeSuffixRule::$Suffix
$Suffix
in file suffix.inc.php, variable SuffixRule::$Suffix
suffix.inc.php
procedural page suffix.inc.php
setErrorMessageDictionary
in file errorlist.inc.php, method ErrorList::setErrorMessageDictionary()
    Set the ErrorMessageDictionary
setFieldNameDictionary
in file errorlist.inc.php, method ErrorList::setFieldNameDictionary()
    Set the FieldNameDictionary
setGroup
in file rule.inc.php, method Rule::setGroup()
    Sets the error message group (related to the vars file)
SingleFieldRule
in file rule.inc.php, class SingleFieldRule
    Rules responsbile for validating a single field descend from this class.
SingleFieldRule
in file rule.inc.php, method SingleFieldRule::SingleFieldRule()
    Constructs Rule
SizeRangeRule
in file rule.inc.php, class SizeRangeRule
    For fields have a minimum and maximum length
SizeRangeRule
in file rule.inc.php, method SizeRangeRule::SizeRangeRule()
    Constructs SizeRangeRule
SuffixRule
in file suffix.inc.php, method SuffixRule::SuffixRule()
    Constructs SuffixRule
SuffixRule
in file suffix.inc.php, class SuffixRule
    Check that a field ends with a specific string suffix within allowable parameters.
top

u

url.inc.php
procedural page url.inc.php
UrlRule
in file url.inc.php, method UrlRule::UrlRule()
    Constructs a DomainRule
UrlRule
in file url.inc.php, class UrlRule
    Check for a valid Url.
top

v

$Values
in file errorlist.inc.php, variable ErrorMessageCode::$Values
validator.inc.php
procedural page validator.inc.php
validate
in file rule.inc.php, method SingleFieldRule::validate()
    Perform validation
validate
in file validator.inc.php, method Validator::validate()
    Perform the validation
validate
in file rule.inc.php, method Rule::validate()
    Perform validation
validate
in file fileupload.inc.php, method FileUploadRequiredRule::validate()
    Perform validation
validate
in file match.inc.php, method MatchRule::validate()
    Performs validation
validate
in file rule.inc.php, method RequiredRule::validate()
    Performs validation
Validator
in file validator.inc.php, class Validator
    Performs the validation checks against the Rules
top

w

$WholeDigits
in file numeric.inc.php, variable NumericPrecisionRule::$WholeDigits
    Allowable Number of Whole Digits
top
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:43:42 -0800 by phpDocumentor 1.2.3