Parameters in the valuelists__ function

Archived from the Xataface Users forum.

Jean — Sat Jul 28, 2012 6:24 am

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


shannah — Mon Jul 30, 2012 12:24 pm

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