Xataface 2.0
Xataface Application Framework
Public Member Functions
dataface_actions_RecordBrowser_lookup_single Class Reference

Public Member Functions

 handle (&$params)

Detailed Description

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.

Parameters:
$_GET['-table']The name of the table
$_GET['id']The id of the record that we want.
Returns:
The title of the record.

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

Author:
Steve Hannah <shannah@sfu.ca>

Definition at line 48 of file RecordBrowser_lookup_single.php.


Member Function Documentation

handle ( &$  params)

Definition at line 49 of file RecordBrowser_lookup_single.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations