MatchingRuleUse
extends SchemaItem
in package
Represents an LDAP schema matchingRuleUse entry
Table of Contents
- $description : string|null
- $name : string|null
- $oid : string|null
- $used_by_attrs : array<string|int, string>
- __construct() : mixed
- Default constructor.
- getDescription() : string|null
- getName() : string
- Gets this MatchingRuleUse's name
- getOID() : string|null
- getUsedByAttrs() : array<string|int, string>
- Gets an array of attribute names (strings) which use this MatchingRuleUse object.
- initVars() : void
- Initialize the class' member variables
- setDescription() : void
- setOID() : void
Properties
$description
protected
string|null
$description
The description of this schema item.
$name
protected
string|null
$name
The name of the MathingRule this applies to
$oid
protected
string|null
$oid
The OID of this schema item.
$used_by_attrs
protected
array<string|int, string>
$used_by_attrs
An array of attributeType names who make use of the mathingRule identified by $this->oid and $this->name
Methods
__construct()
Default constructor.
public
__construct(string $raw_matching_rule_use_string) : mixed
Parameters
- $raw_matching_rule_use_string : string
-
rule string
Return values
mixed —getDescription()
public
getDescription() : string|null
Return values
string|null —description
getName()
Gets this MatchingRuleUse's name
public
getName() : string
Return values
string —The name
getOID()
public
getOID() : string|null
Return values
string|null —oid
getUsedByAttrs()
Gets an array of attribute names (strings) which use this MatchingRuleUse object.
public
getUsedByAttrs() : array<string|int, string>
Return values
array<string|int, string> —The array of attribute names (strings).
initVars()
Initialize the class' member variables
public
initVars() : void
Return values
void —setDescription()
public
setDescription(string|null $new_desc) : void
Parameters
- $new_desc : string|null
-
description
Return values
void —setOID()
public
setOID(string|null $new_oid) : void
Parameters
- $new_oid : string|null
-
oid