Primitive Class Reference
[Data validation layer]

Factory for various Primitives. More...

Inheritance diagram for Primitive:

Inheritance graph
[legend]

List of all members.

Static Public Member Functions

static spawn ($primitive, $name)
 
Returns:
BasePrimitive

static integer ($name)
 
Returns:
PrimitiveInteger

static float ($name)
 
Returns:
PrimitiveFloat

static identifier ($name)
 
Returns:
PrimitiveIdentifier

static identifierlist ($name)
 
Returns:
PrimitiveIdentifierList

static enumeration ($name)
 
Returns:
PrimitiveEnumeration

static date ($name)
 
Returns:
PrimitiveDate

static timestamp ($name)
 
Returns:
PrimitiveTimestamp

static time ($name)
 
Returns:
PrimitiveTime

static string ($name)
 
Returns:
PrimitiveString

static range ($name)
 
Returns:
PrimitiveRange

static dateRange ($name)
 
Returns:
PrimitiveDateRange

static timestampRange ($name)
static choice ($name)
 
Returns:
PrimitiveList

static set ($name)
 
Returns:
PrimitiveArray

static multiChoice ($name)
 
Returns:
PrimitiveMultiList

static plainChoice ($name)
 
Returns:
PrimitivePlainList

static boolean ($name)
 
Returns:
PrimitiveBoolean

static ternary ($name)
 
Returns:
PrimitiveTernary

static file ($name)
 
Returns:
PrimitiveFile

static image ($name)
 
Returns:
PrimitiveImage

static exploded ($name)
 
Returns:
ExplodedPrimitive

static inet ($name)
 
Returns:
PrimitiveInet


Detailed Description

Factory for various Primitives.

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


Member Function Documentation

static Primitive::spawn ( primitive,
name 
) [static]

Returns:
BasePrimitive

Definition at line 23 of file Primitive.class.php.

References Assert::isTrue().

Here is the call graph for this function:

static Primitive::integer ( name  )  [static]

Returns:
PrimitiveInteger

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

Referenced by IntegerType::toPrimitive().

static Primitive::float ( name  )  [static]

Returns:
PrimitiveFloat

Definition at line 41 of file Primitive.class.php.

Referenced by FloatType::toPrimitive().

static Primitive::identifier ( name  )  [static]

Returns:
PrimitiveIdentifier

Definition at line 49 of file Primitive.class.php.

static Primitive::identifierlist ( name  )  [static]

Returns:
PrimitiveIdentifierList

Definition at line 57 of file Primitive.class.php.

static Primitive::enumeration ( name  )  [static]

Returns:
PrimitiveEnumeration

Definition at line 65 of file Primitive.class.php.

static Primitive::date ( name  )  [static]

Returns:
PrimitiveDate

Definition at line 73 of file Primitive.class.php.

Referenced by DateType::toPrimitive().

static Primitive::timestamp ( name  )  [static]

Returns:
PrimitiveTimestamp

Definition at line 81 of file Primitive.class.php.

Referenced by TimestampType::toPrimitive().

static Primitive::time ( name  )  [static]

Returns:
PrimitiveTime

Definition at line 89 of file Primitive.class.php.

Referenced by TimeType::toPrimitive().

static Primitive::string ( name  )  [static]

Returns:
PrimitiveString

Definition at line 97 of file Primitive.class.php.

Referenced by StringType::toPrimitive().

static Primitive::range ( name  )  [static]

Returns:
PrimitiveRange

Definition at line 105 of file Primitive.class.php.

Referenced by RangeType::toPrimitive().

static Primitive::dateRange ( name  )  [static]

Returns:
PrimitiveDateRange

Definition at line 113 of file Primitive.class.php.

Referenced by DateRangeType::toPrimitive().

static Primitive::timestampRange ( name  )  [static]

Definition at line 118 of file Primitive.class.php.

Referenced by TimestampRangeType::toPrimitive().

static Primitive::choice ( name  )  [static]

Returns:
PrimitiveList

Definition at line 126 of file Primitive.class.php.

Referenced by BaseEditor::__construct(), and MethodMappedController::chooseAction().

static Primitive::set ( name  )  [static]

Returns:
PrimitiveArray

Definition at line 134 of file Primitive.class.php.

static Primitive::multiChoice ( name  )  [static]

Returns:
PrimitiveMultiList

Definition at line 142 of file Primitive.class.php.

static Primitive::plainChoice ( name  )  [static]

Returns:
PrimitivePlainList

Definition at line 150 of file Primitive.class.php.

static Primitive::boolean ( name  )  [static]

Returns:
PrimitiveBoolean

Definition at line 158 of file Primitive.class.php.

Referenced by BooleanType::toPrimitive().

static Primitive::ternary ( name  )  [static]

Returns:
PrimitiveTernary

Definition at line 166 of file Primitive.class.php.

static Primitive::file ( name  )  [static]

Returns:
PrimitiveFile

Definition at line 174 of file Primitive.class.php.

static Primitive::image ( name  )  [static]

Returns:
PrimitiveImage

Definition at line 182 of file Primitive.class.php.

static Primitive::exploded ( name  )  [static]

Returns:
ExplodedPrimitive

Definition at line 190 of file Primitive.class.php.

static Primitive::inet ( name  )  [static]

Returns:
PrimitiveInet

Definition at line 198 of file Primitive.class.php.

Referenced by InetType::toPrimitive().


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