cvs: phpdoc-hu /reference/filesystem/functions dirname.xml mkdir.xml rmdir.xml

[email protected] ("Lajos Cseppent?")
Newsgroups php.doc.hu
Message-ID <cvschappy1170090415@cvsserver>
chappy		Mon Jan 29 17:06:55 2007 UTC

  Added files:                 
    /phpdoc-hu/reference/filesystem/functions	dirname.xml mkdir.xml 
                                             	rmdir.xml 
  Log:
  sync
chappy-20070129170655.txt (text/plain, 8.3 KB)
http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/dirname.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/dirname.xml
+++ phpdoc-hu/reference/filesystem/functions/dirname.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.9 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.dirname">
   <refnamediv>
    <refname>dirname</refname>
    <refpurpose>A könyvtárnév komponenst adja vissza az elérési útból</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>string</type><methodname>dirname</methodname>
      <methodparam><type>string</type><parameter>path</parameter></methodparam>
     </methodsynopsis>
    <para>
     A megadott karakterlánc tartalmazza a fájl elérési útvonalát.
	 Ez a függvény visszaadja a könyvtár nevét.
    </para>
    <para>
     Windows alatt a perjel (<literal>/</literal>) és a fordított perjel 
     (<literal>\</literal>) is használható könyvtárelválasztó karakterként.
     Más környezetekben, csak a sima perjel 
     (<literal>/</literal>) használható.
    </para>
    <para>
     <example>
      <title><function>dirname</function> példa</title>
      <programlisting role="php">
<![CDATA[
<?php
$path = "/etc/passwd";
$file = dirname($path); // $file értéke "/etc"
?>
]]>
      </programlisting>
     </example>
    </para>
    <note>
     <para>
      A PHP 4.0.3-ban a <function>dirname</function> függvény 
      POSIX-szolgálatkész lett. Alapvetõen ez azt jelenti, hogy ha nincs 
      perjel a <parameter>path</parameter> paraméterben, egy pontot 
      ('<literal>.</literal>') ad vissza, utalva a jelenlegi 
      könyvtárra. Máskülönben, a visszaadott karakterlánc a 
      <parameter>path</parameter> paraméter, ami nem tartalmazza az utolsó
      <literal>/komponenst</literal>. Ez azt jelenti, 
      hogy gyakran fog <function>dirname</function> függvénytõl
	  egy perjelet vagy pontot visszaadni, ahol a függvény
      régebbi változata üres karakterlánccal tért volna vissza.
     </para>
    </note>
    <para>
     A <function>dirname</function> függvénynek megváltozott a mûködése a PHP 4.3.0-ban.
     Lásd a következõ példát:
     <informalexample>
      <programlisting role="php">
<![CDATA[
<?php

//PHP 4.3.0 elõtt
dirname('c:/'); // '.'

//PHP 4.3.0 után
dirname('c:/'); // 'c:'

?>
]]>
      </programlisting>
     </informalexample>
    </para>
    <para>
     A <function>dirname</function> függvény binary safe a PHP 5.0.0 óta.
    </para>
    <para>
     Lásd még: <function>basename</function>, <function>pathinfo</function>, 
     és <function>realpath</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
-->

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/mkdir.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/mkdir.xml
+++ phpdoc-hu/reference/filesystem/functions/mkdir.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.17 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.39 -->
  <refentry id="function.mkdir">
   <refnamediv>
    <refname>mkdir</refname>
    <refpurpose>Könyvtárat hoz létre</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
     <methodsynopsis>
      <type>bool</type><methodname>mkdir</methodname>
      <methodparam><type>string</type><parameter>pathname</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam>
      <methodparam choice="opt"><type>bool</type><parameter>recursive</parameter></methodparam>
      <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
     </methodsynopsis>
    <para>
     Megpróbál könyvtárat létrehozni a megadott helyen.
    </para>
    <para>
     valószínûleg oktális számként akarod megadni a <parameter>mode</parameter> paramétert. 
	 Ez azt jelenti, hogy a számot nullával kell kezdeni. 
     Ezt a paraméter módosíthatja a jelenlegi umask, amit
     a <function>umask</function> függvénnyel változtathatsz meg.
    </para>
    <para>
     <note>
      <para>
       A <parameter>mode</parameter> paraméter nem szerepel Windows alatt, és a PHP 4.2.0 óta opcinális.
      </para>
     </note>
    </para>
    <para>
     The mode is 0777 by default, which means the widest possible
     access. For more information on modes, read the details
     on the <function>chmod</function> page.
     <example>
     <title><function>mkdir</function> példa</title>
      <programlisting role="php">
<![CDATA[
<?php
mkdir("/path/to/my/dir", 0700);
?>
]]>
      </programlisting>
     </example>
    </para>
    <para>
     &return.success;
    </para>
    <note>
     <simpara>
      A PHP 5.0.0-tól a <function>mkdir</function> függvény
      használható <emphasis>néhány</emphasis> URL burkolóval. Lásd az <xref linkend="wrappers"/>-ben
      az <function>unlink</function> függvényt támogató burkolókat.
     </simpara>
    </note>
    &note.context-support;
    <note>
     <simpara>
      A <parameter>recursive</parameter> paraméter a PHP 5.0.0-ba került a nyelvbe.
     </simpara>
    </note>
    &note.sm.uidcheck.dir;
    <para>
     Lásd még: <function>rmdir</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
-->

http://cvs.php.net/viewvc.cgi/phpdoc-hu/reference/filesystem/functions/rmdir.xml?view=markup&rev=1.1
Index: phpdoc-hu/reference/filesystem/functions/rmdir.xml
+++ phpdoc-hu/reference/filesystem/functions/rmdir.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- EN-Revision: 1.9 Maintainer: chappy Status: ready -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
  <refentry id="function.rmdir">
   <refnamediv>
    <refname>rmdir</refname>
    <refpurpose>Töröl egy könyvtárat</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Leírás</title>
    <methodsynopsis>
     <type>bool</type><methodname>rmdir</methodname>
     <methodparam><type>string</type><parameter>dirname</parameter></methodparam>
     <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam>
    </methodsynopsis>
    <para> 
     Megpróbálja kitörölni a <parameter>dirname</parameter> paraméterben megadott könyvtárat.
     A könyvtárnak üresnek kell lennie, és az idevágó engedélyeknek meg kell lennie.
     &return.success;
    </para> 
    <note>
     <simpara>
      A PHP 5.0.0-tól a <function>rmdir</function> függvény
      használható <emphasis>néhány</emphasis> URL burkolóval. Lásd az <xref linkend="wrappers"/>-ben
      az <function>unlink</function> függvényt támogató burkolókat.
     </simpara>
    </note>
    &note.context-support;
    &note.sm.uidcheck.dir;
    <para>
     Lásd még: <function>mkdir</function> és <function>unlink</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
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.