mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Rename parameters (doc bug #53560)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308193 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3feacbb644
commit
cc173e00af
1 changed files with 9 additions and 10 deletions
|
@ -10,8 +10,8 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>link</methodname>
|
||||
<methodparam><type>string</type><parameter>from_path</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>to_path</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>target</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>link</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>link</function> creates a hard link.
|
||||
|
@ -23,18 +23,18 @@
|
|||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>from_path</parameter></term>
|
||||
<term><parameter>target</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The link name.
|
||||
Target of the link.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>to_path</parameter></term>
|
||||
<term><parameter>link</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Target of the link.
|
||||
The link name.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -92,11 +92,10 @@
|
|||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$target = 'source.ext'; // This is the file that already exists
|
||||
$link = 'newfile.ext'; // This the filename that you want to link it to
|
||||
|
||||
$from_path = 'source.ext'; // This is the file that already exists
|
||||
$to_path = 'newfile.ext'; // This the filename that you want to link it to
|
||||
|
||||
link($from_path, $to_path);
|
||||
link($target, $link);
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue