Property | Type | Description | |
---|---|---|---|
$connectionID | the application component ID that specifies the database connection for storing tooltip information. Defaults to 'db'. | ||
$editable | whether the tooltip should be editable or not | ||
$editablePopupPlacement | the popup placement of the tooltip editor. Possible values: right | left | top | bottom. | ||
$editableType | the type of editable form. Possible values | ||
$emptyTooltipText | the text to display on the tooltip if no value has been found | ||
$key | the tooltip | ||
$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)) | ||
$url | the url to call |
Method | Description | |
---|---|---|
init ( ) | ### .init() | |
run ( ) | ### .run() |
Method | Description | |
---|---|---|
createTooltipsTable ( ) | ### .createTooltipsTable() | |
getDbConnection ( ) : CDbConnection | ### .getDbConnection() | |
getTooltip ( string $key ) : mixed | string | ### .getTooltip() | |
registerClientScript ( ) | ### .registerClientScript() | |
renderContent ( ) | ### .renderContent() |
protected createTooltipsTable ( ) |
protected getDbConnection ( ) : CDbConnection | ||
return | CDbConnection | the currently active database connection |
protected renderContent ( ) |
public $connectionID |
public $editablePopupPlacement |
public $emptyTooltipText |
public $tooltipTable |