svn: /phpdoc/en/trunk/reference/phar/ Phar/buildFromDirectory.xml Phar/buildFromIterator.xml PharData/buildFromIterator.xml
| From: | Peter Cowburn | Date: | Sat, 30 Apr 2011 12:22:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/phar/ Phar/buildFromDirectory.xml Phar/buildFromIterator.xml PharData/buildFromIterator.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8044@lists.php.net to get a copy of this message | ||
salathe Sat, 30 Apr 2011 12:22:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310657
Log:
createDefaultWebStub doesnt exist (doc #54475)
Bug: http://bugs.php.net/54475 (Open) createDefaultWebStub
doesnt exists
Changed paths:
U phpdoc/en/trunk/reference/phar/Phar/buildFromDirectory.xml
U phpdoc/en/trunk/reference/phar/Phar/buildFromIterator.xml
U phpdoc/en/trunk/reference/phar/PharData/buildFromIterator.xml
Modified: phpdoc/en/trunk/reference/phar/Phar/buildFromDirectory.xml
===================================================================
--- phpdoc/en/trunk/reference/phar/Phar/buildFromDirectory.xml 2011-04-30 11:46:19 UTC (rev 310656)
+++ phpdoc/en/trunk/reference/phar/Phar/buildFromDirectory.xml 2011-04-30 12:22:15 UTC (rev 310657)
@@ -83,12 +83,12 @@
$phar = new Phar('project.phar', 0, 'project.phar');
// add all files in the project
$phar->buildFromDirectory(dirname(__FILE__) . '/project');
-$phar->setStub($phar->createDefaultWebStub('cli/index.php',
'www/index.php'));
+$phar->setStub($phar->createDefaultStub('cli/index.php',
'www/index.php'));
$phar2 = new Phar('project2.phar', 0, 'project2.phar');
// add all files in the project, only include php files
-$phar->buildFromDirectory(dirname(__FILE__) . '/project', '/\.php$/');
-$phar->setStub($phar->createDefaultWebStub('cli/index.php',
'www/index.php'));
+$phar2->buildFromDirectory(dirname(__FILE__) . '/project', '/\.php$/');
+$phar2->setStub($phar->createDefaultStub('cli/index.php',
'www/index.php'));
?>
]]>
</programlisting>
Modified: phpdoc/en/trunk/reference/phar/Phar/buildFromIterator.xml
===================================================================
--- phpdoc/en/trunk/reference/phar/Phar/buildFromIterator.xml 2011-04-30 11:46:19 UTC (rev 310656)
+++ phpdoc/en/trunk/reference/phar/Phar/buildFromIterator.xml 2011-04-30 12:22:15 UTC (rev 310657)
@@ -99,7 +99,7 @@
new RecursiveIteratorIterator(
new RecursiveDirectoryIterator('/path/to/project')),
'/path/to/project');
-$phar->setStub($phar->createDefaultWebStub('cli/index.php',
'www/index.php'));
+$phar->setStub($phar->createDefaultStub('cli/index.php',
'www/index.php'));
?>
]]>
</programlisting>
@@ -124,7 +124,7 @@
new RecursiveIteratorIterator(
new Phar('/path/to/anotherphar.phar')),
'phar:///path/to/anotherphar.phar/path/to/project');
-$phar->setStub($phar->createDefaultWebStub('cli/index.php',
'www/index.php'));
+$phar->setStub($phar->createDefaultStub('cli/index.php',
'www/index.php'));
?>
]]>
</programlisting>
@@ -148,7 +148,7 @@
'internal/file.php' => dirname(__FILE__) . '/somefile.php',
'another/file.jpg' => fopen('/path/to/bigfile.jpg', 'rb'),
)));
-$phar->setStub($phar->createDefaultWebStub('cli/index.php',
'www/index.php'));
+$phar->setStub($phar->createDefaultStub('cli/index.php',
'www/index.php'));
?>
]]>
</programlisting>
Modified: phpdoc/en/trunk/reference/phar/PharData/buildFromIterator.xml
===================================================================
--- phpdoc/en/trunk/reference/phar/PharData/buildFromIterator.xml 2011-04-30 11:46:19 UTC (rev
310656)
+++ phpdoc/en/trunk/reference/phar/PharData/buildFromIterator.xml 2011-04-30 12:22:15 UTC (rev
310657)
@@ -84,7 +84,7 @@
new RecursiveIteratorIterator(
new Phar('/path/to/anotherphar.phar')),
'phar:///path/to/anotherphar.phar/path/to/project');
-$phar->setStub($phar->createDefaultWebStub('cli/index.php',
'www/index.php'));
+$phar->setStub($phar->createDefaultStub('cli/index.php',
'www/index.php'));
?>
]]>
</programlisting>