svn: /phpdoc/ru/trunk/reference/filesystem/functions/ is-file.xml

From: Date: Sat, 05 Mar 2011 08:07:58 +0000
Subject: svn: /phpdoc/ru/trunk/reference/filesystem/functions/ is-file.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-1492@lists.php.net to get a copy of this message
shein Sat, 05 Mar 2011 08:07:58 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=308939 Log: Updated translation. Changed paths: U phpdoc/ru/trunk/reference/filesystem/functions/is-file.xml Modified: phpdoc/ru/trunk/reference/filesystem/functions/is-file.xml =================================================================== --- phpdoc/ru/trunk/reference/filesystem/functions/is-file.xml 2011-03-05 08:01:01 UTC (rev 308938) +++ phpdoc/ru/trunk/reference/filesystem/functions/is-file.xml 2011-03-05 08:07:58 UTC (rev 308939) @@ -1,33 +1,95 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: n/a Maintainer: freespace Status: ready --> +<!-- EN-Revision: 306338 Maintainer: shein Status: ready --> +<!-- Reviewed: no --> <!-- $Revision$ --> -<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> - <refentry xml:id="function.is-file" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>is_file</refname> - <refpurpose>Определяет, является ли файл обычным файлом</refpurpose> - </refnamediv> - <refsect1> - <title>Описание</title> - <methodsynopsis> - <type>bool</type><methodname>is_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - Возвращает &true;, если файл существует и является обычным файлом. - </para> +<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.is-file"> + <refnamediv> + <refname>is_file</refname> + <refpurpose>Определяет, является ли файл обычным файлом</refpurpose> + </refnamediv> - &note.clearstatcache; - - &tip.fopen-wrapper.stat; + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Определяет, является ли файл обычным файлом. + </para> + </refsect1> - <para> - См. также описание функций <function>is_dir</function> и - <function>is_link</function>. - </para> - </refsect1> - </refentry> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Путь к файлу. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Возвращает &true;, если файл существует и является обычным файлом, + иначе возвращается &false;. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Пример использования <function>is_file</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +var_dump(is_file('a_file.txt')) . "\n"; +var_dump(is_file('/usr/bin/')) . "\n"; +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +bool(true) +bool(false) +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; + &fs.emits.warning.on.failure; + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + &note.clearstatcache; + &tip.fopen-wrapper.stat; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>is_dir</function></member> + <member><function>is_link</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -39,7 +101,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 (#1492) next »