svn: /phpdoc/ru/trunk/reference/filesystem/functions/ link.xml

From: Date: Tue, 01 Mar 2011 10:09:10 +0000
Subject: svn: /phpdoc/ru/trunk/reference/filesystem/functions/ link.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-1474@lists.php.net to get a copy of this message
shein Tue, 01 Mar 2011 10:09:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308806 Log: Updated translation. Changed paths: U phpdoc/ru/trunk/reference/filesystem/functions/link.xml Modified: phpdoc/ru/trunk/reference/filesystem/functions/link.xml =================================================================== --- phpdoc/ru/trunk/reference/filesystem/functions/link.xml 2011-03-01 09:53:08 UTC (rev 308805) +++ phpdoc/ru/trunk/reference/filesystem/functions/link.xml 2011-03-01 10:09:10 UTC (rev 308806) @@ -1,34 +1,128 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: n/a Maintainer: freespace Status: ready --> +<!-- EN-Revision: 308193 Maintainer: shein Status: ready --> +<!-- Reviewed: no --> <!-- $Revision$ --> -<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> - <refentry xml:id="function.link" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>link</refname> - <refpurpose>Создаёт жёсткую ссылку</refpurpose> - </refnamediv> - <refsect1> - <title>Описание</title> - <methodsynopsis> - <type>bool</type><methodname>link</methodname> - <methodparam><type>string</type><parameter>target</parameter></methodparam> - <methodparam><type>string</type><parameter>link</parameter></methodparam> - </methodsynopsis> - <para> - <function>link</function> создаёт жесткую ссылку. &return.success; - </para> - - &note.no-remote; - &note.no-windows; +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.link"> + <refnamediv> + <refname>link</refname> + <refpurpose>Создаёт жёсткую ссылку</refpurpose> + </refnamediv> - <para> - См. также описание функции <function>symlink</function> для создания - мягких ссылок, а также <function>readlink</function> и - <function>linkinfo</function>. - </para> - </refsect1> - </refentry> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>link</methodname> + <methodparam><type>string</type><parameter>target</parameter></methodparam> + <methodparam><type>string</type><parameter>link</parameter></methodparam> + </methodsynopsis> + <para> + <function>link</function> создаёт жесткую ссылку. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>target</parameter></term> + <listitem> + <para> + Цель ссылки. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>link</parameter></term> + <listitem> + <para> + Имя ссылки. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <simpara> + Только для Windows: Для данной функции необходимо, чтобы PHP + был запущен в привилегированном режиме или с отключенным UAC. + </simpara> + </note> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.3.0</entry> + <entry> + Эта функция стала доступна на Windows системах (Vista, Server + 2008 и выше). + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Создание простой жесткой ссылки</title> + <programlisting role="php"> +<![CDATA[ +<?php +$target = 'source.ext'; // Это уже существующий файл +$link = 'newfile.ext'; // Это файл, который вы хотите привязать к первому + +link($target, $link); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + &note.no-remote; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>symlink</function></member> + <member><function>readlink</function></member> + <member><function>linkinfo</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -40,7 +134,7 @@ sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil -sgml-default-dtd-file:"../~/.phpdoc/manual.ced" +sgml-default-dtd-file:"~/.phpdoc/manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil

« previous php.doc.ru (#1474) next »