Page 1 of 1

Parameters in the valuelists__ function

PostPosted: Sat Jul 28, 2012 6:24 am
by Jean
Hi Steve,

In the valuelists function inside a table delegate class, is it possible to use parameters ? I tried to add a &$record but had nothing.

Thank you

Jean

Re: Parameters in the valuelists__ function

PostPosted: Mon Jul 30, 2012 12:24 pm
by shannah
Valuelists are meant to be static so you can't pass parameters. I suppose you could cheat a little bit and get the current record for the request using Dataface_Application::getRecord().

-Steve