Ticket #1077 (closed defect: fixed)

Opened 14 months ago

Last modified 10 months ago

Implement accessor overriding for 1.0 branch

Reported by: jwage Owned by: romanb
Priority: minor Milestone:
Component: Attributes Version: 0.11.0
Severity: Keywords:
Cc: Has Test: no
Status: Pending Core Response Has Patch: no

Description

We need to implement propel style accessors for 1.0 and remove the generator_accessors option from Doctrine_Import_Builder. The one major flaw with generate_accessors is that it won't generate accessors for any columns/relations which are inherited from a behavior. I don't see a really good way to fix this. Doctrine should support these style accessors by default and these accessors would be the way that users would override native Doctrine accessors. When $user->first_name is called and a function getFirstName() exists, it will call it instead of the native first_name handler. Same for setters.

Change History

Changed 13 months ago by romanb

  • owner changed from jwage to romanb

will be backported from trunk.

Changed 13 months ago by jwage

  • milestone changed from 1.0.0 to 0.12.0

Changed 11 months ago by jwage

  • has_patch unset
  • milestone changed from Unknown to 1.0.0-RC1
  • mystatus set to Pending Core Response
  • summary changed from Implement propel style accessors to Backport accessor overriding from trunk
  • has_test unset

Changed 11 months ago by guilhermeblanco

  • milestone changed from 1.0.0-RC1 to 1.0.0

Changed 11 months ago by romanb

  • status changed from new to assigned

Changed 10 months ago by jwage

  • milestone changed from 1.0.0 to 1.0.0-RC2

Changed 10 months ago by jwage

  • summary changed from Backport accessor overriding from trunk to Implement accessor overriding for 1.0 branch

Changed 10 months ago by jwage

  • status changed from assigned to closed
  • resolution set to fixed

(In [4852]) fixes #1077

Changed 10 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Note: See TracTickets for help on using tickets.