Doctrine 1
  1. Doctrine 1
  2. DC-446

Doctrine_Record_Generator::createClass with Doctrine_Record_Listener

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2.1
    • Fix Version/s: 1.2.2
    • Component/s: Record
    • Labels:
      None

      Description

      Doctrine_Record_Generator::initialize first builds the table class and then a "Doctrine_Record" from that. This is surprising, as the result is a "double conversion" from record to table and back.

      Furthermore, writing files, no record listeners can be attached (see createClassFromTable)!

      I therefore suggest adding the possibility to add listeners - which the builder already does! - to the Record_Generator.

      1. diff
        0.6 kB
        Hans-Peter Oeri

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Jonathan H. Wage
            Reporter:
            Hans-Peter Oeri
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: