svn: /phpdoc/es/trunk/reference/phar/ Phar/addEmptyDir.xml Phar/addFile.xml PharData/addEmptyDir.xml PharData/addFile.xml
| From: | Pedro Antonio Gil Rodríguez | Date: | Mon, 14 Nov 2011 05:30:16 +0000 |
| Subject: | svn: /phpdoc/es/trunk/reference/phar/ Phar/addEmptyDir.xml Phar/addFile.xml PharData/addEmptyDir.xml PharData/addFile.xml | ||
| Groups: | php.doc.es | ||
| Request: | Send a blank email to doc-es+get-5244@lists.php.net to get a copy of this message | ||
seros Mon, 14 Nov 2011 05:30:16 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319147
Log:
Correcciones menores
Changed paths:
U phpdoc/es/trunk/reference/phar/Phar/addEmptyDir.xml
U phpdoc/es/trunk/reference/phar/Phar/addFile.xml
U phpdoc/es/trunk/reference/phar/PharData/addEmptyDir.xml
U phpdoc/es/trunk/reference/phar/PharData/addFile.xml
Modified: phpdoc/es/trunk/reference/phar/Phar/addEmptyDir.xml
===================================================================
--- phpdoc/es/trunk/reference/phar/Phar/addEmptyDir.xml 2011-11-14 05:23:21 UTC (rev 319146)
+++ phpdoc/es/trunk/reference/phar/Phar/addEmptyDir.xml 2011-11-14 05:30:16 UTC (rev 319147)
@@ -55,9 +55,9 @@
try {
$a = new Phar('/ruta/a/phar.phar');
- $a->addEmptyDir('/ruta/comleta/a/fichero');
+ $a->addEmptyDir('/ruta/completa/a/fichero');
// demuestra cómo se almacena este fichero
- $b = $a['ruta/comleta/a/fichero']->isDir();
+ $b = $a['ruta/completa/a/fichero']->isDir();
} catch (Exception $e) {
// manejar los errores aquí
}
Modified: phpdoc/es/trunk/reference/phar/Phar/addFile.xml
===================================================================
--- phpdoc/es/trunk/reference/phar/Phar/addFile.xml 2011-11-14 05:23:21 UTC (rev 319146)
+++ phpdoc/es/trunk/reference/phar/Phar/addFile.xml 2011-11-14 05:30:16 UTC (rev 319147)
@@ -69,11 +69,11 @@
try {
$a = new Phar('/ruta/a/phar.phar');
- $a->addFile('/ruta/comleta/a/fichero');
+ $a->addFile('/ruta/completa/a/fichero');
// demuestra cómo se almacena este fichero
- $b = $a['ruta/comleta/a/fichero']->getContent();
+ $b = $a['ruta/completa/a/fichero']->getContent();
- $a->addFile('/ruta/comleta/a/fichero', 'mi/fichero.txt');
+ $a->addFile('/ruta/completa/a/fichero', 'mi/fichero.txt');
$c = $a['mi/fichero.txt']->getContent();
// demostrar el uso de una URL
Modified: phpdoc/es/trunk/reference/phar/PharData/addEmptyDir.xml
===================================================================
--- phpdoc/es/trunk/reference/phar/PharData/addEmptyDir.xml 2011-11-14 05:23:21 UTC (rev 319146)
+++ phpdoc/es/trunk/reference/phar/PharData/addEmptyDir.xml 2011-11-14 05:30:16 UTC (rev 319147)
@@ -54,9 +54,9 @@
try {
$a = new PharData('/ruta/a/phar.phar');
- $a->addEmptyDir('/ruta/comleta/a/fichero');
+ $a->addEmptyDir('/ruta/completa/a/fichero');
// demuestra cómo se almacena este fichero
- $b = $a['ruta/comleta/a/fichero']->isDir();
+ $b = $a['ruta/completa/a/fichero']->isDir();
} catch (Exception $e) {
// manejar los errores aquí
}
Modified: phpdoc/es/trunk/reference/phar/PharData/addFile.xml
===================================================================
--- phpdoc/es/trunk/reference/phar/PharData/addFile.xml 2011-11-14 05:23:21 UTC (rev 319146)
+++ phpdoc/es/trunk/reference/phar/PharData/addFile.xml 2011-11-14 05:30:16 UTC (rev 319147)
@@ -68,11 +68,11 @@
try {
$a = new PharData('/ruta/a/phar.phar');
- $a->addFile('/ruta/comleta/a/fichero');
+ $a->addFile('/ruta/completa/a/fichero');
// demuestra cómo se almacena este fichero
- $b = $a['ruta/comleta/a/fichero']->getContent();
+ $b = $a['ruta/completa/a/fichero']->getContent();
- $a->addFile('/ruta/comleta/a/fichero', 'mi/fichero.txt');
+ $a->addFile('/ruta/completa/a/fichero', 'mi/fichero.txt');
$c = $a['mi/fichero.txt']->getContent();
// demostrar el uso de una URL