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

Public Member Functions

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

Public Attributes

- Public Attributes inherited from TypeDescription

Detailed Description

A type description that validates objects by class type.

Example type identifier: 'class::lib.pkp.classes.submission.Submission'

Definition at line 20 of file

Member Function Documentation

ClassTypeDescription::checkType ( $object)
See Also

Definition at line 74 of file

ClassTypeDescription::ClassTypeDescription (   $typeName)


$typeNamestring a fully qualified class name.

Definition at line 38 of file

ClassTypeDescription::getNamespace ( )
See Also

Definition at line 48 of file

References splitClassName().

ClassTypeDescription::parseTypeName (   $typeName)
ClassTypeDescription::splitClassName (   $typeName)

Splits a fully qualified class name into a package and a class name string.

$typeNamethe type name to be split up.
array an array with the package name as its first entry and the class name as its second entry.

Definition at line 96 of file

Referenced by getNamespace().

Member Data Documentation

string ClassTypeDescription::$_className

a valid class name

Definition at line 25 of file

string ClassTypeDescription::$_packageName

a valid package name

Definition at line 31 of file

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