Open Journal Systems  3.3.0
TestSchema Class Reference
Inheritance diagram for TestSchema:
MetadataSchema

Public Member Functions

 __construct ()
 
- Public Member Functions inherited from MetadataSchema
 __construct ($name, $namespace, $classname, $assocTypes)
 
 addProperty ($name, $allowedTypes=METADATA_PROPERTY_TYPE_STRING, $translated=false, $cardinality=METADATA_PROPERTY_CARDINALITY_ONE, $displayName=null, $validationMessage=null, $mandatory=false)
 
 getAssocTypes ()
 
 getClassName ()
 
 getName ()
 
 getNamespace ()
 
 getNamespacedPropertyId ($propertyName)
 
getProperties ()
 
getProperty ($propertyName)
 
 getPropertyNames ()
 
 getPropertyNamesByType ($propertyType)
 
 hasProperty ($propertyName)
 
 setProperties (&$properties)
 

Additional Inherited Members

- Data Fields inherited from MetadataSchema
 $_assocTypes
 
 $_classname
 
 $_name
 
 $_namespace
 
 $_properties = array()
 

Detailed Description

Class that provides typical meta-data properties for testing purposes.

See also
MetadataSchema

Definition at line 21 of file TestSchema.inc.php.

Constructor & Destructor Documentation

◆ __construct()

TestSchema::__construct ( )

Constructor

Definition at line 25 of file TestSchema.inc.php.

References MetadataSchema\addProperty().


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