PHP 클래스 MeekroDB, TeamPass

파일 보기 프로젝트 열기: nilsteampassnet/TeamPass 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$affected_rows
$current_db
$dbName initial connection
$encoding
$error_handler
$host
$insert_id
$internal_mysql internal
$named_param_seperator
$nested_transactions
$nested_transactions_count
$nonsql_error_handler
$num_rows
$param_char configure workings
$password
$port
$server_info
$success_handler
$throw_exception_on_error
$throw_exception_on_nonsql_error
$usenull
$user

공개 메소드들

메소드 설명
__construct ( $host = null, $user = null, $password = null, $dbName = null, $port = null, $encoding = null )
affectedRows ( )
columnList ( $table )
commit ( $all = false )
count ( )
debugMode ( $handler = true )
delete ( )
disconnect ( )
get ( )
insert ( $table, $data )
insertId ( )
insertIgnore ( $table, $data )
insertOrReplace ( $which, $table, $datas, $options = [] )
insertUpdate ( )
nonSQLError ( $message )
numRows ( )
query ( )
queryAllLists ( )
queryFirstColumn ( )
queryFirstField ( )
queryFirstList ( )
queryFirstRow ( )
queryFullColumns ( )
queryOneColumn ( )
queryOneField ( )
queryOneList ( )
queryOneRow ( )
queryRaw ( )
queryRawUnbuf ( )
replace ( $table, $data )
rollback ( $all = false )
serverVersion ( )
setDB ( $dbName )
sqleval ( )
startTransaction ( )
tableList ( $db = null )
transactionDepth ( )
update ( )
useDB ( )

보호된 메소드들

메소드 설명
escape ( $str )
formatTableName ( $table )
intval ( $var )
parseQueryParams ( )
parseTS ( $ts )
preparseQueryParams ( )
prependCall ( $function, $args, $prepend )
queryHelper ( )
sanitize ( $value )

메소드 상세

__construct() 공개 메소드

public __construct ( $host = null, $user = null, $password = null, $dbName = null, $port = null, $encoding = null )

affectedRows() 공개 메소드

public affectedRows ( )

columnList() 공개 메소드

public columnList ( $table )

commit() 공개 메소드

public commit ( $all = false )

count() 공개 메소드

public count ( )

debugMode() 공개 메소드

public debugMode ( $handler = true )

delete() 공개 메소드

public delete ( )

disconnect() 공개 메소드

public disconnect ( )

escape() 보호된 메소드

protected escape ( $str )

formatTableName() 보호된 메소드

protected formatTableName ( $table )

get() 공개 메소드

public get ( )

insert() 공개 메소드

public insert ( $table, $data )

insertId() 공개 메소드

public insertId ( )

insertIgnore() 공개 메소드

public insertIgnore ( $table, $data )

insertOrReplace() 공개 메소드

public insertOrReplace ( $which, $table, $datas, $options = [] )

insertUpdate() 공개 메소드

public insertUpdate ( )

intval() 보호된 메소드

protected intval ( $var )

nonSQLError() 공개 메소드

public nonSQLError ( $message )

numRows() 공개 메소드

public numRows ( )

parseQueryParams() 보호된 메소드

protected parseQueryParams ( )

parseTS() 보호된 메소드

protected parseTS ( $ts )

preparseQueryParams() 보호된 메소드

protected preparseQueryParams ( )

prependCall() 보호된 메소드

protected prependCall ( $function, $args, $prepend )

query() 공개 메소드

public query ( )

queryAllLists() 공개 메소드

public queryAllLists ( )

queryFirstColumn() 공개 메소드

public queryFirstColumn ( )

queryFirstField() 공개 메소드

public queryFirstField ( )

queryFirstList() 공개 메소드

public queryFirstList ( )

queryFirstRow() 공개 메소드

public queryFirstRow ( )

queryFullColumns() 공개 메소드

public queryFullColumns ( )

queryHelper() 보호된 메소드

protected queryHelper ( )

queryOneColumn() 공개 메소드

public queryOneColumn ( )

queryOneField() 공개 메소드

public queryOneField ( )

queryOneList() 공개 메소드

public queryOneList ( )

queryOneRow() 공개 메소드

public queryOneRow ( )

queryRaw() 공개 메소드

public queryRaw ( )

queryRawUnbuf() 공개 메소드

public queryRawUnbuf ( )

replace() 공개 메소드

public replace ( $table, $data )

rollback() 공개 메소드

public rollback ( $all = false )

sanitize() 보호된 메소드

protected sanitize ( $value )

serverVersion() 공개 메소드

public serverVersion ( )

setDB() 공개 메소드

public setDB ( $dbName )

sqleval() 공개 메소드

public sqleval ( )

startTransaction() 공개 메소드

public startTransaction ( )

tableList() 공개 메소드

public tableList ( $db = null )

transactionDepth() 공개 메소드

public transactionDepth ( )

update() 공개 메소드

public update ( )

useDB() 공개 메소드

public useDB ( )

프로퍼티 상세

$affected_rows 공개적으로 프로퍼티

public $affected_rows

$current_db 공개적으로 프로퍼티

public $current_db

$dbName 공개적으로 프로퍼티

initial connection
public $dbName

$encoding 공개적으로 프로퍼티

public $encoding

$error_handler 공개적으로 프로퍼티

public $error_handler

$host 공개적으로 프로퍼티

public $host

$insert_id 공개적으로 프로퍼티

public $insert_id

$internal_mysql 공개적으로 프로퍼티

internal
public $internal_mysql

$named_param_seperator 공개적으로 프로퍼티

public $named_param_seperator

$nested_transactions 공개적으로 프로퍼티

public $nested_transactions

$nested_transactions_count 공개적으로 프로퍼티

public $nested_transactions_count

$nonsql_error_handler 공개적으로 프로퍼티

public $nonsql_error_handler

$num_rows 공개적으로 프로퍼티

public $num_rows

$param_char 공개적으로 프로퍼티

configure workings
public $param_char

$password 공개적으로 프로퍼티

public $password

$port 공개적으로 프로퍼티

public $port

$server_info 공개적으로 프로퍼티

public $server_info

$success_handler 공개적으로 프로퍼티

public $success_handler

$throw_exception_on_error 공개적으로 프로퍼티

public $throw_exception_on_error

$throw_exception_on_nonsql_error 공개적으로 프로퍼티

public $throw_exception_on_nonsql_error

$usenull 공개적으로 프로퍼티

public $usenull

$user 공개적으로 프로퍼티

public $user