Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PrimitiveTypeDescription Class Reference
Inheritance diagram for PrimitiveTypeDescription:
TypeDescription ValidatorTypeDescription

Public Member Functions

 _getPrimitiveTypeName (&$variable)
 checkType (&$object)
 getNamespace ()
 parseTypeName ($typeName)
 PrimitiveTypeDescription ($typeName)
- Public Member Functions inherited from TypeDescription
 _parseTypeNameInternally ($typeName)
 checkType (&$object)
 getNamespace ()
 getTypeDescription ()
 getTypeName ()
 isCompatible ($object)
 parseTypeName ($typeName)
 TypeDescription ($typeName)

Static Public Member Functions

static _supportedPrimitiveTypes ()

Public Attributes

- Public Attributes inherited from TypeDescription

Detailed Description

Class that describes a primitive input/output type.

Definition at line 18 of file

Member Function Documentation

PrimitiveTypeDescription::_getPrimitiveTypeName ( $variable)

Return a string representation of a primitive type.


Definition at line 82 of file

static PrimitiveTypeDescription::_supportedPrimitiveTypes ( )

Returns a (static) array with supported primitive type names.

Definition at line 96 of file

Referenced by getNamespace().

PrimitiveTypeDescription::checkType ( $object)
PrimitiveTypeDescription::getNamespace ( )
PrimitiveTypeDescription::parseTypeName (   $typeName)
PrimitiveTypeDescription::PrimitiveTypeDescription (   $typeName)


$typeNamestring Allowed primitive types are 'integer', 'string', 'float' and 'boolean'.

Definition at line 31 of file

Member Data Documentation

string PrimitiveTypeDescription::$_primitiveType

a PHP primitive type, e.g. 'string'

Definition at line 23 of file

The documentation for this class was generated from the following file: