This plugin is deprecated and is not maintained anymore.
Please, use the sfPropelORMPlugin plugin : http://www.symfony-project.org/plugins/sfPropelORMPlugin
Releases for sf 1.4
| 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 |
Releases for sf 1.3
| 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 |
Changelog for release 0.5.6 - 30/12/2009
- Fixed path to the symfony behaviors in propel.ini
Other releases
Release 1.1.5 - 01/02/2011
- Added js escaping in sfWidgetFormSchemaOptional (closes #9012)
- Added options to new related form (closes #9319)
- Fixed wrong comment in js code (closes #9012)
- Updated externals to use Propel 1.5.6
Release 1.1.4 - 08/08/2010
- Fixed package that prevented installation via command line
Release 1.1.0 - 31/07/2010
- Upgraded bundled Propel lib to 1.5.3
- Fixed issue with filters for boolean columns in Oracle (closes #8897)
- Using remove_fields options in optional form when embedding/merging a form
- Made it possible to define mysql-specific table attributes for SQL generation (closes #8816)
- Added max_additions options to mergeRelation() and embedRelation()
- Fixed option remove_fields was ignored in sfFormPropel::mergeRelation()
- Fixed mergeRelation() with latest changes in sfForm
- Added support for vendor data in schema.yml columns (patch from Dan Tudor)
* Added a way to customize the new form in an embedded relation form
Release 1.0.0 - 25/05/2010
- Added a mention in the installation instructions to rebuild the model
Release 0.9.3 - 19/05/2010
- Updated Propel externals to 1.5.1 stable
- Introducing Propel15Routes
- Fixed issue when combining single table inheritance with symfony i18n (closes #8480)
- Added sfFormPropelCollection
- Added sfFormPropel::embedRelation(), and the ability to edit, add and delete related objects from a main form
- Added the ability to set query_methods on routes
- Updated Documentation
Release 0.9.2 - 06/05/2010
- Updated Propel externals to 1.5.0 stable
- Added detailed logs to propel:data-load task
- Refactored documentation - look in the 'docs' directory for a complete reference of the
generator.yml syntax, the schema.yml syntax, and the custom form widgets and validators
- Updated Propel validators to use the new Query objects
- Updated CRUD generator to use the new Query objects
- Added Oracle custom column types handling in generator
- Allowing advanced form customization from generator.yml
- Added the ability to use "plain" type for form fields, just like in symfony 1.2
Release 0.9.0 - 13/04/2010
- Added new admin generator extensions using new query objects
- Updated Propel externals to 1.5 beta 2
Release 0.5.6 - 30/12/2009
- Fixed path to the symfony behaviors in propel.ini
Release 0.5.5 - 28/12/2009
- Fixed double insertion of a constant by Propel and the PropelSymfonyBehavior
Release 0.5.4 - 17/12/2009
- Fixed a problem with the runtime configuration
Release 0.5.3 - 17/12/2009
sfPropel15Plugin
Replaces symfony's core Propel plugin by the latest version of Propel, in branch 1.5.
Installation
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');
}
}
Change the path of the symfony behaviors in the config/propel.ini file of your project:
propel.behavior.symfony.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfony
propel.behavior.symfony_i18n.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18n
propel.behavior.symfony_i18n_translation.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorI18nTranslation
propel.behavior.symfony_behaviors.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorSymfonyBehaviors
propel.behavior.symfony_timestampable.class = plugins.sfPropel15Plugin.lib.behavior.SfPropelBehaviorTimestampable
What's New
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);