ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> phpdoc
phpdoc
[PHP-DOC] cvs: phpdoc /it Translators /it/functions dir.xml
by Simone Cortesi other posts by this author
Nov 29 2001 12:07AM messages near this date
[PHP-DOC] cvs: phpdoc /it/functions mssql.xml | [PHP-DOC] cvs: phpdoc /en/functions session.xml
cortesi		Wed Nov 28 19:07:37 2001 EDT
 
   Modified files:              
     /phpdoc/it	Translators 
     /phpdoc/it/functions	dir.xml 
   Log:
   update in sync with EN
   
   
 Index: phpdoc/it/Translators
 diff -u phpdoc/it/Translators:1.97 phpdoc/it/Translators:1.98
 --- phpdoc/it/Translators:1.97	Sun Nov 25 10:43:12 2001
 +++ phpdoc/it/Translators	Wed Nov 28 19:07:37 2001
 @@ -96,7 +96,7 @@
  dbm.xml
  dbplus.xml
  dbx.xml
 -dir.xml				cortesi		T1.23
 +dir.xml				cortesi		T1.26
  domxml.xml
  errorfunc.xml
  exec.xml		
 @@ -132,10 +132,10 @@
  misc.xml			
  mnogosearch.xml
  msql.xml
 -mssql.xml			darvin		T1.15
 +mssql.xml			darvin		T1.22
  mysql.xml			damico		A1.75
  network.xml			valente		A1.44
 -nis,xml
 +nis.xml
  oci8.xml			cucinato	T1.36
  openssl.xml
  oracle.xml			cucinato	T1.24
 Index: phpdoc/it/functions/dir.xml
 diff -u phpdoc/it/functions/dir.xml:1.9 phpdoc/it/functions/dir.xml:1.10
 --- phpdoc/it/functions/dir.xml:1.9	Sat Nov 10 16:50:02 2001
 +++ phpdoc/it/functions/dir.xml	Wed Nov 28 19:07:37 2001
 @@ -1,5 +1,5 @@
  <?xml version="1.0" encoding="iso-8859-1"?> 
 -<!-- EN-Revision: 1.23 Maintainer: cortesi  Status: ready --> 
 +<!-- EN-Revision: 1.26 Maintainer: cortesi  Status: ready --> 
   <reference id="ref.dir"> 
    <title> Funzioni per le directory</title>
    <titleabbrev> Directory</titleabbrev>
 @@ -90,6 +90,7 @@
       <example> 
        <title> esempio <function>dir</function></title>
        <programlisting role="php"> 
 +<![CDATA[
  $d = dir("/etc");
  echo "Handle: ".$d-> handle."&lt;br>\n";
  echo "Path: ".$d-> path."&lt;br>\n";
 @@ -97,6 +98,7 @@
      echo $entry."&lt;br> \n";
  }
  $d-> close();
 +]]> 
        </programlisting> 
       </example> 
      </para> 
 @@ -106,7 +108,7 @@
    <refentry id="function.closedir"> 
     <refnamediv> 
      <refname> closedir</refname>
 -    <refpurpose> chiude l'handle della directoty</refpurpose>
 +    <refpurpose> chiude l'handle della directory</refpurpose>
     </refnamediv> 
     <refsect1> 
      <title> Descrizione</title>
 @@ -173,7 +175,8 @@
       <example> 
        <title> esempio <function>opendir</function></title>
        <programlisting role="php"> 
 -&lt;?php
 +<![CDATA[
 +<?php
  
  if ($dir = @opendir("/tmp")) {
    while (($file = readdir($dir)) !== false) { 
 @@ -182,7 +185,8 @@
    closedir($dir);
  }
  
 -?&gt;
 +?> 
 +]]> 
        </programlisting> 
       </example> 
      </para> 
 @@ -208,8 +212,9 @@
       <example> 
        <title> Elenca tutti i file presenti nella directory in uso</title>
        <programlisting role="php"> 
 -// Nota che l'operatore !== non &egrave; esistito fino alla versione 4.0.0-RC2
 -&lt;?php
 +<![CDATA[
 +// Nota che l'operatore !== non è esistito fino alla versione 4.0.0-RC2
 +<?php
  $handle=opendir('.');
  echo "Handle della directory: $handle\n";
  echo "File:\n";
 @@ -217,13 +222,15 @@
      echo "$file\n";
  }
  closedir($handle); 
 -?&gt;
 +?> 
 +]]> 
        </programlisting> 
       </example> 
      </para> 
      <para> 
 -     Nota che <function> readdir</function> restituir&agrave; le voci <literal>.</literal> 
 -     e <literal> ..</literal>. Se non si vogliono ottenere queste, si possono semplicemente
 
 +     Nota che <function> readdir</function> restituirà le voci <literal>.</literal> 
 +     e 
 +     <literal> ..</literal>. Se non si vogliono ottenere queste, si possono semplicemente 
       eliminare:
       <example> 
        <title> 
 @@ -231,15 +238,17 @@
         e <literal> ..</literal>
        </title> 
        <programlisting role="php"> 
 -&lt;?php 
 +<![CDATA[
 +<?php 
  $handle = opendir('.'); 
  while (false !== ($file = readdir($handle))) { 
 -    if ($file != "." &amp;&amp; $file != "..") { 
 +    if ($file != "." && $file != "..") { 
          echo "$file\n"; 
      } 
  }
  closedir($handle); 
 -?&gt;
 +?> 
 +]]> 
        </programlisting> 
       </example> 
      </para> 
 
 

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved