|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($typeName) | |
| checkType (&$object) | |
| getNamespace () | |
| parseTypeName ($typeName) | |
| splitClassName ($typeName) | |
Public Member Functions inherited from TypeDescription | |
| _parseTypeNameInternally ($typeName) | |
| getTypeDescription () | |
| getTypeName () | |
| isCompatible ($object) | |
Data Fields | |
| $_className | |
| $_packageName | |
Data Fields inherited from TypeDescription | |
| $_cardinality | |
| $_typeName | |
A type description that validates objects by class type.
Example type identifier: 'class::lib.pkp.classes.submission.PKPSubmission'
Definition at line 20 of file ClassTypeDescription.inc.php.
| ClassTypeDescription::__construct | ( | $typeName | ) |
Constructor
| $typeName | string a fully qualified class name. |
Reimplemented from TypeDescription.
Reimplemented in MetadataTypeDescription.
Definition at line 38 of file ClassTypeDescription.inc.php.
| ClassTypeDescription::checkType | ( | & | $object | ) |
Reimplemented from TypeDescription.
Reimplemented in MetadataTypeDescription.
Definition at line 74 of file ClassTypeDescription.inc.php.
| ClassTypeDescription::getNamespace | ( | ) |
Reimplemented from TypeDescription.
Reimplemented in MetadataTypeDescription.
Definition at line 48 of file ClassTypeDescription.inc.php.
| ClassTypeDescription::parseTypeName | ( | $typeName | ) |
Reimplemented from TypeDescription.
Reimplemented in MetadataTypeDescription.
Definition at line 59 of file ClassTypeDescription.inc.php.
References splitClassName().
| ClassTypeDescription::splitClassName | ( | $typeName | ) |
Splits a fully qualified class name into a package and a class name string.
| $typeName | the type name to be split up. |
Definition at line 96 of file ClassTypeDescription.inc.php.
Referenced by parseTypeName(), and MetadataTypeDescription\parseTypeName().
| string ClassTypeDescription::$_className |
a valid class name
Definition at line 25 of file ClassTypeDescription.inc.php.
| string ClassTypeDescription::$_packageName |
a valid package name
Definition at line 31 of file ClassTypeDescription.inc.php.