Xataface 2.0
Xataface Application Framework
Public Member Functions | Static Public Member Functions | Data Fields
Dataface_TableTool Class Reference

Public Member Functions

 Dataface_TableTool ($tablename)
 resolveLink ($fieldname, &$record)

Static Public Member Functions

static & getInstance ($tablename)

Data Fields

 $_table
 $_app

Detailed Description

File: Dataface/TableTool.php Author: Steve Hannah <shannah@sfu.ca> Created: Oct. 20, 2005 Description: ------------

A tool provide application level integration to Table objects. This class allows the Table object to be decoupled from the rest of the Dataface package. The Table class has no knowledge of the Application object and associated Tools. This tool augments the capabilties of the Table object by opening access to the Application object and associated tools.

The goal is to make the Table object as self contained as possible. The Table object currently has access only to the Dataface_converters package and configuration information.

Definition at line 41 of file TableTool.php.


Member Function Documentation

Dataface_TableTool ( tablename)

Definition at line 46 of file TableTool.php.

static& getInstance ( tablename) [static]

Definition at line 51 of file TableTool.php.

resolveLink ( fieldname,
&$  record 
)

If there is a link associated with a field of the table, this method returns a full and proper url for the link.

Parameters:
fieldnameThe name of the field in the table.
$values

Definition at line 66 of file TableTool.php.


Field Documentation

$_app

Definition at line 44 of file TableTool.php.

$_table

Definition at line 43 of file TableTool.php.


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