Sophie

Sophie

distrib > PLD > ac > amd64 > media > dist > by-pkgid > dd8ef74e7a184506d40e4328053fb785 > files > 1546

php-manual-ro-20051028-1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML
><HEAD
><TITLE
>ldap_first_attribute</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
REL="HOME"
TITLE="Manual PHP"
HREF="index.html"><LINK
REL="UP"
TITLE="LDAP Functions"
HREF="ref.ldap.html"><LINK
REL="PREVIOUS"
TITLE="ldap_explode_dn"
HREF="function.ldap-explode-dn.html"><LINK
REL="NEXT"
TITLE="ldap_first_entry"
HREF="function.ldap-first-entry.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=ISO-8859-2"></HEAD
><BODY
CLASS="refentry"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Manual PHP</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.ldap-explode-dn.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="function.ldap-first-entry.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><H1
><A
NAME="function.ldap-first-attribute"
></A
>ldap_first_attribute</H1
><DIV
CLASS="refnamediv"
><A
NAME="AEN48474"
></A
><P
>    (PHP 3, PHP 4 , PHP 5)</P
>ldap_first_attribute&nbsp;--&nbsp;Return first attribute</DIV
><DIV
CLASS="refsect1"
><A
NAME="AEN48477"
></A
><H2
>Description</H2
>string <B
CLASS="methodname"
>ldap_first_attribute</B
> ( resource link_identifier, resource result_entry_identifier, int ber_identifier)<BR
></BR
><P
>&#13;     Returns the first attribute in the entry on success and <TT
CLASS="constant"
><B
>FALSE</B
></TT
> on
     error.
    </P
><P
> 
     Similar to reading entries, attributes are also read one by one
     from a particular entry.
     <B
CLASS="function"
>ldap_first_attribute()</B
> returns the first
     attribute in the entry pointed by the
     <VAR
CLASS="parameter"
>result_entry_identifier</VAR
>.
     Remaining attributes are retrieved by calling
     <A
HREF="function.ldap-next-attribute.html"
><B
CLASS="function"
>ldap_next_attribute()</B
></A
> successively.
     <VAR
CLASS="parameter"
>ber_identifier</VAR
> is the identifier to
     internal memory location pointer. It is passed by reference. The
     same <VAR
CLASS="parameter"
>ber_identifier</VAR
> is passed to the
     <A
HREF="function.ldap-next-attribute.html"
><B
CLASS="function"
>ldap_next_attribute()</B
></A
> function, which modifies
     that pointer.
    </P
><P
>&#13;     See also <A
HREF="function.ldap-get-attributes.html"
><B
CLASS="function"
>ldap_get_attributes()</B
></A
></P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.ldap-explode-dn.html"
ACCESSKEY="P"
>Înapoi</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Acas&#227;</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="function.ldap-first-entry.html"
ACCESSKEY="N"
>Înainte</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>ldap_explode_dn</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="ref.ldap.html"
ACCESSKEY="U"
>Sus</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>ldap_first_entry</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>