sfPropel15Plugin - 0.5.5

Replaces symfony's core Propel plugin by the latest version of Propel, in branch 1.5.

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
This plugin is deprecated and is not maintained anymore. Please, use the sfPropelORMPlugin plugin : http://www.symfony-project.org/plugins/sfPropelORMPlugin
Show source

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');
  }
}

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);