PrimitiveString Class Reference
[Base data types used in Form]

Inheritance diagram for PrimitiveString:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 setAllowedPattern ($pattern)
 
Returns:
PrimitiveString

 import ($scope)

Public Attributes

const MAIL_PATTERN = '/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/s'
const URL_PATTERN = '/^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}((:[0-9]{1,5})?\/.*)?$/is'

Private Attributes

 $pattern = null


Detailed Description

Definition at line 16 of file PrimitiveString.class.php.


Member Function Documentation

PrimitiveString::setAllowedPattern ( pattern  ) 

Returns:
PrimitiveString

Definition at line 26 of file PrimitiveString.class.php.

References $pattern.

PrimitiveString::import ( scope  ) 

Reimplemented from BasePrimitive.

Reimplemented in ExplodedPrimitive.

Definition at line 33 of file PrimitiveString.class.php.

References BasePrimitive::import(), and FiltrablePrimitive::selfFilter().

Here is the call graph for this function:


Member Data Documentation

const PrimitiveString::MAIL_PATTERN = '/^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$/s'

Definition at line 18 of file PrimitiveString.class.php.

const PrimitiveString::URL_PATTERN = '/^(http|https):\/\/[a-z0-9]+([\-\.]{1}[a-z0-9]+)*\.[a-z]{2,5}((:[0-9]{1,5})?\/.*)?$/is'

Definition at line 19 of file PrimitiveString.class.php.

PrimitiveString::$pattern = null [private]

Definition at line 21 of file PrimitiveString.class.php.

Referenced by setAllowedPattern().


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:58:14 2007 for onPHP by  doxygen 1.5.4