/Inspekt.php

Description

Inspekt - main source file

Classes
Class Description
Inspekt
Includes
require_once ('Inspekt/Error.php') (line 17)

Inspekt_Error

require_once ('Inspekt/Cage.php') (line 22)

Inspekt_Cage

require_once ('Inspekt/Supercage.php') (line 27)

Inspekt_Supercage

Constants
ISPK_DNS_VALID = '/^(?:[^\W_]((?:[^\W_]|-){0,61}[^\W_])?\.)+[a-zA-Z]{2,6}\.?$/' (line 75)

regex used to define what we're calling a valid domain name

ISPK_EMAIL_VALID = '/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,6}$/' (line 85)

regex used to define what we're calling a valid email

we're taking a "match 99%" approach here, rather than a strict interpretation of the RFC.

ISPK_HOST_ALLOW_ALL = 7 (line 62)

Options for isHostname() that specify which types of hostnames to allow.

HOST_ALLOW_ALL: Allows all of the above types of hostnames.

ISPK_HOST_ALLOW_DNS = 1 (line 37)

Options for isHostname() that specify which types of hostnames to allow.

HOST_ALLOW_DNS: Allows Internet domain names (e.g., example.com).

ISPK_HOST_ALLOW_IP = 2 (line 45)

Options for isHostname() that specify which types of hostnames to allow.

HOST_ALLOW_IP: Allows IP addresses.

ISPK_HOST_ALLOW_LOCAL = 4 (line 54)

Options for isHostname() that specify which types of hostnames to allow.

HOST_ALLOW_LOCAL: Allows local network names (e.g., localhost, www.localdomain) and Internet domain names.

ISPK_URI_ALLOW_COMMON = 1 (line 69)

Options for isUri that specify which types of URIs to allow.

URI_ALLOW_COMMON: Allow only "common" hostnames: http, https, ftp

Documentation generated on Mon, 31 Dec 2007 15:53:58 -0500 by phpDocumentor 1.4.1