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
String
The name of the objectClass to add
bool
Returns true on success or false on failure (objectclass already existed for example)addMayAttrs(array $new_may_attrs)
array
An array of attribute names (strings) to add.
addMustAttrs(array $new_must_attrs)
The resulting array of must attributes will contain unique members.
array
An array of attribute names (strings) to add.
getChildObjectClasses() : Array
Array
Names 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 |
array
An 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.
array
The 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 |
array
An 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.
array
The 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 |
array
An 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.
array
The 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 |
array
An 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.
array
The array of required AttributeType objects.getName() : string
string
The name of the objectClassgetSupClasses() : array
array
An 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
String
The name of the objectClass to add
boolean
Returns true on success or false on failure (objectclass already existed for example)getChildObjectClasses() : Array
Array
Names 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 |
array
An 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.
array
The 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 |
array
An 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.
array
The 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 |
array
An 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.
array
The 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 |
array
An 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.
array
The array of required AttributeType objects.getName($lower) : string
param boolean $lower Return the name in lower case (default)
inherited_from | \SchemaItem::getName() |
---|
string
The namegetOID()
inherited_from | \SchemaItem::getOID() |
---|
getParents()
getSupClasses() : array
array
An array of objectClass names (strings)getType()
isForceMay($attr)
isStructural()
setDescription($desc)
inherited_from | \SchemaItem::setDescription() |
---|
setOID($oid)
inherited_from | \SchemaItem::setOID() |
---|
addMayAttrs(array $attr)
array
An array of attribute names (strings) to add.
addMustAttrs(array $attr)
The resulting array of must attributes will contain unique members.
array
An 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