![]() |
|
sfPropel15Plugin - 0.5.3Replaces symfony's core Propel plugin by the latest version of Propel, in branch 1.5. |
|
![]() |
77
users
Sign-in
to change your status |
Your name here |
Bundles Propel 1.5 and replaces sfPropelPlugin in symfony 1.3 and 1.4.
| Name | Status | |
|---|---|---|
|
|
lead | moc.tcejorp-ynofmys <<ta>> ottoninaz.siocnarf |
Copyright (c) 2004-2008 Fabien Potencier
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Version | License | API | Released |
|---|---|---|---|
| 1.1.5stable | MIT license | 1.1.0stable | 01/02/2011 |
| 1.1.4stable | MIT license | 1.1.0stable | 08/08/2010 |
| 1.1.0stable | MIT license | 1.1.0stable | 31/07/2010 |
| 1.0.0stable | MIT license | 1.0.0stable | 25/05/2010 |
| 0.9.3beta | MIT license | 0.9.0beta | 19/05/2010 |
| 0.9.2beta | MIT license | 0.9.0beta | 06/05/2010 |
| 0.9.0beta | MIT license | 0.9.0beta | 13/04/2010 |
| 0.5.6alpha | MIT license | 0.5.0alpha | 30/12/2009 |
| 0.5.5alpha | MIT license | 0.5.0alpha | 28/12/2009 |
| 0.5.4alpha | MIT license | 0.5.0alpha | 17/12/2009 |
| 0.5.3alpha | MIT license | 0.5.0alpha | 17/12/2009 |
| Version | License | API | Released |
|---|---|---|---|
| 1.1.5stable | MIT license | 1.1.0stable | 01/02/2011 |
| 1.1.4stable | MIT license | 1.1.0stable | 08/08/2010 |
| 1.1.0stable | MIT license | 1.1.0stable | 31/07/2010 |
| 1.0.0stable | MIT license | 1.0.0stable | 25/05/2010 |
| 0.9.3beta | MIT license | 0.9.0beta | 19/05/2010 |
| 0.9.2beta | MIT license | 0.9.0beta | 06/05/2010 |
| 0.9.0beta | MIT license | 0.9.0beta | 13/04/2010 |
| 0.5.6alpha | MIT license | 0.5.0alpha | 30/12/2009 |
| 0.5.5alpha | MIT license | 0.5.0alpha | 28/12/2009 |
| 0.5.4alpha | MIT license | 0.5.0alpha | 17/12/2009 |
| 0.5.3alpha | MIT license | 0.5.0alpha | 17/12/2009 |
Array
generator.yml syntax, the schema.yml syntax, and the custom form widgets and validatorsArray
Replaces symfony's core Propel plugin by the latest version of Propel, in branch 1.5.
Install the plugin via the subversion repository:
$ svn co http://svn.symfony-project.com/plugins/sfPropel15Plugin/trunk plugins/sfPropel15Plugin
from the project root directory or by using the command:
$ ./symfony plugin:install sfPropel15Plugin
Right after the installation of the plugin, you should update plugin assets:
$ ./symfony plugin:publish-assets
Disable the core Propel plugin and enable the sfPropel15Plugin instead:
class ProjectConfiguration extends sfProjectConfiguration { public function setup() { $this->enablePlugins('sfPropel15Plugin'); } }
Propel 1.5 is a backwards compatible evolution of Propel 1.4 (the version bundled with symfony 1.3 and 1.4), which adds some very interesting features. Among these features, you will find the new Propel Query API, which is essentially a Criteria on steroids. Check out the WHATS_NEW page in the Propel trac to see the full list of changes.
$books = PropelQuery::from('Book b') ->join('b.Author a') ->where('a.FirstName = ?', 'Leo') ->limit(10) ->find($con);
