PHP 클래스 Kdyby\Doctrine\Connection

저자: Filip Procházka ([email protected])
상속: extends Doctrine\DBAL\Connection
파일 보기 프로젝트 열기: kdyby/doctrine 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$throwOldKdybyExceptions boolean

공개 메소드들

메소드 설명
__call ( string $name, array $args ) : mixed Call to undefined method.
__callStatic ( string $name, array $args ) : mixed Call to undefined static method.
__get ( string $name ) : mixed Returns property value. Do not call directly.
__isset ( string $name ) : boolean Is property defined?
__set ( string $name, mixed $value ) : void Sets value of a property. Do not call directly.
__unset ( string $name ) : void Access to undeclared property.
bindEntityManager ( EntityManager $em )
connect ( )
create ( array $params, Doctrine\DBAL\Configuration $config, Doctrine\Common\EventManager $eventManager ) : Connection
createQueryBuilder ( ) : Doctrine\DBAL\Query\QueryBuilder | Kdyby\Doctrine\NativeQueryBuilder
delete ( $tableExpression, array $identifier, array $types = [] )
exec ( string $statement ) : integer
executeQuery ( string $query, array $params = [], array $types = [], Doctrine\DBAL\Cache\QueryCacheProfile $qcp = NULL ) : Doctrine\DBAL\Driver\Statement
executeUpdate ( string $query, array $params = [], array $types = [] ) : integer
extensionMethod ( $name, null $callback = NULL ) : callable | null Adding method to class.
getDatabasePlatform ( ) : Doctrine\DBAL\Platforms\AbstractPlatform
getReflection ( ) : ClassType Access to reflection.
insert ( $tableExpression, array $data, array $types = [] )
ping ( )
prepare ( string $statement ) : Kdyby\Doctrine\PDOStatement Prepares an SQL statement.
query ( ) : Doctrine\DBAL\Driver\Statement | mixed
quoteIdentifier ( string $expression ) : string Tries to autodetect, if identifier has to be quoted and quotes it.
resolveException ( Exception | Throwable $e, string $query = NULL, array $params = [] ) : DBALException
setDbalTypes ( array $dbalTypes )
setSchemaTypes ( array $schemaTypes )
update ( $tableExpression, array $data, array $identifier, array $types = [] )

비공개 메소드들

메소드 설명
resolveExceptionTable ( Exception | Throwable $e ) : string | null

메소드 상세

__call() 공개 메소드

Call to undefined method.
public __call ( string $name, array $args ) : mixed
$name string
$args array
리턴 mixed

__callStatic() 공개 정적인 메소드

Call to undefined static method.
public static __callStatic ( string $name, array $args ) : mixed
$name string
$args array
리턴 mixed

__get() 공개 메소드

Returns property value. Do not call directly.
public __get ( string $name ) : mixed
$name string
리턴 mixed

__isset() 공개 메소드

Is property defined?
public __isset ( string $name ) : boolean
$name string
리턴 boolean

__set() 공개 메소드

Sets value of a property. Do not call directly.
public __set ( string $name, mixed $value ) : void
$name string
$value mixed
리턴 void

__unset() 공개 메소드

Access to undeclared property.
public __unset ( string $name ) : void
$name string
리턴 void

bindEntityManager() 공개 메소드

public bindEntityManager ( EntityManager $em )
$em Doctrine\ORM\EntityManager

connect() 공개 메소드

public connect ( )

create() 공개 정적인 메소드

public static create ( array $params, Doctrine\DBAL\Configuration $config, Doctrine\Common\EventManager $eventManager ) : Connection
$params array
$config Doctrine\DBAL\Configuration
$eventManager Doctrine\Common\EventManager
리턴 Connection

createQueryBuilder() 공개 메소드

public createQueryBuilder ( ) : Doctrine\DBAL\Query\QueryBuilder | Kdyby\Doctrine\NativeQueryBuilder
리턴 Doctrine\DBAL\Query\QueryBuilder | Kdyby\Doctrine\NativeQueryBuilder

delete() 공개 메소드

public delete ( $tableExpression, array $identifier, array $types = [] )
$identifier array
$types array

exec() 공개 메소드

public exec ( string $statement ) : integer
$statement string
리턴 integer

executeQuery() 공개 메소드

public executeQuery ( string $query, array $params = [], array $types = [], Doctrine\DBAL\Cache\QueryCacheProfile $qcp = NULL ) : Doctrine\DBAL\Driver\Statement
$query string
$params array
$types array
$qcp Doctrine\DBAL\Cache\QueryCacheProfile
리턴 Doctrine\DBAL\Driver\Statement

executeUpdate() 공개 메소드

public executeUpdate ( string $query, array $params = [], array $types = [] ) : integer
$query string
$params array
$types array
리턴 integer

extensionMethod() 공개 정적인 메소드

Adding method to class.
public static extensionMethod ( $name, null $callback = NULL ) : callable | null
$name
$callback null
리턴 callable | null

getDatabasePlatform() 공개 메소드

public getDatabasePlatform ( ) : Doctrine\DBAL\Platforms\AbstractPlatform
리턴 Doctrine\DBAL\Platforms\AbstractPlatform

getReflection() 공개 정적인 메소드

Access to reflection.
public static getReflection ( ) : ClassType
리턴 Nette\Reflection\ClassType

insert() 공개 메소드

public insert ( $tableExpression, array $data, array $types = [] )
$data array
$types array

ping() 공개 메소드

public ping ( )

prepare() 공개 메소드

Prepares an SQL statement.
public prepare ( string $statement ) : Kdyby\Doctrine\PDOStatement
$statement string The SQL statement to prepare.
리턴 Kdyby\Doctrine\PDOStatement The prepared statement.

query() 공개 메소드

public query ( ) : Doctrine\DBAL\Driver\Statement | mixed
리턴 Doctrine\DBAL\Driver\Statement | mixed

quoteIdentifier() 공개 메소드

Tries to autodetect, if identifier has to be quoted and quotes it.
public quoteIdentifier ( string $expression ) : string
$expression string
리턴 string

resolveException() 공개 메소드

사용 중단:
public resolveException ( Exception | Throwable $e, string $query = NULL, array $params = [] ) : DBALException
$e Exception | Throwable
$query string
$params array
리턴 DBALException

setDbalTypes() 공개 메소드

public setDbalTypes ( array $dbalTypes )
$dbalTypes array

setSchemaTypes() 공개 메소드

public setSchemaTypes ( array $schemaTypes )
$schemaTypes array

update() 공개 메소드

public update ( $tableExpression, array $data, array $identifier, array $types = [] )
$data array
$identifier array
$types array

프로퍼티 상세

$throwOldKdybyExceptions 공개적으로 프로퍼티

public bool $throwOldKdybyExceptions
리턴 boolean