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

From: Date: Tue, 01 Apr 2008 08:16:21 +0000
Subject: cvs: phpdoc-ro /reference/mail/functions ezmlm-hash.xml
Groups: php.doc.ro 
Request: Send a blank email to doc-ro+get-391@lists.php.net to get a copy of this message
simionea Tue Apr 1 08:16:21 2008 UTC Modified files: /phpdoc-ro/reference/mail/functions ezmlm-hash.xml Log: Updated the file. http://cvs.php.net/viewvc.cgi/phpdoc-ro/reference/mail/functions/ezmlm-hash.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-ro/reference/mail/functions/ezmlm-hash.xml diff -u phpdoc-ro/reference/mail/functions/ezmlm-hash.xml:1.3 phpdoc-ro/reference/mail/functions/ezmlm-hash.xml:1.4 --- phpdoc-ro/reference/mail/functions/ezmlm-hash.xml:1.3 Tue Sep 18 13:52:30 2007 +++ phpdoc-ro/reference/mail/functions/ezmlm-hash.xml Tue Apr 1 08:16:21 2008 @@ -1,36 +1,70 @@ -<?xml version="1.0" encoding="iso-8859-2"?> -<!-- EN-Revision: 1.0 Maintainer: adiju Status: outdated --> -<!-- splitted from ./ro/functions/mail.xml, last change in rev 1.1 --> -<!-- last change to 'ezmlm-hash' in en/ tree in rev 1.4 --> - <refentry xml:id="function.ezmlm-hash" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>ezmlm_hash</refname> - <refpurpose>Calculeazã valoarea hash cerutã de EZMLM</refpurpose> - </refnamediv> - <refsect1> - <title>Descriere</title> - <methodsynopsis> - <type>int</type><methodname>ezmlm_hash</methodname> - <methodparam><type>string</type><parameter>addr</parameter></methodparam> - </methodsynopsis> - <simpara> - <function>ezmlm_hash</function> calculeazã valoarea hash necesarã pentru pãstrarea listelor de e-mail EZMLM într-o bazã de date MySQL. - </simpara> - <para> - <example> - <title>Calcularea valorii hash ºi adãugarea unui utilizator nou.</title> - <programlisting> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.19 Maintainer: simionea Status: translated --> +<!-- CREDITS: adiju --> +<!-- splitted from ./en/functions/mail.xml, last change in rev 1.6 --> +<refentry xml:id="function.ezmlm-hash" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>ezmlm_hash</refname> + <refpurpose>Calculează valoarea hash necesară EZMLM</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>ezmlm_hash</methodname> + <methodparam><type>string</type><parameter>addr</parameter></methodparam> + </methodsynopsis> + <simpara> + <function>ezmlm_hash</function> calculează valoarea hash necesară + pentru menÅ£inerea listelor poştale EZMLM într-o bază de date MySQL. + </simpara> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>addr</parameter></term> + <listitem> + <para> + Adresa email asupra căreia se aplică funcÅ£ia hash. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Valoarea hash a <parameter>addr</parameter>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Calcularea hash-ului şi înscrierea în listă a unui utilizator</title> + <programlisting role="php"> <![CDATA[ -$utilizator = "joecool@example.com"; -$hash = ezmlm_hash ($user); -$query = sprintf ("INSERT INTO sample VALUES (%s, '%s')", $hash, $utilizator); -$db->query($query); // utilizând interfaþa db a PHPLIB +<?php + +$user = "joecool@example.com"; +$hash = ezmlm_hash($user); +$query = sprintf("INSERT INTO sample VALUES (%s, '%s')", $hash, $user); +$db->query($query); // using PHPLIB db interface + +?> ]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:

« previous php.doc.ro (#391) next »