Ext.TableSingularName( tableDbNameOrId )

Description

Returns the singular name, such as "Incident," of the specified table.

Argument

tableDbNameOrId

Use this argument to specify a tables's database name or TS_ID. If the parameter tableDbNameOrId is a non-numeric string, it is taken as the table's database name, such as "TS_INCIDENTS." Otherwise, the parameter is converted to a number and taken as the table's ID.

Return Values

Returns the singular name of the specified table. Returns an empty string if the specified table does not exist.

Related Topics