Re: ext/zip, initial documentation

From: Date: Thu, 10 Aug 2006 22:55:42 +0000
Subject: Re: ext/zip, initial documentation
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969373704@lists.php.net to get a copy of this message
Hello, On Thu, 10 Aug 2006 23:37:37 +0100 nlopess@php.net ("Nuno Lopes") wrote: > OK, so here it goes: > * again, no tabs allowed > * the "<!-- splitted from ./en/functions/zip.xml, last change in rev > 1.11 -->" comment should be removed from the new files. it is there > on old files to help translators. it doesn't have any mean on new > files. > * use the &return.success; entity when possible > * use the &true; and &false; entities for PHP boolean values > * mark the constants as <constant>, not as <literal> Ah ok, I copied from PDO. I will fix all these issues and update the files. > non doc related: why doesn't the ZipArchive class have a constructor > that accept a filename as argument, so that we could write: > $zip = new ZipArchive('test.zip'); > $zip->deleteName(...); Because I will never implement exception for such basic things, which require only some basic flow controls :) Thanks :) Cheers, -- Pierre

« previous php.doc (#969373704) next »