forked from zendframework/zendframework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- fixed title tags git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15234 44c647ce-9c0f-0410-b52a-842ac1e357ba
- Loading branch information
thomas
committed
Apr 28, 2009
0 parents
commit e443b8c
Showing
6,457 changed files
with
1,410,173 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
INSTALLATION | ||
------------ | ||
|
||
Zend Framework requires no special installation steps. Simply download the framework, | ||
extract it to the folder you would like to keep it in, and add the library directory | ||
to your PHP include_path. To use components in the extras library, add the extras/library | ||
directory to your PHP include_path, as well. | ||
If you would like to use Zend_Tool, simply add bin/zf.bat (for Windows) or | ||
bin/zf.sh (for anything else) to your system executable path. | ||
|
||
SYSTEM REQUIREMENTS | ||
------------------- | ||
|
||
Zend Framework requires PHP 5.2.4 or later. Please see the system requirements | ||
appendix for more detailed information: | ||
|
||
http://framework.zend.com/manual/en/requirements.html | ||
|
||
DEVELOPMENT VERSIONS | ||
-------------------- | ||
|
||
If you would like to preview enhancements or bug fixes that have not yet been | ||
released, you can obtain the current development version of Zend Framework using one | ||
of the following methods: | ||
|
||
* Download the latest nightly snapshot. For those who care to brave the cutting | ||
(often bleeding) edge, the nightly snapshots represent the latest single- | ||
download development version of Zend Framework development. Snapshots are bundled | ||
with documentation in English only or in all available languages. If you anticipate | ||
updating to the latest development version of Zend Framework often, consider using | ||
Subversion as described below. | ||
|
||
http://framework.zend.com/download/snapshot | ||
|
||
* Using a Subversion (SVN) client. Zend Framework is open source software, and | ||
the Subversion repository used for its development is publicly available. Consider | ||
using SVN to get Zend Framework if you already use SVN for your application | ||
development, want to contribute back to the framework, or need to upgrade your | ||
framework version very often. | ||
|
||
Exporting is useful if you want to get a particular framework revision without the | ||
.svn directories as created in a working copy. | ||
|
||
Checking out a working copy is necessary if you would like to directly contribute | ||
to Zend Framework; a working copy can be updated any time with svn update. | ||
|
||
An externals definition is highly convenient for developers already using SVN to | ||
manage their application working copies. | ||
|
||
The URL for the trunk of the Zend Framework SVN repository is: | ||
|
||
http://framework.zend.com/svn/framework/trunk | ||
|
||
For more information about Subversion, please see the official website: | ||
|
||
http://subversion.tigris.org | ||
|
||
CONFIGURING THE INCLUDE PATH | ||
---------------------------- | ||
|
||
Once you have a copy of Zend Framework available, your application will need to | ||
access the framework classes. Though there are several ways to achieve this, your | ||
PHP include_path needs to contain the path to the Zend Framework classes under the | ||
/library directory in this distribution. You can find out more about the PHP | ||
include_path configuration directive here: | ||
|
||
http://www.php.net/manual/en/ini.core.php#ini.include-path | ||
|
||
Instructions on how to change PHP configuration directives can be found here: | ||
|
||
http://www.php.net/manual/en/configuration.changes.php | ||
|
||
GETTING STARTED | ||
--------------- | ||
|
||
A great place to get up-to-speed quickly is the Zend Framework QuickStart: | ||
|
||
http://framework.zend.com/docs/quickstart | ||
|
||
The QuickStart covers some of the most commonly used components of ZF. Since | ||
Zend Framework is designed with a use-at-will architecture and components are | ||
loosely coupled, you can select and use only those components that are needed for | ||
your project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Copyright (c) 2005-2008, Zend Technologies USA, Inc. | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without modification, | ||
are permitted provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright notice, | ||
this list of conditions and the following disclaimer. | ||
|
||
* Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
* Neither the name of Zend Technologies USA, Inc. nor the names of its | ||
contributors may be used to endorse or promote products derived from this | ||
software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
Welcome to the Zend Framework 1.8 Release! | ||
|
||
RELEASE INFORMATION | ||
--------------- | ||
Zend Framework 1.8 Release (revision 15226). | ||
Released on April 30, 2009. | ||
|
||
NEW FEATURES | ||
------------ | ||
|
||
* Zend_Tool, contributed by Ralph Schindler | ||
* Zend_Application, contributed by Ben Scholzen and Matthew Weier O'Phinney | ||
* Zend_Loader_Autoloader and Zend_Loader_Autoloader_Resource, | ||
contributed by Matthew Weier O'Phinney | ||
* Zend_Navigation, contributed by Robin Skoglund | ||
* Zend_CodeGenerator, by Ralph Schindler | ||
* Zend_Reflection, Ralph Schindler and Matthew Weier O'Phinney | ||
* Zend Server backend for Zend_Cache, contributed by Alexander Veremyev | ||
* Zend_Service_Amazon_Ec2, contributed by Jon Whitcraft | ||
* Zend_Service_Amazon_S3, Justin Plock and Stas Malyshev | ||
* Zend_Filter_Encrypt, contributed by Thomas Weidner | ||
* Zend_Filter_Decrypt, contributed by Thomas Weidner | ||
* Zend_Filter_LocalizedToNormalized and _NormalizedToLocalized, | ||
contributed by Thomas Weidner | ||
* Support for file upload progress support in Zend_File_Transfer, | ||
contributed by Thomas Weidner | ||
* Translation-aware routes, contributed by Ben Scholzen | ||
* Zend_Json expression support, contributed by Benjamin Eberlei and | ||
Oscar Reales | ||
* Zend_Http_Client_Adapter_Curl, contributed by Benjamin Eberlei | ||
* SOAP input and output header support, contributed by Alexander Veremyev | ||
* Support for keyword field search using query strings, | ||
contributed by Alexander Veremyev | ||
* Support for searching across multiple indexes in Zend_Search_Lucene, | ||
contributed by Alexander Veremyev | ||
* Significant improvements for Zend_Search_Lucene search result match | ||
highlighting capabilities, contributed by Alexander Veremyev | ||
* Support for page scaling, shifting and skewing in Zend_Pdf, | ||
contributed by Alexander Veremyev | ||
* Zend_Tag_Cloud, contributed by Ben Scholzen | ||
* Locale support in Zend_Validate_Int and Zend_Validate_Float, | ||
contributed by Thomas Weidner | ||
* Phonecode support in Zend_Locale, contributed by Thomas Weidner | ||
* Zend_Validate_Db_RecordExists and _RecordNotExists, contributed by | ||
Ryan Mauger | ||
* Zend_Validate_Iban, contributed by Thomas Weidner | ||
* Zend_Validate_File_WordCount, contributed by Thomas Weidner | ||
|
||
A detailed list of all features and bug fixes in this release may be found at: | ||
|
||
http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=11002 | ||
|
||
SYSTEM REQUIREMENTS | ||
------------------- | ||
|
||
Zend Framework requires PHP 5.2.4 or later. Please see our reference | ||
guide for more detailed system requirements: | ||
|
||
http://framework.zend.com/manual/en/requirements.html | ||
|
||
INSTALLATION | ||
------------ | ||
|
||
Please see INSTALL.txt. | ||
|
||
QUESTIONS AND FEEDBACK | ||
---------------------- | ||
|
||
Online documentation can be found at http://framework.zend.com/manual. | ||
Questions that are not addressed in the manual should be directed to the | ||
appropriate mailing list: | ||
|
||
http://framework.zend.com/wiki/display/ZFDEV/Mailing+Lists | ||
|
||
If you find code in this release behaving in an unexpected manner or | ||
contrary to its documented behavior, please create an issue in the Zend | ||
Framework issue tracker at: | ||
|
||
http://framework.zend.com/issues | ||
|
||
If you would like to be notified of new releases, you can subscribe to | ||
the fw-announce mailing list by sending a blank message to | ||
[email protected]. | ||
|
||
LICENSE | ||
------- | ||
|
||
The files in this archive are released under the Zend Framework license. | ||
You can find a copy of this license in LICENSE.txt. | ||
|
||
ACKNOWLEDGEMENTS | ||
---------------- | ||
|
||
The Zend Framework team would like to thank all the contributors to the Zend | ||
Framework project, our corporate sponsor, and you, the Zend Framework user. | ||
Please visit us sometime soon at http://framework.zend.com. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
@ECHO off | ||
REM Zend Framework | ||
REM | ||
REM LICENSE | ||
REM | ||
REM This source file is subject to the new BSD license that is bundled | ||
REM with this package in the file LICENSE.txt. | ||
REM It is also available through the world-wide-web at this URL: | ||
REM http://framework.zend.com/license/new-bsd | ||
REM If you did not receive a copy of the license and are unable to | ||
REM obtain it through the world-wide-web, please send an email | ||
REM to [email protected] so we can send you a copy immediately. | ||
REM | ||
REM Zend | ||
REM Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) | ||
REM http://framework.zend.com/license/new-bsd New BSD License | ||
|
||
|
||
REM Test to see if this was installed via pear | ||
SET ZTMPZTMPZTMPZ=@ph | ||
SET TMPZTMPZTMP=%ZTMPZTMPZTMPZ%p_bin@ | ||
REM below @php_bin@ | ||
FOR %%x IN ("@php_bin@") DO (if %%x=="%TMPZTMPZTMP%" GOTO :NON_PEAR_INSTALLED) | ||
|
||
GOTO PEAR_INSTALLED | ||
|
||
:NON_PEAR_INSTALLED | ||
REM Assume php.exe is executable, and that zf.php will reside in the | ||
REM same file as this one | ||
SET PHP_BIN=php.exe | ||
SET PHP_DIR=%~dp0 | ||
GOTO RUN | ||
|
||
:PEAR_INSTALLED | ||
REM Assume this was installed via PEAR and use replacements php_bin & php_dir | ||
SET PHP_BIN=@php_bin@ | ||
SET PHP_DIR=@php_dir@ | ||
GOTO RUN | ||
|
||
:RUN | ||
SET ZF_SCRIPT=%PHP_DIR%\zf.php | ||
"%PHP_BIN%" -d safe_mode=Off -f "%ZF_SCRIPT%" -- %* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
<?php | ||
/** | ||
* Zend Framework | ||
* | ||
* 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_Tool | ||
* @subpackage Framework | ||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
* @version $Id$ | ||
*/ | ||
|
||
$_zf['original'] = get_include_path(); | ||
|
||
// if ZF is not in the include_path, but relative to this file, put it in the include_path | ||
if (($_zf['prepend'] = getenv('ZEND_TOOL_INCLUDE_PATH_PREPEND')) || ($_zf['whole'] = getenv('ZEND_TOOL_INCLUDE_PATH'))) { | ||
if (isset($_zf['prepend']) && ($_zf['prepend'] !== false) && (($_zf['prependRealpath'] = realpath($_zf['prepend'])) !== false)) { | ||
set_include_path($_zf['prependRealpath'] . PATH_SEPARATOR . $_zf['original']); | ||
} elseif (isset($_zf['whole']) && ($_zf['whole'] !== false) && (($_zf['wholeRealpath'] = realpath($_zf['whole'])) !== false)) { | ||
set_include_path($_zf['wholeRealpath']); | ||
} | ||
} | ||
|
||
// assume the include_path is good, and load the client/console | ||
if ((@include_once 'Zend/Tool/Framework/Client/Console.php') === false) { | ||
// last chance, perhaps we can find zf relative to THIS file, if so, lets run | ||
$_zf['relativePath'] = dirname(__FILE__) . '/../library/'; | ||
if (file_exists($_zf['relativePath'] . 'Zend/Tool/Framework/Client/Console.php')) { | ||
set_include_path(realpath($_zf['relativePath']) . PATH_SEPARATOR . get_include_path()); | ||
include_once 'Zend/Tool/Framework/Client/Console.php'; | ||
} | ||
} | ||
|
||
if (!class_exists('Zend_Tool_Framework_Client_Console')) { | ||
echo <<<EOS | ||
***************************** ZF ERROR ******************************** | ||
In order to run the zf command, you need to ensure that Zend Framework | ||
is inside your include_path. If you are running this tool without | ||
ZendFramework in your include_path, you can alternatively set one of | ||
two environment variables to for this tool to work: | ||
a) ZEND_TOOL_INCLUDE_PATH_PREPEND="/path/to/ZendFramework/library" | ||
OR alternatively | ||
b) ZEND_TOOL_INCLUDE_PATH="/path/to/ZendFramework/library" | ||
The former (a) will make the specified Zend Framework first in the | ||
include_path whereas the latter (b) will replace the include_path | ||
with the specified path. | ||
Information: | ||
EOS; | ||
|
||
echo ' original include_path: ' . $_zf['original'] . PHP_EOL; | ||
echo ' attempted include_path: ' . get_include_path() . PHP_EOL; | ||
echo ' script location: ' . $_SERVER['SCRIPT_NAME'] . PHP_EOL; | ||
exit(1); | ||
} | ||
|
||
// cleanup the global space | ||
unset($_zf); | ||
|
||
// run tool | ||
Zend_Tool_Framework_Client_Console::main(); | ||
exit(0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/bin/sh | ||
|
||
############################################################################# | ||
# Zend Framework | ||
# | ||
# 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. | ||
# | ||
# Zend | ||
# Copyright (c) 2005-2008 Zend Technologies USA Inc. (http://www.zend.com) | ||
# http://framework.zend.com/license/new-bsd New BSD License | ||
############################################################################# | ||
|
||
|
||
# find php: pear first, command -v second, straight up php lastly | ||
if test "@php_bin@" != '@'php_bin'@'; then | ||
PHP_BIN="@php_bin@" | ||
elif command -v php 1>/dev/null 2>/dev/null; then | ||
PHP_BIN=`command -v php` | ||
else | ||
PHP_BIN=php | ||
fi | ||
|
||
# find zf.php: pear first, same directory 2nd, | ||
if test "@php_dir@" != '@'php_dir'@'; then | ||
PHP_DIR="@php_dir@" | ||
else | ||
SELF_LINK="$0" | ||
SELF_LINK_TMP="$(readlink "$SELF_LINK")" | ||
while test -n "$SELF_LINK_TMP"; do | ||
SELF_LINK="$SELF_LINK_TMP" | ||
SELF_LINK_TMP="$(readlink "$SELF_LINK")" | ||
done | ||
PHP_DIR="$(dirname "$SELF_LINK")" | ||
fi | ||
|
||
$PHP_BIN -d safe_mode=Off -f $PHP_DIR/zf.php -- $@ |
Oops, something went wrong.