ObjectClass()
addChildObjectClass()
addMayAttrs()
addMustAttrs()
getChildObjectClasses()
getIsObsolete()
getMayAttrNames()
getMayAttrs()
getMustAttrNames()
getMustAttrs()
getName()
getSupClasses()
getType()
initVars()
$children_objectclasses
$is_obsolete
$may_attrs
$must_attrs
$name
$sup_classes
$type
__construct()
addChildObjectClass()
getChildObjectClasses()
getDescription()
getForceMayAttrs()
getIsObsolete()
getMayAttrNames()
getMayAttrs()
getMustAttrNames()
getMustAttrs()
getName()
getOID()
getParents()
getSupClasses()
getType()
isForceMay()
isRelated()
isStructural()
setDescription()
setOID()
addMayAttrs()
addMustAttrs()
parseList()
$description
$name
$children_objectclasses
$force_may
$hierarchy
$is_obsolete
$may_attrs
$must_attrs
$oid
$server_id
$sup_classes
$type
Represents an LDAP objectClass
| package | lib |
|---|
ObjectClass($raw_ldap_schema_string)
addChildObjectClass(String $object_class_name) : bool
StringThe name of the objectClass to add
boolReturns true on success or false on failure (objectclass already existed for example)addMayAttrs(array $new_may_attrs)
arrayAn array of attribute names (strings) to add.
addMustAttrs(array $new_must_attrs)
The resulting array of must attributes will contain unique members.
arrayAn array of attribute names (strings) to add.
getChildObjectClasses() : Array
ArrayNames of objectClasses which inherit from this objectClass.getIsObsolete()
getMayAttrNames(array $oclasses) : array
This differs from getMayAttrs in that it returns an array of strings rather than array of AttributeType objects
| see | \global\getMustAttrs |
|---|---|
| see | \global\getMayAttrs |
| see | \global\getMustAttrNames |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
arrayThe array of allowed attribute names (strings).getMayAttrs(array $oclasses) : array
This differs from getMayAttrNames in that it returns an array of AttributeType objects
| see | \global\getMustAttrNames |
|---|---|
| see | \global\getMustAttrs |
| see | \global\getMayAttrNames |
| see | \global\AttributeType |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
arrayThe array of allowed AttributeType objects.getMustAttrNames(array $oclasses) : array
This differs from getMustAttrs in that it returns an array of strings rather than array of AttributeType objects
| see | \global\getMustAttrs |
|---|---|
| see | \global\getMayAttrs |
| see | \global\getMayAttrNames |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
arrayThe array of allowed attribute names (strings).getMustAttrs(array $oclasses) : array
This differs from getMustAttrNames in that it returns an array of AttributeType objects
| see | \global\getMustAttrNames |
|---|---|
| see | \global\getMayAttrs |
| see | \global\getMayAttrNames |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass requires.
arrayThe array of required AttributeType objects.getName() : string
stringThe name of the objectClassgetSupClasses() : array
arrayAn array of objectClass names (strings)getType()
initVars()
$children_objectclasses
$is_obsolete
$may_attrs
$must_attrs
$name
$sup_classes
$type
Represents an LDAP objectClass
A schema item is an ObjectClass, an AttributeBype, a MatchingRule, or a Syntax. All schema items have at least two things in common: An OID and a description. This class provides an implementation for these two data.
| package | phpLDAPadmin |
|---|---|
| subpackage | Schema |
__construct($class, $server)
addChildObjectClass(String $name) : boolean
StringThe name of the objectClass to add
booleanReturns true on success or false on failure (objectclass already existed for example)getChildObjectClasses() : Array
ArrayNames of objectClasses which inherit from this objectClass.getDescription()
| inherited_from | \SchemaItem::getDescription() |
|---|
getForceMayAttrs()
getIsObsolete()
| inherited_from | \SchemaItem::getIsObsolete() |
|---|
getMayAttrNames(array $parents) : array
This differs from getMayAttrs in that it returns an array of strings rather than array of AttributeType objects
| see | \global\getMustAttrs |
|---|---|
| see | \global\getMayAttrs |
| see | \global\getMustAttrNames |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
arrayThe array of allowed attribute names (strings).getMayAttrs(array $parents) : array
This differs from getMayAttrNames in that it returns an array of AttributeType objects
| see | \global\getMustAttrNames |
|---|---|
| see | \global\getMustAttrs |
| see | \global\getMayAttrNames |
| see | \global\AttributeType |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
arrayThe array of allowed AttributeType objects.getMustAttrNames(array $parents) : array
This differs from getMustAttrs in that it returns an array of strings rather than array of AttributeType objects
| see | \global\getMustAttrs |
|---|---|
| see | \global\getMayAttrs |
| see | \global\getMayAttrNames |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass provides.
arrayThe array of allowed attribute names (strings).getMustAttrs(array $parents) : array
This differs from getMustAttrNames in that it returns an array of AttributeType objects
| see | \global\getMustAttrNames |
|---|---|
| see | \global\getMayAttrs |
| see | \global\getMayAttrNames |
arrayAn array of ObjectClass objects to use when traversing the inheritance tree. This presents some what of a bootstrapping problem as we must fetch all objectClasses to determine through inheritance which attributes this objectClass requires.
arrayThe array of required AttributeType objects.getName($lower) : string
param boolean $lower Return the name in lower case (default)
| inherited_from | \SchemaItem::getName() |
|---|
stringThe namegetOID()
| inherited_from | \SchemaItem::getOID() |
|---|
getParents()
getSupClasses() : array
arrayAn array of objectClass names (strings)getType()
isForceMay($attr)
isStructural()
setDescription($desc)
| inherited_from | \SchemaItem::setDescription() |
|---|
setOID($oid)
| inherited_from | \SchemaItem::setOID() |
|---|
addMayAttrs(array $attr)
arrayAn array of attribute names (strings) to add.
addMustAttrs(array $attr)
The resulting array of must attributes will contain unique members.
arrayAn array of attribute names (strings) to add.
parseList($i, $strings, $attrs)
$description
| inherited_from | \SchemaItem::$$description |
|---|
$name
| inherited_from | \SchemaItem::$$name |
|---|
$children_objectclasses
$force_may
$hierarchy
$is_obsolete
| inherited_from | \SchemaItem::$$is_obsolete |
|---|
$may_attrs
$must_attrs
$oid
| inherited_from | \SchemaItem::$$oid |
|---|
$server_id
$sup_classes
$type