/Inspekt.php

Description

Inspekt - main source file

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

Inspekt_Error

require_once (dirname(__FILE__).DIRECTORY_SEPARATOR.'Inspekt/Cage.php') (line 22)

Inspekt_Cage

require_once (dirname(__FILE__).DIRECTORY_SEPARATOR.'Inspekt/Supercage.php') (line 32)

Inspekt_Supercage

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

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 90)

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 67)

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 42)

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 50)

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

HOST_ALLOW_IP: Allows IP addresses.

ISPK_HOST_ALLOW_LOCAL = 4 (line 59)

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 74)

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

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

Documentation generated on Fri, 15 Jan 2010 10:43:51 -0500 by phpDocumentor 1.4.3