schemaTest.php
Table of Contents
- checkSchemaForModule() : string
- Checks if the object classes and attributes for this module are available.
- getRecursiveAttributesFromObjectClass() : array<string|int, mixed>
- Returns the names of all attributes which are managed by the given object class and its parents.
Functions
checkSchemaForModule()
Checks if the object classes and attributes for this module are available.
checkSchemaForModule(string $name, string $scope, string $typeId) : string
Parameters
- $name : string
-
module name
- $scope : string
-
type (user, group, ...)
- $typeId : string
-
type id
Return values
string —error message or null
getRecursiveAttributesFromObjectClass()
Returns the names of all attributes which are managed by the given object class and its parents.
getRecursiveAttributesFromObjectClass(ObjectClass $oClass) : array<string|int, mixed>
Parameters
- $oClass : ObjectClass
-
object class
Return values
array<string|int, mixed> —list of attribute names