|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($typeName) | |
| checkType (&$object) | |
| getAssocType () | |
| getMetadataSchemaClass () | |
| getNamespace () | |
| parseTypeName ($typeName) | |
Public Member Functions inherited from ClassTypeDescription | |
| splitClassName ($typeName) | |
Public Member Functions inherited from TypeDescription | |
| _parseTypeNameInternally ($typeName) | |
| getTypeDescription () | |
| getTypeName () | |
| isCompatible ($object) | |
Data Fields | |
| $_assocType | |
| $_metadataSchemaClassName | |
| $_metadataSchemaPackageName | |
Data Fields inherited from ClassTypeDescription | |
| $_className | |
| $_packageName | |
Data Fields inherited from TypeDescription | |
| $_cardinality | |
| $_typeName | |
Type validator for metadata input/output.
This type description accepts descriptors of the following form: metadata::fully.qualified.MetadataSchema(ASSOC)
The assoc form must be the final part of a ASSOC_TYPE_* definition. It can be '*' to designate any assoc type.
Definition at line 25 of file MetadataTypeDescription.inc.php.
| MetadataTypeDescription::__construct | ( | $typeName | ) |
Constructor
| $typeName | string a fully qualified class name. |
Reimplemented from ClassTypeDescription.
Definition at line 50 of file MetadataTypeDescription.inc.php.
| MetadataTypeDescription::checkType | ( | & | $object | ) |
Reimplemented from ClassTypeDescription.
Definition at line 117 of file MetadataTypeDescription.inc.php.
| MetadataTypeDescription::getAssocType | ( | ) |
Definition at line 74 of file MetadataTypeDescription.inc.php.
References $_assocType.
| MetadataTypeDescription::getMetadataSchemaClass | ( | ) |
Definition at line 67 of file MetadataTypeDescription.inc.php.
References $_metadataSchemaClassName.
| MetadataTypeDescription::getNamespace | ( | ) |
Reimplemented from ClassTypeDescription.
Definition at line 60 of file MetadataTypeDescription.inc.php.
| MetadataTypeDescription::parseTypeName | ( | $typeName | ) |
Reimplemented from ClassTypeDescription.
Definition at line 85 of file MetadataTypeDescription.inc.php.
References ClassTypeDescription\splitClassName().
| integer MetadataTypeDescription::$_assocType |
the expected assoc type of the meta-data description
Definition at line 42 of file MetadataTypeDescription.inc.php.
Referenced by getAssocType().
| string MetadataTypeDescription::$_metadataSchemaClassName |
the expected meta-data schema class
Definition at line 36 of file MetadataTypeDescription.inc.php.
Referenced by getMetadataSchemaClass().
| string MetadataTypeDescription::$_metadataSchemaPackageName |
the expected meta-data schema package
Definition at line 30 of file MetadataTypeDescription.inc.php.