PHP Class Pix_Table_Db_Adapter_MysqlCommon, pixframework

Inheritance: extends Pix_Table_Db_Adapter_SQL
Afficher le fichier Open project: pixnet/pixframework

Méthodes publiques

Méthode Description
checkTable ( $table )
column_quote ( string $name ) : string column_quote 把 $name 字串加上 quote
createTable ( Pix_Table $table ) : void createTable 將 $table 建立進資料庫內
dropTable ( Pix_Table $table ) : void dropTable 從資料庫內移除 $table 這個 Table
getTableFromDb ( $db_table_name, string $pix_table_name = null ) : Pix_Table get Pix_Table object from db schema
getTables ( ) : array get table list on db
query ( $sql )
quoteWithColumn ( $table, $value, $column_name ) : string quote 將 $str 字串內容 quote 起來。

Method Details

checkTable() public méthode

public checkTable ( $table )

column_quote() public méthode

column_quote 把 $name 字串加上 quote
public column_quote ( string $name ) : string
$name string
Résultat string

createTable() public méthode

createTable 將 $table 建立進資料庫內
public createTable ( Pix_Table $table ) : void
$table Pix_Table
Résultat void

dropTable() public méthode

dropTable 從資料庫內移除 $table 這個 Table
public dropTable ( Pix_Table $table ) : void
$table Pix_Table
Résultat void

getTableFromDb() public méthode

get Pix_Table object from db schema
public getTableFromDb ( $db_table_name, string $pix_table_name = null ) : Pix_Table
$pix_table_name string
Résultat Pix_Table

getTables() public méthode

get table list on db
public getTables ( ) : array
Résultat array

query() abstract public méthode

abstract public query ( $sql )

quoteWithColumn() public méthode

quote 將 $str 字串內容 quote 起來。
public quoteWithColumn ( $table, $value, $column_name ) : string
Résultat string