cvs: phpdoc-pl /reference/mail/functions ezmlm-hash.xml

From: Date: Thu, 01 May 2008 11:30:41 +0000
Subject: cvs: phpdoc-pl /reference/mail/functions ezmlm-hash.xml
Groups: php.doc.pl 
Request: Send a blank email to doc-pl+get-1362@lists.php.net to get a copy of this message
adi Thu May 1 11:30:41 2008 UTC Modified files: /phpdoc-pl/reference/mail/functions ezmlm-hash.xml Log: Update http://cvs.php.net/viewvc.cgi/phpdoc-pl/reference/mail/functions/ezmlm-hash.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-pl/reference/mail/functions/ezmlm-hash.xml diff -u phpdoc-pl/reference/mail/functions/ezmlm-hash.xml:1.7 phpdoc-pl/reference/mail/functions/ezmlm-hash.xml:1.8 --- phpdoc-pl/reference/mail/functions/ezmlm-hash.xml:1.7 Sat Jun 23 13:29:33 2007 +++ phpdoc-pl/reference/mail/functions/ezmlm-hash.xml Thu May 1 11:30:41 2008 @@ -1,36 +1,70 @@ <?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.9 Maintainer: qrak Status: ready --> -<!-- $Revision: 1.7 $ --> - <refentry xml:id="function.ezmlm-hash" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>ezmlm_hash</refname> - <refpurpose>Oblicza warto¶æ hash potrzebn± dla EZMLM</refpurpose> - </refnamediv> - <refsect1> - <title>Opis</title> - <methodsynopsis> - <type>int</type><methodname>ezmlm_hash</methodname> - <methodparam><type>string</type><parameter>adres_e-mail</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>ezmlm_hash</function> oblicza warto¶æ hash potrzebn± - przy przechowywaniu list adresatów programu EZMLM w bazie danych MySQL. - </simpara> - <para> - <example> - <title>Obliczenie warto¶ci hash i dodanie nowego u¿ytkownika</title> - <programlisting> +<!-- EN-Revision: 1.19 Maintainer: adi Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- CREDITS: qrak --> +<refentry xml:id="function.ezmlm-hash" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>ezmlm_hash</refname> + <refpurpose>Oblicza warto¶æ hash potrzebn± dla EZMLM</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>ezmlm_hash</methodname> + <methodparam><type>string</type><parameter>adres_e-mail</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>ezmlm_hash</function> oblicza warto¶æ hash potrzebn± + przy przechowywaniu list adresatów programu EZMLM w bazie danych MySQL. + </simpara> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>adres_e-mail</parameter></term> + <listitem> + <para> + Adres email, który zostanie shaszowany. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Warto¶æ hash'a dla <parameter>adres_e-mail</parameter>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + + <para> + <example> + <title>Obliczenie warto¶ci hash i dodanie nowego u¿ytkownika</title> + <programlisting role="php"> <![CDATA[ +<?php + $user = "joecool@example.com"; $hash = ezmlm_hash ($user); $query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $user); $db->query($query); // wykorzystanie interfejsu PHPLIB db + +?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.pl (#1362) next »