PHP 클래스 Ouzo\Db\StatementExecutor

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

공개 메소드들

메소드 설명
_createPdoStatement ( )
_internalExecute ( $afterCallback )
execute ( ) Returns number of affected rows
executeAndFetch ( $function, $fetchStyle )
fetch ( $fetchMode = PDO::FETCH_ASSOC )
fetchAll ( $fetchMode = PDO::FETCH_ASSOC )
fetchIterator ( )
prepare ( $dbHandle, $sql, $boundValues, $options )

비공개 메소드들

메소드 설명
__construct ( $dbHandle, $sql, $boundValues, $pdoExecutor )
_execute ( $afterCallback )

메소드 상세

_createPdoStatement() 공개 메소드

public _createPdoStatement ( )

_internalExecute() 공개 메소드

public _internalExecute ( $afterCallback )

execute() 공개 메소드

Returns number of affected rows
public execute ( )

executeAndFetch() 공개 메소드

public executeAndFetch ( $function, $fetchStyle )

fetch() 공개 메소드

public fetch ( $fetchMode = PDO::FETCH_ASSOC )

fetchAll() 공개 메소드

public fetchAll ( $fetchMode = PDO::FETCH_ASSOC )

fetchIterator() 공개 메소드

public fetchIterator ( )

prepare() 공개 정적인 메소드

public static prepare ( $dbHandle, $sql, $boundValues, $options )