![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
| handle (&$params) | |
Handler for the RecordBrowser_lookup_single action. This action will display the title of a single record given its id and table. The id can be specified as a scalar value (if the table's primary key is a single field) a urlencoded string of keys and their associated values for tables with multiple fields in their primary key, or as a Xataface record id.
| $_GET['-table'] | The name of the table |
| $_GET['id'] | The id of the record that we want. |
Example usage:
index.php?-action=RecordBrowser_lookup_single&-table=people&-id=10
This was created specifically to be used by the RecordBrowser jquery component that is part of the lookup widget.
Related files: Dataface/FormTool/lookup.php HTML/QuickForm/lookup.php js/RecordBrowser
July 15, 2009
Definition at line 48 of file RecordBrowser_lookup_single.php.
| handle | ( | &$ | params | ) |
Definition at line 49 of file RecordBrowser_lookup_single.php.
1.7.4