#1322: model's attribute getter should not be generated with an argument
-------------------------------+--------------------------------------------
 Reporter:  rob...@…           |       Owner:  impl 
     Type:  defect             |      Status:  new  
 Priority:  normal             |   Milestone:  1.0.4
Component:  build              |     Version:  HEAD 
 Severity:  normal             |    Keywords:       
Has_patch:  1                  |  
-------------------------------+--------------------------------------------
 When creating a model using the build system, the getter functions are
 generated with an non-optional parameter (named after the actual
 attribute). While I expect getters not to need an argument.

 {{{
         /**
          * Retrieves the foo attribute.
          *
          * @return       String the value for foo
          */
         public function getFoo($foo)
         {
                 return $this->foo;
         }
 }}}

-- 
Ticket URL: <http://trac.agavi.org/ticket/1322>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5



_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to