#1644: Add support for custom getter in Doctrine_Record::toArray()
--------------------------+-------------------------------------------------
  Reporter:  adrive       |       Owner:  jwage                
      Type:  enhancement  |      Status:  new                  
  Priority:  minor        |   Milestone:  Unknown              
 Component:  Record       |     Version:  1.1-DEV              
Resolution:               |    Keywords:  toArray, record      
  Has_test:  0            |    Mystatus:  Pending Core Response
 Has_patch:  1            |  
--------------------------+-------------------------------------------------
Changes (by adrive):

  * has_patch:  0 => 1

Comment:

 And in model:
 {{{
 class MyModel extends ...
 {
   public function getToArrayMap()
   {
     return array('variables' => getVariablesAsYaml,
                  'non_existing_column' => getFullName,
     );
   }
 }

 }}}

-- 
Ticket URL: <http://trac.doctrine-project.org/ticket/1644#comment:1>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"doctrine-svn" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

Reply via email to