|
|
@@ -4,19 +4,19 @@
|
|
|
<sect3 id="zend.ldap.api.reference.zend-ldap-node-schema">
|
|
|
<title>Zend_Ldap_Node_Schema</title>
|
|
|
|
|
|
- <para>The following methods are available on all vendor-specific subclasses.</para>
|
|
|
+ <para>
|
|
|
+ Die folgenden Methoden sind für alle Hersteller-spezifischen Unterklassen vorhanden.
|
|
|
+ </para>
|
|
|
|
|
|
<para>
|
|
|
- <code>Zend_Ldap_Node_Schema</code> includes the magic propery accessors
|
|
|
- <code>__get()</code> and <code>__isset()</code> to access the attributes by their
|
|
|
- name. They proxy to <code>Zend_Ldap_Node_Schema::getAttribute()</code> and
|
|
|
- <code>Zend_Ldap_Node_Schema::existsAttribute()</code> respectively.
|
|
|
- <code>__set()</code> and <code>__unset()</code> are also implemented but they throw
|
|
|
- a <code>BadMethodCallException</code> as modifications are not allowed on RootDSE
|
|
|
- nodes. Furthermore the class implements <code>ArrayAccess</code> for
|
|
|
- array-style-access to the attributes. <code>offsetSet()</code> and
|
|
|
- <code>offsetUnset()</code> also throw a <code>BadMethodCallException</code> due ro
|
|
|
- obvious reasons.
|
|
|
+ <code>Zend_Ldap_Node_Schema</code> enthält die magischen Methoden <code>__get()</code> und
|
|
|
+ <code>__isset()</code> um auf die Attribute durch Ihren Namen zugreifen zu können. Die
|
|
|
+ verweisen auf <code>Zend_Ldap_Node_Schema::getAttribute()</code> und
|
|
|
+ <code>Zend_Ldap_Node_Schema::existsAttribute()</code>. <code>__set()</code> und
|
|
|
+ <code>__unset()</code> sind auch implementiert, werfen aber eine
|
|
|
+ <code>BadMethodCallException</code> da Änderungen auf RootDSE Nodes nicht erlaubt sind.
|
|
|
+ Weiters implementiert die Klasse <code>ArrayAccess</code> für Array-Artigen Zugriff und
|
|
|
+ wirft eine <code>BadMethodCallException</code> aus den bekannten Gründen.
|
|
|
</para>
|
|
|
|
|
|
<table id="zend.ldap.api.reference.zend-ldap-node-schema.table">
|
|
|
@@ -25,47 +25,47 @@
|
|
|
<tgroup cols="2">
|
|
|
<thead>
|
|
|
<row>
|
|
|
- <entry>Method</entry>
|
|
|
- <entry>Description</entry>
|
|
|
+ <entry>Methode</entry>
|
|
|
+ <entry>Beschreibung</entry>
|
|
|
</row>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
<entry><code>Zend_Ldap_Dn getDn()</code></entry>
|
|
|
- <entry>Gets the DN of the current node as a Zend_Ldap_Dn.</entry>
|
|
|
+ <entry>Holt den DN des aktuellen Nodes als Zend_Ldap_Dn.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getDnString(string $caseFold)</code></entry>
|
|
|
- <entry>Gets the DN of the current node as a string.</entry>
|
|
|
+ <entry>Holt den DN des aktuellen Nodes als String.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getDnArray(string $caseFold)</code></entry>
|
|
|
- <entry>Gets the DN of the current node as an array.</entry>
|
|
|
+ <entry>Holt den DN des aktuellen Nodes als Array.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getRdnString(string $caseFold)</code></entry>
|
|
|
- <entry>Gets the <acronym>RDN</acronym> of the current node as a string.</entry>
|
|
|
+ <entry>Holt den <acronym>RDN</acronym> des aktuellen Nodes als String.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getRdnArray(string $caseFold)</code></entry>
|
|
|
- <entry>Gets the <acronym>RDN</acronym> of the current node as an array.</entry>
|
|
|
+ <entry>Holt den <acronym>RDN</acronym> des aktuellen Nodes als Array.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getObjectClass()</code></entry>
|
|
|
- <entry>Returns the objectClass of the node.</entry>
|
|
|
+ <entry>Gibt die objectClass des aktuellen Nodes zurück.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string toString()</code></entry>
|
|
|
<entry>
|
|
|
- Returns the DN of the current node - proxies to
|
|
|
+ Gibt den DN des aktuellen Nodes zurück - verweist auf
|
|
|
<code>Zend_Ldap_Dn::getDnString()</code>.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string __toString()</code></entry>
|
|
|
<entry>
|
|
|
- Casts to string representation - proxies to
|
|
|
- <code>Zend_Ldap_Dn::toString()</code>.
|
|
|
+ Castet auf eine String Darstellung - leitet auf
|
|
|
+ <code>Zend_Ldap_Dn::toString()</code> weiter.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -74,12 +74,11 @@
|
|
|
$includeSystemAttributes)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Returns an array representation of the current node. If
|
|
|
- <code>$includeSystemAttributes</code> is <code>false</code>
|
|
|
- (defaults to <code>true</code>) the system specific attributes are
|
|
|
- stripped from the array. Unlike
|
|
|
- <code>Zend_Ldap_Node_Schema::getAttributes()</code> the resulting
|
|
|
- array contains the DN with key <code>'dn'</code>.
|
|
|
+ Gibt eine Array Darstellung des aktuellen Nodes zurück. Wenn
|
|
|
+ <code>$includeSystemAttributes</code> <code>false</code> ist (Standardmäßig
|
|
|
+ ist es <code>true</code>) werden die System spezifischen Attribute vom Array
|
|
|
+ entfernt. Anders als <code>Zend_Ldap_Node_Schema::getAttributes()</code>
|
|
|
+ enthält das resultierende Array den DN mit dem Schlüssel <code>'dn'</code>.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -88,8 +87,8 @@
|
|
|
$includeSystemAttributes)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Returns a <acronym>JSON</acronym> representation of the current node using
|
|
|
- <code>Zend_Ldap_Node_Schema::toArray()</code>.
|
|
|
+ Gibt eine <acronym>JSON</acronym> Darstellung des aktuellen Nodes zurück
|
|
|
+ indem <code>Zend_Ldap_Node_Schema::toArray()</code> verwendet wird.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -98,8 +97,8 @@
|
|
|
$includeSystemAttributes)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Returns the node's attributes. The array contains all
|
|
|
- attributes in its internal format (no conversion).
|
|
|
+ Gibt die Attribute des Nodes zurück. Das Array enthält alle Attribute in
|
|
|
+ Ihrem internen Format (keine Konvertierung).
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -108,13 +107,13 @@
|
|
|
$emptyExists)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Checks whether a given attribute exists. If
|
|
|
- <code>$emptyExists</code> is <code>false</code> empty attributes
|
|
|
- (containing only array()) are treated as non-existent returning
|
|
|
- <code>false</code>. If <code>$emptyExists</code> is true empty
|
|
|
- attributes are treated as existent returning <code>true</code>. In
|
|
|
- this case teh method returns <code>false</code> only if the
|
|
|
- attribute name is missing in the key-collection.
|
|
|
+ Prüft ob ein angegebenes Attribut existiert. Wenn <code>$emptyExists</code>
|
|
|
+ <code>false</code> ist werden leere Attribute (welche nur array() enthalten)
|
|
|
+ als nicht existierend betrachtet und geben <code>false</code> zurück. Wenn
|
|
|
+ <code>$emptyExists</code> true ist werden leere Attribute als existent
|
|
|
+ betrachtet und geben <code>true</code> zurück. In diesem Fall gibt die
|
|
|
+ Methode nur dann <code>false</code> zurück wenn der Name des
|
|
|
+ Attributs in der Sammlung der Schlüssel fehlt.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -123,17 +122,16 @@
|
|
|
$value)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Checks if the given value(s) exist in the attribute. The
|
|
|
- method returns <code>true</code> only if all values in
|
|
|
- <code>$value</code> are present in the attribute. Comparison is
|
|
|
- done strictly (respecting the data type).
|
|
|
+ Prüft ob angegebene Werte im Attribut existieren. Die Methode gibt nur dann
|
|
|
+ <code>true</code> zurück wenn alle Werte in <code>$value</code> auch im
|
|
|
+ Attribut enthalten sind. Der Vergleich wird strikt durchgeführt (er
|
|
|
+ respektiert den Datentyp).
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>integer count()</code></entry>
|
|
|
<entry>
|
|
|
- Returns the number of attributes in the node. Implements
|
|
|
- Countable.
|
|
|
+ Gibt die Anzahl der Attribute im Node zurück. Implementiert Countable.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -142,8 +140,9 @@
|
|
|
$index)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Gets a <acronym>LDAP</acronym> attribute. Data conversion is applied using
|
|
|
- <code>Zend_Ldap_Attribute::getAttribute()</code>.
|
|
|
+ Holt ein <acronym>LDAP</acronym> Attribut. Datenkonvertierung wird
|
|
|
+ angewendet indem <code>Zend_Ldap_Attribute::getAttribute()</code> verwendet
|
|
|
+ wird.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -152,10 +151,9 @@
|
|
|
$includeSystemAttributes)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Gets all attributes of node. If
|
|
|
- <code>$includeSystemAttributes</code> is <code>false</code>
|
|
|
- (defaults to <code>true</code>) the system specific attributes are
|
|
|
- stripped from the array.
|
|
|
+ Holt alle Attribute des Nodes. Wenn <code>$includeSystemAttributes</code>
|
|
|
+ <code>false</code> ist (der Standardwert ist <code>true</code>) werden
|
|
|
+ System spezifische Attribute vom Array entfernt.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -164,9 +162,9 @@
|
|
|
integer|null $index)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Gets a <acronym>LDAP</acronym> date/time attribute. Data conversion is applied
|
|
|
- using
|
|
|
- <code>Zend_Ldap_Attribute::getDateTimeAttribute()</code>.
|
|
|
+ Holt ein <acronym>LDAP</acronym> date/time Attribut. Datenkonvertierung wird
|
|
|
+ angewendet indem <code>Zend_Ldap_Attribute::getDateTimeAttribute()</code>
|
|
|
+ verwendet wird.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -175,8 +173,8 @@
|
|
|
$ldap)</code>
|
|
|
</entry>
|
|
|
<entry>
|
|
|
- Reloads the current node's attributes from the given <acronym>LDAP</acronym>
|
|
|
- server.
|
|
|
+ Lädt die Attribute des aktuellen Nodes neu vom angegebenen
|
|
|
+ <acronym>LDAP</acronym> Server.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
@@ -184,16 +182,16 @@
|
|
|
<emphasis><code>Zend_Ldap_Node_Schema create(Zend_Ldap
|
|
|
$ldap)</code> </emphasis>
|
|
|
</entry>
|
|
|
- <entry>Factory method to create the Schema node.</entry>
|
|
|
+ <entry>Factory Methode um den Schema Node zu erstellen.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getAttributeTypes()</code></entry>
|
|
|
- <entry>Gets the attribute types as an array of <code/>.</entry>
|
|
|
+ <entry>Holt den Typ des Attributs als Array von <code/>.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getObjectClasses()</code></entry>
|
|
|
<entry>
|
|
|
- Gets the object classes as an array of
|
|
|
+ Holt das Klassenobjekt als Array von
|
|
|
<code>Zend_Ldap_Node_Schema_ObjectClass_Interface</code>.
|
|
|
</entry>
|
|
|
</row>
|
|
|
@@ -207,34 +205,34 @@
|
|
|
<tgroup cols="2">
|
|
|
<thead>
|
|
|
<row>
|
|
|
- <entry>Method</entry>
|
|
|
- <entry>Description</entry>
|
|
|
+ <entry>Methode</entry>
|
|
|
+ <entry>Beschreibung</entry>
|
|
|
</row>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
<entry><code>string getName()</code></entry>
|
|
|
- <entry>Gets the attribute name.</entry>
|
|
|
+ <entry>Holt den Namen des Attributs.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getOid()</code></entry>
|
|
|
- <entry>Gets the attribute <acronym>OID</acronym>.</entry>
|
|
|
+ <entry>Holt die <acronym>OID</acronym> des Attributs.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getSyntax()</code></entry>
|
|
|
- <entry>Gets the attribute syntax.</entry>
|
|
|
+ <entry>Holt die Syntax des Attributs.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>int|null getMaxLength()</code></entry>
|
|
|
- <entry>Gets the attribute maximum length.</entry>
|
|
|
+ <entry>Holt die maximale Länge des Attributs.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>boolean isSingleValued()</code></entry>
|
|
|
- <entry>Returns if the attribute is single-valued.</entry>
|
|
|
+ <entry>Gibt zurück ob das Attribut ein einzelner Wert ist.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getDescription()</code></entry>
|
|
|
- <entry>Gets the attribute description</entry>
|
|
|
+ <entry>holt die Beschreibung des Attributs</entry>
|
|
|
</row>
|
|
|
</tbody>
|
|
|
</tgroup>
|
|
|
@@ -246,65 +244,64 @@
|
|
|
<tgroup cols="2">
|
|
|
<thead>
|
|
|
<row>
|
|
|
- <entry>Method</entry>
|
|
|
- <entry>Description</entry>
|
|
|
+ <entry>Methode</entry>
|
|
|
+ <entry>Beschreibung</entry>
|
|
|
</row>
|
|
|
</thead>
|
|
|
<tbody>
|
|
|
<row>
|
|
|
<entry><code>string getName()</code></entry>
|
|
|
- <entry>Returns the objectClass name.</entry>
|
|
|
+ <entry>Gibt den Namen von objectClass zurück.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getOid()</code></entry>
|
|
|
- <entry>Returns the objectClass <acronym>OID</acronym>.</entry>
|
|
|
+ <entry>Gibt das <acronym>OID</acronym> von objectClass zurück.</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getMustContain()</code></entry>
|
|
|
<entry>
|
|
|
- Returns the attributes that this objectClass must
|
|
|
- contain.
|
|
|
+ Gibt die Attribute zurück welche diese objectClass enthalten muß.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>array getMayContain()</code></entry>
|
|
|
<entry>
|
|
|
- Returns the attributes that this objectClass may
|
|
|
+ Gibt die Attribute zurück welche diese objectClass enthalten kann.
|
|
|
contain.
|
|
|
</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>string getDescription()</code></entry>
|
|
|
- <entry>Returns the attribute description</entry>
|
|
|
+ <entry>Gibt die Beschreibung des Attributs zurück</entry>
|
|
|
</row>
|
|
|
<row>
|
|
|
<entry><code>integer getType()</code></entry>
|
|
|
<entry>
|
|
|
- Returns the objectClass type. The method returns one of the
|
|
|
- following values:
|
|
|
+ Gibt den Typ von objectClass zurück. Diese Methode gibt einen der folgenden
|
|
|
+ Werte zurück:
|
|
|
<variablelist>
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<code>Zend_Ldap_Node_Schema::OBJECTCLASS_TYPE_UNKNOWN</code></term>
|
|
|
- <listitem><para>for unknown class types</para></listitem>
|
|
|
+ <listitem><para>für unbekannte Klassentypen</para></listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<code>Zend_Ldap_Node_Schema::OBJECTCLASS_TYPE_STRUCTURAL</code></term>
|
|
|
- <listitem><para>for structural classes</para></listitem>
|
|
|
+ <listitem><para>für strukturelle Klassen</para></listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<code>Zend_Ldap_Node_Schema::OBJECTCLASS_TYPE_ABSTRACT</code></term>
|
|
|
- <listitem><para>for abstract classes</para></listitem>
|
|
|
+ <listitem><para>für abstrakte Klassen</para></listitem>
|
|
|
</varlistentry>
|
|
|
|
|
|
<varlistentry>
|
|
|
<term>
|
|
|
<code>Zend_Ldap_Node_Schema::OBJECTCLASS_TYPE_AUXILIARY</code></term>
|
|
|
- <listitem><para>for auxiliary classes</para></listitem>
|
|
|
+ <listitem><para>für Hilfsklassen</para></listitem>
|
|
|
</varlistentry>
|
|
|
</variablelist>
|
|
|
</entry>
|
|
|
@@ -312,8 +309,8 @@
|
|
|
<row>
|
|
|
<entry><code>array getParentClasses()</code></entry>
|
|
|
<entry>
|
|
|
- Returns the parent objectClasses of this class. This
|
|
|
- includes structural, abstract and auxiliary objectClasses.
|
|
|
+ Gibt die elterliche objectClass dieser Klasse zurück. Diese enthalten
|
|
|
+ strukturelle, abstrakte und Hilfsklassen.
|
|
|
</entry>
|
|
|
</row>
|
|
|
</tbody>
|