madcorp / zfdatagrid

Automatically exported from code.google.com/p/zfdatagrid
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Transform option not work #863

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Whe I use the transform option for a date, this not execute the required 
function

$filters->addFilter('date',array('transform'=>'my_function'));

my_function exists and work fine.

Original issue reported on code.google.com by aherna...@abrahamhernando.net on 21 May 2012 at 7:39

GoogleCodeExporter commented 9 years ago
Hi,

Change:
'transform'=>'my_function'
to
'transform'=>array($this, 'my_function')

Original comment by ivomonte...@gmail.com on 22 May 2012 at 6:48