Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.9.3

Bug #3769 get* method not called
Submitted: 2005-03-10 17:37 UTC
From: listsdg at yahoo dot fr Assigned: asnagy
Status: Closed Package: Structures_DataGrid
PHP Version: 4.3.10 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 + 11 = ?

 
 [2005-03-10 17:37 UTC] listsdg at yahoo dot fr
Description: ------------ Line 221 of Structures_DataGrid_DataSource_DataObject, if a get* method exists, the datasource call a property instead of the method. Reproduce code: --------------- $getMethod = 'get'.$fName; if (method_exists($this->_dataobject, $getMethod)) { //$rec[$fName] = $this->_dataobject->$getMethod(&$this); $rec[$fName] = $this->_dataobject->$getMethod; } should be ...$getMethod() Expected result: ---------------- result of the existant get* method Actual result: -------------- notice error (Undefined property get*)

Comments

 [2005-03-11 22:52 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!