PHP 클래스 TbExtendedTooltipAction

상속: extends CAction
파일 보기 프로젝트 열기: yinhe/yincart

공개 프로퍼티들

프로퍼티 타입 설명
$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))

보호된 프로퍼티들

프로퍼티 타입 설명
$_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