Zend_Ldap_Node_Schema_OpenLdap provides a simple data-container for the Schema node of an OpenLDAP server.
category | Zend |
---|---|
package | Zend_Ldap |
subpackage | Schema |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Ldap_Node_Schema |
__get(string $name) : array
This is an offline method.
string
\Zend_Ldap_Exception |
---|
array
__isset(string $name) : boolean
Empty attributes will be treated as non-existent.
string
boolean
__set(string $name, mixed $value) : null
This is an offline method.
string
mixed
\BadMethodCallException |
---|
null
__toString() : string
string
__unset(string $name) : null
This method deletes the attribute.
This is an offline method.
string
\BadMethodCallException |
---|
null
attributeHasValue(string $attribName, mixed|array $value) : boolean
string
mixed
array
boolean
count() : integer
Implements Countable
integer
create(\Zend_Ldap $ldap) : \Zend_Ldap_Node_Schema
\Zend_Ldap
\Zend_Ldap_Exception |
---|
\Zend_Ldap_Node_Schema
existsAttribute(string $name, boolean $emptyExists = false
) : boolean
If $emptyExists is false empty attributes (containing only array()) are treated as non-existent returning false. If $emptyExists is true empty attributes are treated as existent returning true. In this case method returns false only if the attribute name is missing in the key-collection.
string
boolean
boolean
getAttribute(string $name, integer $index = null
) : mixed
This is an offline method.
string
integer
\Zend_Ldap_Exception |
---|
mixed
getAttributeTypes() : array
inherited_from | \Zend_Ldap_Node_Schema::getAttributeTypes() |
---|
array
getAttributeTypes() : array
array
getAttributes(boolean $includeSystemAttributes = true
) : array
The collection contains all attributes.
This is an offline method.
boolean
array
getData(boolean $includeSystemAttributes = true
) : array
The array contains all attributes in its internal format (no conversion).
This is an offline method.
boolean
array
getDateTimeAttribute(string $name, integer $index = null
) : array | integer
This is an offline method.
string
integer
\Zend_Ldap_Exception |
---|
array
integer
getDn() : \Zend_Ldap_Dn
The method returns a clone of the node's DN to prohibit modification.
This is an offline method.
\Zend_Ldap_Dn
getDnArray(string $caseFold = null
) : array
This is an offline method.
string
array
getDnString(string $caseFold = null
) : string
This is an offline method.
string
string
getLdapSyntaxes() : array
array
getMatchingRuleUse() : array
array
getMatchingRules() : array
array
getObjectClass() : array
array
getObjectClasses() : array
inherited_from | \Zend_Ldap_Node_Schema::getObjectClasses() |
---|
array
getObjectClasses() : array
array
getRdnArray(string $caseFold = null
) : array
This is an offline method.
string
array
getRdnString(string $caseFold = null
) : string
This is an offline method.
string
string
offsetExists(string $name) : boolean
Implements ArrayAccess.
Empty attributes will be treated as non-existent.
string
boolean
offsetGet(string $name) : array
Implements ArrayAccess.
This is an offline method.
string
\Zend_Ldap_Exception |
---|
array
offsetSet(string $name, mixed $value) : null
Implements ArrayAccess.
This is an offline method.
string
mixed
\BadMethodCallException |
---|
null
offsetUnset(string $name) : null
Implements ArrayAccess.
This method deletes the attribute.
This is an offline method.
string
\BadMethodCallException |
---|
null
reload(\Zend_Ldap $ldap = null
) : \Zend_Ldap_Node_Abstract
This is an online method.
\Zend_Ldap
\Zend_Ldap_Exception |
---|
\Zend_Ldap_Node_Abstract
Provides a fluent interfacetoArray(boolean $includeSystemAttributes = true
) : array
boolean
array
toJson(boolean $includeSystemAttributes = true
) : string
boolean
string
toString() : string
string
__construct(\Zend_Ldap_Dn $dn, array $data, boolean $fromDataSource)
Constructor is protected to enforce the use of factory methods.
\Zend_Ldap_Dn
array
boolean
_ensureNameAttribute(array $data)
array
_getDn() : \Zend_Ldap_Dn
This is an offline method.
\Zend_Ldap_Dn
_loadAttributeTypes() : void
_loadData(array $data, boolean $fromDataSource)
array
boolean
\Zend_Ldap_Exception |
---|
_loadLdapSyntaxes() : void
_loadMatchingRuleUse() : void
_loadMatchingRules() : void
_loadObjectClasses() : void
_parseAttributeType(string $value) : array
string
array
_parseLdapSchemaSyntax(array $data, array $tokens) : void
array
array
_parseLdapSyntax(string $value) : array
string
array
_parseMatchingRule(string $value) : array
string
array
_parseMatchingRuleUse(string $value) : array
string
array
_parseObjectClass(string $value) : array
string
array
_parseSchema(\Zend_Ldap_Dn $dn, \Zend_Ldap $ldap) : \Zend_Ldap_Node_Schema
inherited_from | \Zend_Ldap_Node_Schema::_parseSchema() |
---|
\Zend_Ldap_Dn
\Zend_Ldap
\Zend_Ldap_Node_Schema
Provides a fluent interface_parseSchema(\Zend_Ldap_Dn $dn, \Zend_Ldap $ldap) : \Zend_Ldap_Node_Schema
\Zend_Ldap_Dn
\Zend_Ldap
\Zend_Ldap_Node_Schema
Provides a fluent interface_resolveInheritance(\Zend_Ldap_Node_Schema_Item $node, array $repository)
\Zend_Ldap_Node_Schema_Item
array
_tokenizeString(string $value) : array
string
array
tokens$_attributeTypes : array
null
$_currentData : array
$_dn : \Zend_Ldap_Dn
$_ldapSyntaxes : array
null
$_matchingRuleUse : array
null
$_matchingRules : array
null
$_objectClasses : array
null
$_systemAttributes
array('createtimestamp', 'creatorsname', 'entrycsn', 'entrydn', 'entryuuid', 'hassubordinates', 'modifiersname', 'modifytimestamp', 'structuralobjectclass', 'subschemasubentry', 'distinguishedname', 'instancetype', 'name', 'objectcategory', 'objectguid', 'usnchanged', 'usncreated', 'whenchanged', 'whencreated')
OBJECTCLASS_TYPE_ABSTRACT = 3
OBJECTCLASS_TYPE_AUXILIARY = 4
OBJECTCLASS_TYPE_STRUCTURAL = 1
OBJECTCLASS_TYPE_UNKNOWN = 0