Skip to content

Commit

Permalink
Merge remote-tracking branch 'zf2/master' into feature/doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Jul 11, 2012
2 parents 3039617 + eeb6c8a commit 556e900
Show file tree
Hide file tree
Showing 6,640 changed files with 50,274 additions and 713,292 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

283 changes: 140 additions & 143 deletions README.md

Large diffs are not rendered by default.

25 changes: 7 additions & 18 deletions bin/classmap_generator.php
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
#!/usr/bin/env php
<?php
/**
* Zend Framework
* Zend Framework (http://framework.zend.com/)
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Loader
* @subpackage Exception
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/

use Zend\Console;
Expand Down Expand Up @@ -163,13 +151,14 @@
// classname => filename, where the filename is relative to the library path
$map = new stdClass;
foreach ($l as $file) {
$namespace = empty($file->namespace) ? '' : $file->namespace . '\\';
$filename = str_replace($libraryPath . '/', '', str_replace(DIRECTORY_SEPARATOR, '/', $file->getPath()) . '/' . $file->getFilename());

// Add in relative path to library
$filename = $relativePathForClassmap . $filename;

$map->{$namespace . $file->classname} = $filename;
foreach ($file->getClasses() as $class) {
$map->{$class} = $filename;
}
}

if ($appending) {
Expand Down
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,31 +37,29 @@
"zendframework/zend-config": "self.version",
"zendframework/zend-console": "self.version",
"zendframework/zend-crypt": "self.version",
"zendframework/zend-currency": "self.version",
"zendframework/zend-date": "self.version",
"zendframework/zend-db": "self.version",
"zendframework/zend-di": "self.version",
"zendframework/zend-docbook": "self.version",
"zendframework/zend-dojo": "self.version",
"zendframework/zend-dom": "self.version",
"zendframework/zend-escaper": "self.version",
"zendframework/zend-eventmanager": "self.version",
"zendframework/zend-feed": "self.version",
"zendframework/zend-file": "self.version",
"zendframework/zend-filter": "self.version",
"zendframework/zend-form": "self.version",
"zendframework/zend-gdata": "self.version",
"zendframework/zend-http": "self.version",
"zendframework/zend-i18n": "self.version",
"zendframework/zend-infocard": "self.version",
"zendframework/zend-inputfilter": "self.version",
"zendframework/zend-json": "self.version",
"zendframework/zend-ldap": "self.version",
"zendframework/zend-loader": "self.version",
"zendframework/zend-locale": "self.version",
"zendframework/zend-log": "self.version",
"zendframework/zend-mail": "self.version",
"zendframework/zend-markup": "self.version",
"zendframework/zend-math": "self.version",
"zendframework/zend-measure": "self.version",
"zendframework/zend-memory": "self.version",
"zendframework/zend-mime": "self.version",
"zendframework/zend-modulemanager": "self.version",
Expand Down Expand Up @@ -94,7 +92,6 @@
"zendframework/zend-service-technorati": "self.version",
"zendframework/zend-service-twitter": "self.version",
"zendframework/zend-service-windowsazure": "self.version",
"zendframework/zend-service-yahoo": "self.version",
"zendframework/zend-servicemanager": "self.version",
"zendframework/zend-session": "self.version",
"zendframework/zend-soap": "self.version",
Expand All @@ -103,7 +100,6 @@
"zendframework/zend-test": "self.version",
"zendframework/zend-text": "self.version",
"zendframework/zend-timesync": "self.version",
"zendframework/zend-translator": "self.version",
"zendframework/zend-uri": "self.version",
"zendframework/zend-validator": "self.version",
"zendframework/zend-view": "self.version",
Expand Down
28 changes: 8 additions & 20 deletions demos/Zend/Feeds/consume-feed.php
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
<?php
/**
* Zend Framework
* Zend Framework (http://framework.zend.com/)
*
* LICENSE
*
* This source file is subject to the new BSD license that is bundled
* with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://framework.zend.com/license/new-bsd
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @category Zend
* @package Zend_Feed
* @subpackage Demos
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @link http://github.com/zendframework/zf2 for the canonical source repository
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @package Zend_Feed
*/

use Zend\Loader\StandardAutoloader;
Expand All @@ -28,14 +17,13 @@
*/

require_once dirname(dirname(dirname(__DIR__))).'/library/Zend/Loader/StandardAutoloader.php';
$loader = new StandardAutoloader;
$loader = new StandardAutoloader(array('autoregister_zf' => true));
$loader->register();


$rss = Reader::import('http://news.google.com/?output=rss');

foreach ($rss as $item) {

echo "<p>" . $item->getTitle() . "<br />", "\n";
echo $item->getLink() . "</p>";
echo '<p>' . $item->getTitle() . '<br />', "\n";
echo $item->getLink() . '</p>';
}
109 changes: 0 additions & 109 deletions demos/Zend/Gdata/3LeggedOAuth/Gdata_OAuth_Helper.php

This file was deleted.

Binary file removed demos/Zend/Gdata/3LeggedOAuth/data-api-72.png
Binary file not shown.
Binary file removed demos/Zend/Gdata/3LeggedOAuth/doclist-72.png
Binary file not shown.
Loading

0 comments on commit 556e900

Please sign in to comment.