Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Weird Parent->Child->Child screens help (Sorry for the complexity)
Re: Weird Parent->Child->Child screens help [message #1433 is a reply to message #1432] Tue, 08 July 2008 19:33 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2367
Registered: April 2006
Location: Surrey, UK
Senior Member
You don't need to modify std.list1.inc to call your helper function instead of getData(). You can use a special class which inherits from 'std.table.class.inc' even though it does not do any database access. Take a look at http://www.tonymarston.net/php-mysql/infrastructure-faq.html #faq57 which describes the use of a virtual table - a class which has no corresponding database table. This describes a task which is available in the Classroom prototype, so you have some working code to examine which you can use to build your own task.

The getData() will by default try to access the database, but after receiving data from the parent class you can turn off the database read and do something else instead. You can even construct the string which is then passed down to the next table class.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Screen structure reference for filepicker-ed images
Next Topic: proportional scaling of thumbnails in filepicker (for images)
Goto Forum:
  


Current Time: Fri Nov 22 11:42:06 EST 2024

Total time taken to generate the page: 0.01064 seconds