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

Public Member Functions

 checkType (&$object)
 
 getNamespace ()
 
 parseTypeName ($typeName)
 
 ValidatorTypeDescription ($typeName)
 
- Public Member Functions inherited from PrimitiveTypeDescription
 _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)
 

Public Attributes

 $_validatorArgs
 
 $_validatorClassName
 
- Public Attributes inherited from PrimitiveTypeDescription
 $_primitiveType
 
- Public Attributes inherited from TypeDescription
 $_cardinality
 
 $_typeName
 

Additional Inherited Members

- Static Public Member Functions inherited from PrimitiveTypeDescription
static _supportedPrimitiveTypes ()
 

Detailed Description

Class that describes a string input/output type that passes additional validation (via standard validator classes).

Definition at line 19 of file ValidatorTypeDescription.inc.php.

Member Function Documentation

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

Constructor

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

Definition at line 38 of file ValidatorTypeDescription.inc.php.

Member Data Documentation

array ValidatorTypeDescription::$_validatorArgs

arguments to be passed to the validator constructor

Definition at line 30 of file ValidatorTypeDescription.inc.php.

string ValidatorTypeDescription::$_validatorClassName

the validator class name

Definition at line 24 of file ValidatorTypeDescription.inc.php.


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