PHP 클래스 Pimcore\Db

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

보호된 프로퍼티들

프로퍼티 타입 설명
$_logCaptureActive boolean
$_logProfilerWasEnabled boolean
$_sqlLogFilename string

공개 메소드들

메소드 설명
cleanupBrokenViews ( ) check if autogenerated views (eg. localized fields, .
close ( ) : void
errorHandler ( $method, $args, $exception, boolean $logError = true )
get ( ) : mixed | Zend_Db_Adapter_Abstract
getConnection ( boolean $raw = false, boolean $writeOnly = false ) : Wrapper | Zend_Db_Adapter_Abstract
getType ( ) : string
isDDLQuery ( $query ) : boolean
isDMSQuery ( $query ) : boolean
isWriteQuery ( $method, $args ) : boolean
logDefinitionModification ( string $sql )
reset ( ) : Zend_Db_Adapter_Abstract
set ( $connection )
startCapturingDefinitionModifications ( $connection, string $method, array $args )
stopCapturingDefinitionModifications ( $connection )

메소드 상세

cleanupBrokenViews() 공개 정적인 메소드

..) are still valid, if not, they're removed
public static cleanupBrokenViews ( )

close() 공개 정적인 메소드

public static close ( ) : void
리턴 void

errorHandler() 공개 정적인 메소드

public static errorHandler ( $method, $args, $exception, boolean $logError = true )
$method
$args
$exception
$logError boolean

get() 공개 정적인 메소드

public static get ( ) : mixed | Zend_Db_Adapter_Abstract
리턴 mixed | Zend_Db_Adapter_Abstract

getConnection() 공개 정적인 메소드

public static getConnection ( boolean $raw = false, boolean $writeOnly = false ) : Wrapper | Zend_Db_Adapter_Abstract
$raw boolean
$writeOnly boolean
리턴 Pimcore\Db\Wrapper | Zend_Db_Adapter_Abstract

getType() 공개 정적인 메소드

public static getType ( ) : string
리턴 string

isDDLQuery() 공개 정적인 메소드

public static isDDLQuery ( $query ) : boolean
$query
리턴 boolean

isDMSQuery() 공개 정적인 메소드

public static isDMSQuery ( $query ) : boolean
$query
리턴 boolean

isWriteQuery() 공개 정적인 메소드

public static isWriteQuery ( $method, $args ) : boolean
$method
$args
리턴 boolean

logDefinitionModification() 공개 정적인 메소드

public static logDefinitionModification ( string $sql )
$sql string

reset() 공개 정적인 메소드

public static reset ( ) : Zend_Db_Adapter_Abstract
리턴 Zend_Db_Adapter_Abstract

set() 공개 정적인 메소드

public static set ( $connection )
$connection

startCapturingDefinitionModifications() 공개 정적인 메소드

public static startCapturingDefinitionModifications ( $connection, string $method, array $args )
$method string
$args array

stopCapturingDefinitionModifications() 공개 정적인 메소드

public static stopCapturingDefinitionModifications ( $connection )

프로퍼티 상세

$_logCaptureActive 보호되어 있는 정적으로 프로퍼티

protected static bool $_logCaptureActive
리턴 boolean

$_logProfilerWasEnabled 보호되어 있는 정적으로 프로퍼티

protected static bool $_logProfilerWasEnabled
리턴 boolean

$_sqlLogFilename 보호되어 있는 정적으로 프로퍼티

protected static string $_sqlLogFilename
리턴 string