Open Journal Systems  2.4.4
 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)
 

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 ClassTypeDescription.inc.php.

Member Function Documentation

ClassTypeDescription::checkType ( $object)
See Also
TypeDescription::checkType()

Definition at line 68 of file ClassTypeDescription.inc.php.

ClassTypeDescription::ClassTypeDescription (   $typeName)

Constructor

Parameters
$typeNamestring a fully qualified class name.

Definition at line 32 of file ClassTypeDescription.inc.php.

ClassTypeDescription::getNamespace ( )
ClassTypeDescription::parseTypeName (   $typeName)
See Also
TypeDescription::parseTypeName()

Definition at line 53 of file ClassTypeDescription.inc.php.

References splitClassName().

ClassTypeDescription::splitClassName (   $typeName)

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

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

Definition at line 90 of file ClassTypeDescription.inc.php.

Referenced by parseTypeName(), and MetadataTypeDescription\parseTypeName().


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