Development

ConvertingPropelProjectToDoctrine (diff)

You must first sign up to be able to contribute.

Changes between Version 13 and Version 14 of ConvertingPropelProjectToDoctrine

Show
Ignore:
Author:
ahammers (IP: 94.193.199.4)
Timestamp:
11/28/10 14:00:28 (7 years ago)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ConvertingPropelProjectToDoctrine

    v13 v14  
    166166=== step 6: Form classes === 
    167167The form classes will have things like "sfWidgetFormPropelChoiceMany" in them. Just a matter of doing search/replace of the word "Propel" with the word "Doctrine". 
    168 I also had some "sfWidgetFormPropelChoice" in there with a Criteria added to filter the choices. You need to change that to be an instance of "Doctrine_Query". You obviously have to change your model method to return this Doctrine_Query instead of the Criteria it did before.  
     168I also had some "sfWidgetFormPropelChoice" in there with a Criteria added to filter the choices. You need to change that to be an instance of "Doctrine_Query". You obviously have to change your model method to return this Doctrine_Query instead of the Criteria it did before. [http://www.articlesbase.com/currency-trading-articles/forex-crescendo-review-3717911.html forex crescendo review] 
    169169 
    170170In the following examples "$customerCriteria" and "$customerQuery" are not magic methods, you need to set these somewhere before in your form class!