Permalink
Browse files

Preparing for the 0.2.0 release.

 * Depearified core layout.
 * Added pear task to build.xml.
 * Updated Smarty and PHPUnit interfaces.
  • Loading branch information...
1 parent 9905a2f commit dd1c71df52da04fcb8ce265842ec06677c8bbfae @whatthejeff committed Apr 18, 2011
Showing with 194 additions and 159 deletions.
  1. +10 −2 CHANGES.md
  2. +1 −1 INSTALL.md
  3. +4 −4 README.md
  4. +1 −1 bin/breeze
  5. +47 −4 build.xml
  6. +29 −0 doc/examples.md
  7. 0 {docs → doc}/reference.md
  8. +0 −29 docs/demos.md
  9. +3 −3 {demos → example}/blog/bootstrap.php
  10. +3 −3 {demos → example}/blog/controllers/admin.php
  11. +3 −3 {demos → example}/blog/controllers/posts.php
  12. +3 −3 {demos/namespaces → example}/blog/databases/generate.php
  13. 0 {demos/namespaces → example}/blog/databases/schema.yml
  14. +3 −3 {demos → example}/blog/helpers.php
  15. +4 −4 {demos → example}/blog/models/Post.php
  16. +4 −4 {demos/namespaces → example}/blog/models/PostTable.php
  17. +4 −4 {demos/namespaces → example}/blog/models/generated/BasePost.php
  18. 0 {demos/namespaces → example}/blog/public/css/screen.css
  19. BIN {demos/namespaces → example}/blog/public/img/bg.jpg
  20. +4 −4 {demos/namespaces → example}/blog/public/index.php
  21. +3 −3 {demos → example}/blog/setup.php
  22. 0 {demos/namespaces → example}/blog/views/dwoo/admin/posts/_form.tpl
  23. 0 {demos/namespaces → example}/blog/views/dwoo/admin/posts/_message.tpl
  24. 0 {demos → example}/blog/views/dwoo/admin/posts/delete.tpl
  25. 0 {demos → example}/blog/views/dwoo/admin/posts/edit.tpl
  26. 0 {demos → example}/blog/views/dwoo/admin/posts/index.tpl
  27. 0 {demos → example}/blog/views/dwoo/admin/posts/new.tpl
  28. 0 {demos → example}/blog/views/dwoo/admin/posts/show.tpl
  29. 0 {tests/Breeze/fixtures/Smarty/compiled → example/blog/views/dwoo/cache}/.gitignore
  30. 0 {tests/Breeze/fixtures/Smarty/cache → example/blog/views/dwoo/compiled}/.gitignore
  31. 0 {demos/namespaces/blog/views/smarty → example/blog/views/dwoo}/errors/404.tpl
  32. 0 {demos/namespaces/blog/views/smarty → example/blog/views/dwoo}/errors/500.tpl
  33. 0 {demos/namespaces/blog/views/smarty → example/blog/views/dwoo}/layout.tpl
  34. 0 {demos/namespaces/blog/views/smarty → example/blog/views/dwoo}/posts/_post.tpl
  35. 0 {demos → example}/blog/views/dwoo/posts/index.tpl
  36. 0 {demos → example}/blog/views/dwoo/posts/show.tpl
  37. 0 {demos → example}/blog/views/php/admin/posts/_form.php
  38. 0 {demos → example}/blog/views/php/admin/posts/_message.php
  39. 0 {demos → example}/blog/views/php/admin/posts/delete.php
  40. 0 {demos → example}/blog/views/php/admin/posts/edit.php
  41. 0 {demos → example}/blog/views/php/admin/posts/index.php
  42. 0 {demos → example}/blog/views/php/admin/posts/new.php
  43. 0 {demos → example}/blog/views/php/admin/posts/show.php
  44. 0 {demos/namespaces → example}/blog/views/php/errors/404.php
  45. 0 {demos/namespaces → example}/blog/views/php/errors/500.php
  46. 0 {demos/namespaces → example}/blog/views/php/layout.php
  47. 0 {demos → example}/blog/views/php/posts/_post.php
  48. 0 {demos → example}/blog/views/php/posts/index.php
  49. 0 {demos → example}/blog/views/php/posts/show.php
  50. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/_form.tpl
  51. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/_message.tpl
  52. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/delete.tpl
  53. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/edit.tpl
  54. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/index.tpl
  55. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/new.tpl
  56. 0 {demos/namespaces → example}/blog/views/smarty/admin/posts/show.tpl
  57. 0 {tests/Breeze/fixtures/Dwoo/compiled → example/blog/views/smarty/cache}/.gitignore
  58. 0 {tests/Breeze/fixtures/Dwoo/cache → example/blog/views/smarty/compiled}/.gitignore
  59. 0 {demos/namespaces/blog/views/dwoo → example/blog/views/smarty}/errors/404.tpl
  60. 0 {demos/namespaces/blog/views/dwoo → example/blog/views/smarty}/errors/500.tpl
  61. 0 {demos/namespaces/blog/views/dwoo → example/blog/views/smarty}/layout.tpl
  62. 0 {demos/namespaces/blog/views/dwoo → example/blog/views/smarty}/posts/_post.tpl
  63. 0 {demos/namespaces → example}/blog/views/smarty/posts/index.tpl
  64. 0 {demos/namespaces → example}/blog/views/smarty/posts/show.tpl
  65. +3 −3 {demos → example}/hello_world/public/index.php
  66. +1 −1 {demos/namespaces → example}/hello_world/views/hello.php
  67. +4 −4 {demos → example}/namespaces/blog/bootstrap.php
  68. +4 −4 {demos → example}/namespaces/blog/controllers/admin.php
  69. +4 −4 {demos → example}/namespaces/blog/controllers/posts.php
  70. +3 −3 {demos → example/namespaces}/blog/databases/generate.php
  71. 0 {demos → example/namespaces}/blog/databases/schema.yml
  72. +4 −4 {demos → example}/namespaces/blog/helpers.php
  73. +4 −4 {demos → example}/namespaces/blog/models/Post.php
  74. +4 −4 {demos → example/namespaces}/blog/models/PostTable.php
  75. +4 −4 {demos → example/namespaces}/blog/models/generated/BasePost.php
  76. 0 {demos → example/namespaces}/blog/public/css/screen.css
  77. BIN {demos → example/namespaces}/blog/public/img/bg.jpg
  78. +4 −4 {demos → example/namespaces}/blog/public/index.php
  79. +4 −4 {demos → example}/namespaces/blog/setup.php
  80. 0 {demos → example/namespaces}/blog/views/dwoo/admin/posts/_form.tpl
  81. 0 {demos → example/namespaces}/blog/views/dwoo/admin/posts/_message.tpl
  82. 0 {demos → example}/namespaces/blog/views/dwoo/admin/posts/delete.tpl
  83. 0 {demos → example}/namespaces/blog/views/dwoo/admin/posts/edit.tpl
  84. 0 {demos → example}/namespaces/blog/views/dwoo/admin/posts/index.tpl
  85. 0 {demos → example}/namespaces/blog/views/dwoo/admin/posts/new.tpl
  86. 0 {demos → example}/namespaces/blog/views/dwoo/admin/posts/show.tpl
  87. 0 {demos/namespaces/blog/views/smarty/compiled → example/namespaces/blog/views/dwoo/cache}/.gitignore
  88. 0 {demos/namespaces/blog/views/smarty/cache → example/namespaces/blog/views/dwoo/compiled}/.gitignore
  89. 0 {demos/blog/views/smarty → example/namespaces/blog/views/dwoo}/errors/404.tpl
  90. 0 {demos/blog/views/smarty → example/namespaces/blog/views/dwoo}/errors/500.tpl
  91. 0 {demos/blog/views/smarty → example/namespaces/blog/views/dwoo}/layout.tpl
  92. 0 {demos/blog/views/smarty → example/namespaces/blog/views/dwoo}/posts/_post.tpl
  93. 0 {demos → example}/namespaces/blog/views/dwoo/posts/index.tpl
  94. 0 {demos → example}/namespaces/blog/views/dwoo/posts/show.tpl
  95. 0 {demos → example}/namespaces/blog/views/php/admin/posts/_form.php
  96. 0 {demos → example}/namespaces/blog/views/php/admin/posts/_message.php
  97. 0 {demos → example}/namespaces/blog/views/php/admin/posts/delete.php
  98. 0 {demos → example}/namespaces/blog/views/php/admin/posts/edit.php
  99. 0 {demos → example}/namespaces/blog/views/php/admin/posts/index.php
  100. 0 {demos → example}/namespaces/blog/views/php/admin/posts/new.php
  101. 0 {demos → example}/namespaces/blog/views/php/admin/posts/show.php
  102. 0 {demos → example/namespaces}/blog/views/php/errors/404.php
  103. 0 {demos → example/namespaces}/blog/views/php/errors/500.php
  104. 0 {demos → example/namespaces}/blog/views/php/layout.php
  105. 0 {demos → example}/namespaces/blog/views/php/posts/_post.php
  106. 0 {demos → example}/namespaces/blog/views/php/posts/index.php
  107. 0 {demos → example}/namespaces/blog/views/php/posts/show.php
  108. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/_form.tpl
  109. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/_message.tpl
  110. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/delete.tpl
  111. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/edit.tpl
  112. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/index.tpl
  113. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/new.tpl
  114. 0 {demos → example/namespaces}/blog/views/smarty/admin/posts/show.tpl
  115. 0 {demos/namespaces/blog/views/dwoo/compiled → example/namespaces/blog/views/smarty/cache}/.gitignore
  116. 0 {demos/namespaces/blog/views/dwoo/cache → example/namespaces/blog/views/smarty/compiled}/.gitignore
  117. 0 {demos/blog/views/dwoo → example/namespaces/blog/views/smarty}/errors/404.tpl
  118. 0 {demos/blog/views/dwoo → example/namespaces/blog/views/smarty}/errors/500.tpl
  119. 0 {demos/blog/views/dwoo → example/namespaces/blog/views/smarty}/layout.tpl
  120. 0 {demos/blog/views/dwoo → example/namespaces/blog/views/smarty}/posts/_post.tpl
  121. 0 {demos → example/namespaces}/blog/views/smarty/posts/index.tpl
  122. 0 {demos → example/namespaces}/blog/views/smarty/posts/show.tpl
  123. +4 −4 {demos → example}/namespaces/hello_world/public/index.php
  124. +1 −1 {demos → example/namespaces}/hello_world/views/hello.php
  125. 0 { → lib}/Breeze.php
  126. 0 { → lib}/Breeze/Application.php
  127. 0 { → lib}/Breeze/plugins/Dwoo.php
  128. 0 { → lib}/Breeze/plugins/Flashhash.php
  129. +1 −2 { → lib}/Breeze/plugins/Smarty.php
  130. +9 −20 package.xml → package.xml.dist
  131. +5 −7 phpunit.xml.dist
  132. 0 {skeletons → skeleton}/complex/bootstrap.php
  133. 0 {skeletons → skeleton}/complex/controllers/Index.php
  134. 0 {skeletons → skeleton}/complex/public/index.php
  135. 0 {skeletons/simple → skeleton/complex}/views/index.php
  136. 0 {skeletons/simple → skeleton/complex}/views/layout.php
  137. 0 {skeletons → skeleton}/simple/controller.php
  138. 0 {skeletons → skeleton}/simple/public/index.php
  139. 0 {skeletons/complex → skeleton/simple}/views/index.php
  140. 0 {skeletons/complex → skeleton/simple}/views/layout.php
  141. 0 {tests → test}/Breeze/ApplicationTest.php
  142. +1 −1 {tests → test}/Breeze/ApplicationTestCase.php
  143. 0 {tests → test}/Breeze/ClosuresCollectionTest.php
  144. 0 {tests → test}/Breeze/ConfigurationsTest.php
  145. 0 {tests → test}/Breeze/Dispatcher/ConditionsTest.php
  146. 0 {tests → test}/Breeze/Dispatcher/DispatcherTest.php
  147. 0 {tests → test}/Breeze/Dispatcher/NotFoundExceptionTest.php
  148. +1 −1 {tests → test}/Breeze/Errors/ErrorsTest.php
  149. 0 {tests → test}/Breeze/View/Driver/DriverTest.php
  150. 0 {tests → test}/Breeze/View/Driver/PhpTest.php
  151. +1 −1 {tests → test}/Breeze/View/ViewTest.php
  152. 0 {demos/blog/views/smarty/compiled → test/Breeze/fixtures/Dwoo/cache}/.gitignore
  153. 0 {demos/blog/views/smarty/cache → test/Breeze/fixtures/Dwoo/compiled}/.gitignore
  154. 0 {tests/Breeze/fixtures/Smarty → test/Breeze/fixtures/Dwoo}/layout.tpl
  155. 0 {tests/Breeze/fixtures/Smarty → test/Breeze/fixtures/Dwoo}/template.tpl
  156. 0 {demos/blog/views/dwoo/compiled → test/Breeze/fixtures/Smarty/cache}/.gitignore
  157. 0 {demos/blog/views/dwoo/cache → test/Breeze/fixtures/Smarty/compiled}/.gitignore
  158. 0 {tests/Breeze/fixtures/Dwoo → test/Breeze/fixtures/Smarty}/layout.tpl
  159. 0 {tests/Breeze/fixtures/Dwoo → test/Breeze/fixtures/Smarty}/template.tpl
  160. 0 {tests → test}/Breeze/fixtures/layout.php
  161. 0 {tests → test}/Breeze/fixtures/template.php
  162. 0 {tests → test}/Breeze/plugins/FlashhashTest.php
  163. 0 {tests → test}/Breeze/plugins/PluginTestCase.php
  164. 0 {tests → test}/Breeze/plugins/View/Driver/DwooTest.php
  165. 0 {tests → test}/Breeze/plugins/View/Driver/SmartyTest.php
  166. +2 −4 {tests → test}/bootstrap.php
