mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-23 00:28:03 +02:00
71c7690f99
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@273254 c90b9560-bf6c-de11-be94-00142212c4b1
92 lines
2.3 KiB
XML
92 lines
2.3 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.9 $ -->
|
|
<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
|
|
<refentry xml:id="function.rename-function" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>rename_function</refname>
|
|
<refpurpose>Renomme une fonction intégrée dans la table des fonctions globales</refpurpose>
|
|
</refnamediv>
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>rename_function</methodname>
|
|
<methodparam><type>string</type><parameter>original_name</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>new_name</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>rename_function</function> renomme une fonction intégrée
|
|
dans la table des fonctions globales. Utile pour surcharger temporairement
|
|
une fonction intégrée.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>original_name</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Le nom original de la fonction.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>new_name</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Le nouveau nom pour la fonction <parameter>original_name</parameter>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
&return.success;
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title>Exemple avec <function>rename_function</function></title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
rename_function('mysql_connect', 'debug_mysql_connect' );
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
</example>
|
|
</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
|
|
--> |