\TbExtendedTooltipAction

## Class TbExtendedTooltipAction

Summary

Methods
Properties
Constants
run()
$tooltipTable
$connectionID
No constants found
getDbConnection()
$_db
N/A
No private methods found
No private properties found
N/A

Properties

$tooltipTable

$tooltipTable : string

Type

string — the name of the table for keeping applied migration information. This table will be automatically created if not exists. Defaults to 'tbl_tooltip'. The table structure is: (key varchar(255) primary key, tooltip varchar(255))

$connectionID

$connectionID : string

Type

string — the application component ID that specifies the database connection for storing tooltip information. Defaults to 'db'.

$_db

$_db : \CDbConnection

Type

\CDbConnection

Methods

run()

run()

CAction run's method

getDbConnection()

getDbConnection() : \CDbConnection

Returns the currently active database connection.

By default, the 'db' application component will be returned and activated. You can call {@link setDbConnection} to switch to a different database connection. Methods such as {@link insert}, {@link createTable} will use this database connection to perform DB queries.

Throws

\CException

Returns

\CDbConnection —

the currently active database connection