PHP 클래스 Pix_Table_Db_Adapter_MysqlCommon, pixframework

상속: extends Pix_Table_Db_Adapter_SQL
파일 보기 프로젝트 열기: pixnet/pixframework

공개 메소드들

메소드 설명
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 起來。

메소드 상세

checkTable() 공개 메소드

public checkTable ( $table )

column_quote() 공개 메소드

column_quote 把 $name 字串加上 quote
public column_quote ( string $name ) : string
$name string
리턴 string

createTable() 공개 메소드

createTable 將 $table 建立進資料庫內
public createTable ( Pix_Table $table ) : void
$table Pix_Table
리턴 void

dropTable() 공개 메소드

dropTable 從資料庫內移除 $table 這個 Table
public dropTable ( Pix_Table $table ) : void
$table Pix_Table
리턴 void

getTableFromDb() 공개 메소드

get Pix_Table object from db schema
public getTableFromDb ( $db_table_name, string $pix_table_name = null ) : Pix_Table
$pix_table_name string
리턴 Pix_Table

getTables() 공개 메소드

get table list on db
public getTables ( ) : array
리턴 array

query() 추상적인 공개 메소드

abstract public query ( $sql )

quoteWithColumn() 공개 메소드

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