Parameters in the valuelists__ function

A place for users and developers of the Xataface to discuss and receive support.

Parameters in the valuelists__ function

Postby 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
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Re: Parameters in the valuelists__ function

Postby 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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved