Ldap/Node/Schema/OpenLdap.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Ldap  
Subpackage
Schema  
Version
$Id$  

\Zend_Ldap_Node_Schema_OpenLdap

Package: Zend_Ldap\Schema
Zend_Ldap_Node_Schema_OpenLdap provides a simple data-container for the Schema node of an OpenLDAP server.
Parent(s)
\Zend_Ldap_Node_Schema < \Zend_Ldap_Node_Abstract
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotectedarray $_attributeTypes = null
The attribute Types
Default valuenullDetails
Type
array
>VPropertyprotectedarray $_ldapSyntaxes = null
The LDAP syntaxes
Default valuenullDetails
Type
array
>VPropertyprotectedarray $_matchingRuleUse = null
The matching rule use
Default valuenullDetails
Type
array
>VPropertyprotectedarray $_matchingRules = null
The matching rules
Default valuenullDetails
Type
array
>VPropertyprotectedarray $_objectClasses = null
The object classes
Default valuenullDetails
Type
array

Methods

methodprotected_ensureNameAttribute(array $data) : void

Ensures that a name element is present and that it is single-values.

Parameters
NameTypeDescription
$dataarray
methodprotected_loadAttributeTypes() : void

Loads the attribute Types

methodprotected_loadLdapSyntaxes() : void

Loads the LDAP syntaxes

methodprotected_loadMatchingRuleUse() : void

Loads the matching rule use

methodprotected_loadMatchingRules() : void

Loads the matching rules

methodprotected_loadObjectClasses() : void

Loads the object classes

methodprotected_parseAttributeType(string $value) : array

Parses an attributeType value

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
array
methodprotected_parseLdapSchemaSyntax(array $data, array $tokens) : void

Parse the given tokens into a data structure

Parameters
NameTypeDescription
$dataarray
$tokensarray
methodprotected_parseLdapSyntax(string $value) : array

Parses an ldapSyntaxes value

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
array
methodprotected_parseMatchingRule(string $value) : array

Parses an matchingRules value

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
array
methodprotected_parseMatchingRuleUse(string $value) : array

Parses an matchingRuleUse value

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
array
methodprotected_parseObjectClass(string $value) : array

Parses an objectClasses value

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
array
methodprotected_parseSchema(\Zend_Ldap_Dn $dn, \Zend_Ldap $ldap) : \Zend_Ldap_Node_Schema

Parses the schema

Parameters
NameTypeDescription
$dn\Zend_Ldap_Dn
$ldap\Zend_Ldap
Returns
TypeDescription
\Zend_Ldap_Node_SchemaProvides a fluid interface
methodprotected_resolveInheritance(\Zend_Ldap_Node_Schema_Item $node, array $repository) : void

Resolves inheritance in objectClasses and attributes

Parameters
NameTypeDescription
$node\Zend_Ldap_Node_Schema_Item
$repositoryarray
methodprotected_tokenizeString(string $value) : array

Tokenizes the given value into an array

Parameters
NameTypeDescription
$valuestring
Returns
TypeDescription
arraytokens
methodpublicgetAttributeTypes() : array

Gets the attribute Types

Returns
TypeDescription
array
methodpublicgetLdapSyntaxes() : array

Gets the LDAP syntaxes

Returns
TypeDescription
array
methodpublicgetMatchingRuleUse() : array

Gets the matching rule use

Returns
TypeDescription
array
methodpublicgetMatchingRules() : array

Gets the matching rules

Returns
TypeDescription
array
methodpublicgetObjectClasses() : array

Gets the object classes

Returns
TypeDescription
array
Documentation was generated by phpDocumentor 2.2.0 .