From 9413ba3ef1c4b6d2b1ec70391c261ad47b4beb38 Mon Sep 17 00:00:00 2001
From: Nicolas Chaillan <nicos@php.net>
Date: Tue, 6 May 2003 23:51:16 +0000
Subject: [PATCH] Moving to PECL

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126091 c90b9560-bf6c-de11-be94-00142212c4b1
---
 reference/cybermut/configure.xml              |  35 ------
 .../functions/cybermut-creerformulairecm.xml  |  87 ---------------
 .../functions/cybermut-creerreponsecm.xml     |  54 ----------
 .../cybermut/functions/cybermut-testmac.xml   | 100 ------------------
 reference/cybermut/reference.xml              |  64 -----------
 5 files changed, 340 deletions(-)
 delete mode 100644 reference/cybermut/configure.xml
 delete mode 100644 reference/cybermut/functions/cybermut-creerformulairecm.xml
 delete mode 100644 reference/cybermut/functions/cybermut-creerreponsecm.xml
 delete mode 100644 reference/cybermut/functions/cybermut-testmac.xml
 delete mode 100644 reference/cybermut/reference.xml

diff --git a/reference/cybermut/configure.xml b/reference/cybermut/configure.xml
deleted file mode 100644
index 8585090d80..0000000000
--- a/reference/cybermut/configure.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
-<section id="cybermut.installation">
- &reftitle.install;
- <para>
-  These functions are only available if PHP has been compiled with the
-  <option role="configure">--with-cybermut[=DIR]</option> option, where DIR
-  is the location of <filename>libcm-mac.a</filename> and <filename>cm-mac.h
-  </filename>. You will require the appropriate SDK for your platform, which
-  may be sent to you after your CyberMUT's subscription (contact 
-  them via Web, or go to the nearest Cr&eacute;dit Mutuel).
- </para>
- &note.no-windows.extension;
-</section>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/cybermut/functions/cybermut-creerformulairecm.xml b/reference/cybermut/functions/cybermut-creerformulairecm.xml
deleted file mode 100644
index 8fab09d270..0000000000
--- a/reference/cybermut/functions/cybermut-creerformulairecm.xml
+++ /dev/null
@@ -1,87 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- splitted from ./en/functions/cybermut.xml, last change in rev 1.1 -->
-  <refentry id="function.cybermut-creerformulairecm">
-   <refnamediv>
-    <refname>cybermut_creerformulairecm</refname> 
-    <refpurpose>Generate HTML form of request for payment</refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Description</title>
-     <methodsynopsis>
-      <type>string</type><methodname>cybermut_creerformulairecm</methodname>
-      <methodparam><type>string</type><parameter>url_CM</parameter></methodparam>
-      <methodparam><type>string</type><parameter>version</parameter></methodparam>
-      <methodparam><type>string</type><parameter>TPE</parameter></methodparam>
-      <methodparam><type>string</type><parameter>montant</parameter></methodparam>
-      <methodparam><type>string</type><parameter>ref_commande</parameter></methodparam>
-      <methodparam><type>string</type><parameter>texte_libre</parameter></methodparam>
-      <methodparam><type>string</type><parameter>url_retour</parameter></methodparam>
-      <methodparam><type>string</type><parameter>url_retour_ok</parameter></methodparam>
-      <methodparam><type>string</type><parameter>url_retour_err</parameter></methodparam>
-      <methodparam><type>string</type><parameter>langue</parameter></methodparam>
-      <methodparam><type>string</type><parameter>code_societe</parameter></methodparam>
-      <methodparam><type>string</type><parameter>texte_bouton</parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     <function>cybermut_creerformulairecm</function> is used to generate the
-     HTML form of request for payment.
-    </para>
-    <example>
-     <title>First step of payment (equiv cgi1.c)</title>
-     <programlisting role="php">
-<![CDATA[
-<?php
-// Directory where the keys are located
-putenv("CMKEYDIR=/var/creditmut/cles");
- 
-// Version number
-$VERSION="1.2";
-
-  $retour =  cybermut_creerformulairecm(
-  "https://www.creditmutuel.fr/test/telepaiement/paiement.cgi",
-  $VERSION,
-  "1234567890",
-  "300FRF",
-  $REFERENCE,
-  $TEXTE_LIBRE,
-  $URL_RETOUR,
-  $URL_RETOUR_OK,
-  $URL_RETOUR_ERR,
-  "francais",
-  "company",
-  "Paiement par carte bancaire");
- 
-  echo $retour;                                                               
-?>
-]]>
-     </programlisting>
-    </example>
-    <para> 
-     See also 
-     <function>cybermut_testmac</function> and 
-     <function>cybermut_creerreponsecm</function>.
-    </para>
-   </refsect1>
-  </refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/cybermut/functions/cybermut-creerreponsecm.xml b/reference/cybermut/functions/cybermut-creerreponsecm.xml
deleted file mode 100644
index 99dfd005db..0000000000
--- a/reference/cybermut/functions/cybermut-creerreponsecm.xml
+++ /dev/null
@@ -1,54 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
-<!-- splitted from ./en/functions/cybermut.xml, last change in rev 1.1 -->
-  <refentry id="function.cybermut-creerreponsecm">
-   <refnamediv>
-    <refname>cybermut_creerreponsecm</refname>
-    <refpurpose>
-     Generate the acknowledgement of delivery of the confirmation
-     of payment
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Description</title>
-     <methodsynopsis>
-      <type>string</type><methodname>cybermut_creerreponsecm</methodname>
-      <methodparam><type>string</type><parameter>phrase</parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     <function>cybermut_creerreponsecm</function> returns a string containing 
-     delivery acknowledgement message.
-    </para>
-    <para>
-     The parameter is "OK" if the message of confirmation of the payment
-     was correctly identified by <function>cybermut_testmac</function>.
-     Any other chain is regarded as an error message.
-    </para>
-    <para> 
-     See also 
-     <function>cybermut_creerformulairecm</function> and
-     <function>cybermut_testmac</function>.
-    </para>
-   </refsect1>
-  </refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/cybermut/functions/cybermut-testmac.xml b/reference/cybermut/functions/cybermut-testmac.xml
deleted file mode 100644
index 38449f1994..0000000000
--- a/reference/cybermut/functions/cybermut-testmac.xml
+++ /dev/null
@@ -1,100 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
-<!-- splitted from ./en/functions/cybermut.xml, last change in rev 1.1 -->
-  <refentry id="function.cybermut-testmac">
-   <refnamediv>
-    <refname>cybermut_testmac</refname> 
-    <refpurpose>
-     Make sure that there no was data diddling contained
-     in the received message of confirmation 
-    </refpurpose>
-   </refnamediv>
-   <refsect1>
-    <title>Description</title>
-     <methodsynopsis>
-      <type>bool</type><methodname>cybermut_testmac</methodname>
-      <methodparam><type>string</type><parameter>code_MAC</parameter></methodparam>
-      <methodparam><type>string</type><parameter>version</parameter></methodparam>
-      <methodparam><type>string</type><parameter>TPE</parameter></methodparam>
-      <methodparam><type>string</type><parameter>cdate</parameter></methodparam>
-      <methodparam><type>string</type><parameter>montant</parameter></methodparam>
-      <methodparam><type>string</type><parameter>ref_commande</parameter></methodparam>
-      <methodparam><type>string</type><parameter>texte_libre</parameter></methodparam>
-      <methodparam><type>string</type><parameter>code-retour</parameter></methodparam>
-     </methodsynopsis>
-    <para>
-     <function>cybermut_testmac</function> is used to make sure that there was 
-     not data diddling contained in the received message of confirmation.
-     Pay attention to parameters <parameter>code-retour</parameter> and
-     <parameter>texte-libre</parameter>, which cannot be evaluated as is,
-     because of the dash. You must retrieve them by using:
-     <programlisting role="php">
-<![CDATA[
-<?php
-  $code_retour = $_GET["code-retour"];
-  $texte_libre = $_GET["texte-libre"];
-?>
-]]>
-     </programlisting>                                   
-    </para>
-    <example>
-     <title>Last step of payment (equiv cgi2.c)</title>
-     <programlisting role="php">
-<![CDATA[
-<?php
-// Make sure that Enable Track Vars is ON.
-// Directory where are located the keys
-putenv("CMKEYDIR=/var/creditmut/cles");
- 
-// Version number
-$VERSION="1.2";
-
-$texte_libre = $_GET["texte-libre"];
-$code_retour = $_GET["code-retour"];                                     
-
-$mac_ok = cybermut_testmac($MAC,$VERSION,$TPE,$date,$montant,$reference,$texte_libre,$code_retour);
-
-if ($mac_ok) {
-
-  //
-  // insert data processing here
-  //
-  //
-
-  $result=cybermut_creerreponsecm("OK");
-} else {
-  $result=cybermut_creerreponsecm("Document Falsifie");
-}
- 
-?>
-]]>
-     </programlisting>
-    </example>
-    <para> 
-     See also 
-     <function>cybermut_creerformulairecm</function> and
-     <function>cybermut_creerreponsecm</function>.
-    </para>
-   </refsect1>
-  </refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->
diff --git a/reference/cybermut/reference.xml b/reference/cybermut/reference.xml
deleted file mode 100644
index a819c1792f..0000000000
--- a/reference/cybermut/reference.xml
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
- <reference id="ref.cybermut">
-  <title>Cr&eacute;dit Mutuel CyberMUT functions</title>
-  <titleabbrev>CyberMUT</titleabbrev>
-  <partintro>
-   <section id="cybermut.intro">
-    &reftitle.intro;
-    <para>
-     This extension allows you to process credit cards transactions using Cr&eacute;dit 
-     Mutuel CyberMUT system (<ulink url="&url.cybermut;">&url.cybermut;</ulink>).
-    </para> 
-    <para>
-     CyberMUT is a popular Web Payment Service in France, provided by the
-     Cr&eacute;dit Mutuel bank. If you are foreign in France, these functions will not
-     be useful for you.
-    </para>
-    <simpara>
-     The use of these functions is almost identical to the original SDK functions,
-     except for the parameters of return for <function>cybermut_creerformulairecm</function>
-     and <function>cybermut_creerreponsecm</function>,
-     which are returned directly by functions PHP, whereas they had passed in
-     reference in the original functions. 
-    </simpara>
-    <simpara>
-     These functions have been added in PHP 4.0.6.
-    </simpara>
-    <note>
-     <para>
-      These functions only provide a link to CyberMUT SDK. Be sure to read the
-      CyberMUT Developers Guide for full details of the required parameters.
-     </para>
-    </note>
-   </section>
-
-   &reference.cybermut.configure;
-
-  </partintro>
-  
-
-&reference.cybermut.functions;
-
- </reference>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:1
-sgml-indent-data:t
-indent-tabs-mode:nil
-sgml-parent-document:nil
-sgml-default-dtd-file:"../../../manual.ced"
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
-vim600: syn=xml fen fdm=syntax fdl=2 si
-vim: et tw=78 syn=sgml
-vi: ts=1 sw=1
--->