Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > Project Settings API

About Project Settings API

Scroll Prev Next More

 

The Project Settings API provides read-only access to information about tables, fields, master-detail relationships, and Lookup Wizard settings in the generated application.

Create a ProjectSettings object for the table whose settings you want to retrieve.

 

$settings = new ProjectSettings("Orders");

Methods

Method

Description

getTableKeys()

Returns the names of the table's key fields.

getDetailsTables()

Returns the names of the detail tables linked to the current table.

getDetailsKeys()

Returns the fields that link the current master table to a detail table.

getMasterTables()

Returns information about the master tables linked to the current table.

getMasterKeys()

Returns the fields that link a master table to the current detail table.

getFieldsList()

Returns the names of all fields in the table or data source.

label()

Returns the display label of a field.

getLookupTable()

Returns the table used by a field's Lookup Wizard.

getLinkField()

Returns the Lookup Wizard field whose value is saved.

getDisplayField()

Returns the Lookup Wizard field displayed to the user.

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software