Doctrine 1
  1. Doctrine 1
  2. DC-596

make it possible to pass in builderOptions for templates

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.2
    • Component/s: None
    • Labels:
      None

      Description

      http://trac.symfony-project.org/ticket/8421

      It seems like it just requires to pass in a builderOption array into any class extending Doctrine_Record_Generator. I think it would be a good idea to start adding support for this into all internal behaviors.

      and then doing something like the following in the schema:

      Foo:
      actAs:
      Taggable:
      builderOptions:
      baseClassName: MyBaseRecord

      1. Tag.php.patch
        0.6 kB
        Lukas Kahwe
      2. Taggable.php.patch
        1 kB
        Lukas Kahwe

        Activity

        Hide
        Jonathan H. Wage added a comment -

        You can go ahead and commit this. It looks good to me! Thanks, Jon

        Show
        Jonathan H. Wage added a comment - You can go ahead and commit this. It looks good to me! Thanks, Jon
        Hide
        Lukas Kahwe added a comment -

        ok .. i will apply the patch to the Taggable behavior. Not sure when I will find time to do the same for the core behaviors, a helping hand would be appreciated.

        Show
        Lukas Kahwe added a comment - ok .. i will apply the patch to the Taggable behavior. Not sure when I will find time to do the same for the core behaviors, a helping hand would be appreciated.
        Hide
        Jonathan H. Wage added a comment -

        We can add it to the other behaviors as needed.

        Show
        Jonathan H. Wage added a comment - We can add it to the other behaviors as needed.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Lukas Kahwe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: