PHP Класс TbExtendedTooltipAction

Наследование: extends CAction
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$connectionID the application component ID that specifies the database connection for storing tooltip information. Defaults to 'db'.
$tooltipTable 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))

Защищенные свойства (Protected)

Свойство Тип Описание
$_db CDbConnection

Открытые методы

Метод Описание
run ( ) CAction run's method

Защищенные методы

Метод Описание
getDbConnection ( ) : CDbConnection Returns the currently active database connection.

Описание методов

getDbConnection() защищенный Метод

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.
protected getDbConnection ( ) : CDbConnection
Результат CDbConnection the currently active database connection

run() публичный Метод

CAction run's method
public run ( )

Описание свойств

$_db защищенное свойство

protected CDbConnection $_db
Результат CDbConnection

$connectionID публичное свойство

the application component ID that specifies the database connection for storing tooltip information. Defaults to 'db'.
public $connectionID

$tooltipTable публичное свойство

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))
public $tooltipTable