View
@@ -1,4 +1,12 @@
-0.1.0
-=====
+0.2.0 - 2010-08-22
+==================
+
+ * Depearified core layout
+ * Added build scripts
+ * Improved documentation
+ * Switched to the Zend coding standard
+
+0.1.0 - 2010-08-22
+==================
* Initial release
View
@@ -10,7 +10,7 @@ If you get a permissions error, you will need to use `su`, `sudo`, or contact yo
### Manual installation
-To install the Breeze Framework without PEAR, simply add the Breeze directory to your PHP `include_path`. You can find information about the PHP `include_path` configuration directive here:
+To install the Breeze Framework without PEAR, simply add the `lib` directory to your PHP `include_path`. You can find information about the PHP `include_path` configuration directive here:
<http://www.php.net/manual/en/ini.core.php#ini.include-path>
View
@@ -705,7 +705,7 @@ The global scope
Let's be honest, if you're using PHP, your global scope is already a bit compromised. With the introduction of namespaces though, PHP has finally given us some tools to help combat this problem. And while having functions like `get()` and `display()` in your global scope may save you some keystrokes, it isn't exactly the ideal situation, especially for larger applications. Fortunately, Breeze allows you to turn off these shortcut functions and use a slightly more verbose syntax to protect your scope.
// Controller.php
- namespace Breeze\Demos\Scope;
+ namespace Breeze\Examples\Scope;
use Breeze\Application;
require_once 'Breeze/Application.php';
@@ -725,11 +725,11 @@ Once you've disabled the Breeze shortcuts, you will need to use the `$breeze` ap
<h1>Hi there!</h1>
<p>I am using the <?php echo $breeze->config('template_engine'); ?> template engine.</p>
-### Demo
+### Examples
-Be sure to checkout the `namespaces` demos for a more complete treatment on protecting the global scope.
+Be sure to checkout the `namespaces` examples for a more complete treatment on protecting the global scope.
That's all folks
----------------
-If you read this entire tutorial, you should be well on your way to creating Breeze applications. Be sure to check out the included demos and plugins for more examples of Breeze in action.
+If you read this entire tutorial, you should be well on your way to creating Breeze applications. Be sure to check out the included examples and plugins for more examples of Breeze in action.
View
@@ -100,7 +100,7 @@ else
fi
# Path to the chosen skeleton
-declare -rx TEMPLATE_TYPE_PATH="$TEMPLATE_PATH/skeletons/$APPLICATION_TYPE"
+declare -rx TEMPLATE_TYPE_PATH="$TEMPLATE_PATH/skeleton/$APPLICATION_TYPE"
# Make sure the template directory is valid
if [ ! -d "$TEMPLATE_TYPE_PATH" ]
View
@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated by PHP Project Wizard (PPW) 1.0.2 on Fri Feb 11 23:16:38 CST 2011 -->
-
<project name="Breeze" default="build" basedir=".">
<property name="source" value="Breeze"/>
+ <!-- Clean up -->
<target name="clean">
- <!-- Clean up -->
<delete dir="${basedir}/build"/>
<!-- Create build directories -->
@@ -14,6 +12,7 @@
<mkdir dir="${basedir}/build/coverage"/>
<mkdir dir="${basedir}/build/logs"/>
<mkdir dir="${basedir}/build/pdepend"/>
+ <mkdir dir="${basedir}/build/pear"/>
</target>
<!-- Run unit tests and generate junit.xml and clover.xml -->
@@ -77,6 +76,7 @@
</exec>
</target>
+ <!-- Generate code browser -->
<target name="phpcb">
<exec executable="phpcb">
<arg line="--log ${basedir}/build/logs
@@ -85,5 +85,48 @@
</exec>
</target>
- <target name="build" depends="clean,parallelTasks,phpunit,phpcb"/>
+ <!-- Build pear package -->
+ <target name="pear">
+
+ <!-- Organize files in a pear-friendly manner -->
+ <copy todir="${basedir}/build/pear">
+ <fileset dir="${basedir}">
+ <include name="*.md" />
+ <include name="bin/**" />
+ <include name="skeleton/**" />
+ <include name="LICENSE" />
+ </fileset>
+ <fileset dir="${basedir}/lib" />
+ </copy>
+
+ <!-- Build package.xml -->
+ <copy file="${basedir}/package.xml.dist" tofile="${basedir}/build/pear/package.xml" />
+ <tstamp>
+ <format property="BUILD_DATE" pattern="yyyy-MM-dd" />
+ </tstamp>
+ <replace file="${basedir}/build/pear/package.xml" token="@date@" value="${BUILD_DATE}"/>
+
+ <!-- Build pear package -->
+ <exec executable="pear">
+ <arg line="package ${basedir}/build/pear/package.xml" />
+ </exec>
+
+ <!-- Cleanup -->
+ <delete includeemptydirs="true">
+ <fileset dir="${basedir}/build/pear">
+ <include name="**/*" />
+ </fileset>
+ </delete>
+
+ <!-- Move pear package to build directory -->
+ <move todir="${basedir}/build/pear">
+ <fileset dir="${basedir}">
+ <include name="Breeze*.tgz" />
+ </fileset>
+ </move>
+
+ </target>
+
+ <!-- Build All -->
+ <target name="build" depends="clean,parallelTasks,phpunit,phpcb,pear"/>
</project>
View
@@ -0,0 +1,29 @@
+Examples
+========
+
+Some examples have been included to help you get started with the Breeze Framwork. For help installing and configuring these examples, see the `INSTALL.md` file. For more information regarding how these examples work, see the `README.md` file in the root of the Breeze project.
+
+blog
+----
+
+The blog example is a basic blogging application that utilizes [Doctrine](http://www.doctrine-project.org/) for database access. Run the following commands in the databases directory to generate the blog databases:
+
+ touch blog.db
+ php generate.php
+
+You will also need to make sure that your web server user has write access to your database file and directory. For a development environment,
+the following commands should be sufficient.
+
+ chmod a+w . blog.db
+
+For more information on generating databases from schema files, read the following guide: http://www.doctrine-project.org/documentation/manual/1_2/en/introduction-to-models:generating-models:schema-files
+
+hello_world
+-----------
+
+The hello world example is one of the most basic examples of a Breeze application. You'll find examples of routing with basic strings, routing with regular expressions, and using templates.
+
+namespaces
+----------
+
+The namespaces directory contains versions of the two previous examples that have been altered to use techniques for protecting the global scope. You can find more information about these techniques in the `README.md` file located in the root of the Breeze project.
File renamed without changes.
View
@@ -1,29 +0,0 @@
-Demos
-=====
-
-Some demos have been included to help you get started with the Breeze Framwork. For help installing and configuring these demos, see the `INSTALL.md` file. For more information regarding how these demos work, see the `README.md` file in the root of the Breeze project.
-
-blog
-----
-
-The blog demo is a basic blogging application that utilizes [Doctrine](http://www.doctrine-project.org/) for database access. Run the following commands in the databases directory to generate the blog databases:
-
- touch blog.db
- php generate.php
-
-You will also need to make sure that your web server user has write access to your database file and directory. For a development environment,
-the following commands should be sufficient.
-
- chmod a+w . blog.db
-
-For more information on generating databases from schema files, read the following guide: http://www.doctrine-project.org/documentation/manual/1_2/en/introduction-to-models:generating-models:schema-files
-
-hello_world
------------
-
-The hello world demo is one of the most basic examples of a Breeze application. You'll find examples of routing with basic strings, routing with regular expressions, and using templates.
-
-namespaces
-----------
-
-The namespaces directory contains versions of the two previous demos that have been altered to use techniques for protecting the global scope. You can find more information about these techniques in the `README.md` file located in the root of the Breeze project.
@@ -2,7 +2,7 @@
/**
* Blog - Bootstrap
*
- * This file contains the bootstrap routines for the blog demo.
+ * This file contains the bootstrap routines for the blog example.
*
* LICENSE
*
@@ -11,7 +11,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -32,4 +32,4 @@
*/
require_once 'controllers/admin.php';
-run();
+run();
@@ -2,7 +2,7 @@
/**
* Blog - Admin Controller
*
- * This file contains the admin controller for the blog demo.
+ * This file contains the admin controller for the blog example.
*
* LICENSE
*
@@ -11,7 +11,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -92,4 +92,4 @@
$app->post->delete();
flash('notice', POST_DELETED_MESSAGE);
redirect('/admin/posts');
-});
+});
@@ -2,7 +2,7 @@
/**
* Blog - Posts Controller
*
- * This file contains the posts controller for the blog demo.
+ * This file contains the posts controller for the blog example.
*
* LICENSE
*
@@ -11,7 +11,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -36,4 +36,4 @@
get(';^/posts/(?<id>\d+)$;', function($app, $params) {
load($app, $params['id']);
display('posts/show');
-});
+});
@@ -2,7 +2,7 @@
/**
* Blog - Database Generator
*
- * This file contains a script for generating the database for the blog demo.
+ * This file contains a script for generating the database for the blog example.
* Running this script from command line as follows will generate a new
* database:
*
@@ -17,7 +17,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -37,4 +37,4 @@
Doctrine_Core::dropDatabases();
Doctrine_Core::createDatabases();
-Doctrine_Core::createTablesFromModels(BREEZE_APPLICATION . '/models');
+Doctrine_Core::createTablesFromModels(BREEZE_APPLICATION . '/models');
@@ -2,7 +2,7 @@
/**
* Blog - Helpers
*
- * This file contains a collection of helpers for the blog demo.
+ * This file contains a collection of helpers for the blog example.
*
* LICENSE
*
@@ -11,7 +11,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -77,4 +77,4 @@
*/
helper('p', function($id) {
return "/admin/posts/$id";
-});
+});
@@ -2,7 +2,7 @@
/**
* Blog - Post Model
*
- * This file contains the auto-generated Post model for the blog demo.
+ * This file contains the auto-generated Post model for the blog example.
*
* LICENSE
*
@@ -11,7 +11,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -24,7 +24,7 @@
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -33,4 +33,4 @@
class Post extends BasePost
{
-}
+}
@@ -2,7 +2,7 @@
/**
* Blog - PostTable Model
*
- * This file contains the auto-generated PostTabel model for the blog demo.
+ * This file contains the auto-generated PostTabel model for the blog example.
*
* LICENSE
*
@@ -11,7 +11,7 @@
* LICENSE file that is distributed with this package.
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -24,7 +24,7 @@
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package Breeze
- * @subpackage Demos
+ * @subpackage Examples
* @author Jeff Welch <whatthejeff@gmail.com>
* @copyright 2010-2011 Jeff Welch <whatthejeff@gmail.com>
* @license https://github.com/whatthejeff/breeze/blob/master/LICENSE New BSD License
@@ -41,4 +41,4 @@ public static function getInstance()
{
return Doctrine_Core::getTable('Post');
}
-}
+}
Oops, something went wrong.

0 comments on commit dd1c71d

Please sign in to comment.