|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($typeName) | |
| checkType (&$object) | |
| getNamespace () | |
| parseTypeName ($typeName) | |
Public Member Functions inherited from PrimitiveTypeDescription | |
| _getPrimitiveTypeName (&$variable) | |
Public Member Functions inherited from TypeDescription | |
| _parseTypeNameInternally ($typeName) | |
| getTypeDescription () | |
| getTypeName () | |
| isCompatible ($object) | |
Data Fields | |
| $_validatorArgs | |
| $_validatorClassName | |
Data Fields inherited from PrimitiveTypeDescription | |
| $_primitiveType | |
Data Fields inherited from TypeDescription | |
| $_cardinality | |
| $_typeName | |
Additional Inherited Members | |
Static Public Member Functions inherited from PrimitiveTypeDescription | |
| static | _supportedPrimitiveTypes () |
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.
| ValidatorTypeDescription::__construct | ( | $typeName | ) |
Constructor
| $typeName | string Allowed primitive types are 'integer', 'string', 'float' and 'boolean'. |
Reimplemented from PrimitiveTypeDescription.
Definition at line 38 of file ValidatorTypeDescription.inc.php.
| ValidatorTypeDescription::checkType | ( | & | $object | ) |
Reimplemented from PrimitiveTypeDescription.
Definition at line 93 of file ValidatorTypeDescription.inc.php.
| ValidatorTypeDescription::getNamespace | ( | ) |
Reimplemented from PrimitiveTypeDescription.
Definition at line 49 of file ValidatorTypeDescription.inc.php.
| ValidatorTypeDescription::parseTypeName | ( | $typeName | ) |
Reimplemented from PrimitiveTypeDescription.
Definition at line 60 of file ValidatorTypeDescription.inc.php.
References PKPString\regexp_match().
| 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.