PHP Class Facile\DoctrineMySQLComeBack\Doctrine\DBAL\Statement

Inheritance: implements IteratorAggregate, implements Doctrine\DBAL\Driver\Statement
Afficher le fichier Open project: facile-it/doctrine-mysql-come-back

Protected Properties

Свойство Type Description
$conn Connection
$sql string
$stmt Doctrine\DBAL\Statement

Méthodes publiques

Méthode Description
__construct ( $sql, Connection $conn )
bindParam ( string $name, mixed &$var, integer $type = PDO::PARAM_STR, integer | null $length = null ) : boolean
bindValue ( string $name, mixed $value, mixed $type = null ) : boolean
closeCursor ( ) : boolean
columnCount ( ) : integer
errorCode ( ) : integer
errorInfo ( ) : array
execute ( array | null $params = null ) : boolean
fetch ( integer | null $fetchMode = null ) : mixed
fetchAll ( integer | null $fetchMode = null, integer $fetchArgument ) : mixed
fetchColumn ( integer $columnIndex ) : mixed
getIterator ( ) : Traversable
getWrappedStatement ( ) : Statement
rowCount ( ) : integer
setFetchMode ( integer $fetchMode, mixed $arg2 = null, mixed $arg3 = null ) : boolean

Private Methods

Méthode Description
createStatement ( ) Create Statement.

Method Details

__construct() public méthode

public __construct ( $sql, Connection $conn )
$sql
$conn Connection

bindParam() public méthode

public bindParam ( string $name, mixed &$var, integer $type = PDO::PARAM_STR, integer | null $length = null ) : boolean
$name string
$var mixed
$type integer
$length integer | null
Résultat boolean

bindValue() public méthode

public bindValue ( string $name, mixed $value, mixed $type = null ) : boolean
$name string
$value mixed
$type mixed
Résultat boolean

closeCursor() public méthode

public closeCursor ( ) : boolean
Résultat boolean

columnCount() public méthode

public columnCount ( ) : integer
Résultat integer

errorCode() public méthode

public errorCode ( ) : integer
Résultat integer

errorInfo() public méthode

public errorInfo ( ) : array
Résultat array

execute() public méthode

public execute ( array | null $params = null ) : boolean
$params array | null
Résultat boolean

fetch() public méthode

public fetch ( integer | null $fetchMode = null ) : mixed
$fetchMode integer | null
Résultat mixed

fetchAll() public méthode

public fetchAll ( integer | null $fetchMode = null, integer $fetchArgument ) : mixed
$fetchMode integer | null
$fetchArgument integer
Résultat mixed

fetchColumn() public méthode

public fetchColumn ( integer $columnIndex ) : mixed
$columnIndex integer
Résultat mixed

getIterator() public méthode

public getIterator ( ) : Traversable
Résultat Traversable

getWrappedStatement() public méthode

public getWrappedStatement ( ) : Statement
Résultat Doctrine\DBAL\Statement

rowCount() public méthode

public rowCount ( ) : integer
Résultat integer

setFetchMode() public méthode

public setFetchMode ( integer $fetchMode, mixed $arg2 = null, mixed $arg3 = null ) : boolean
$fetchMode integer
$arg2 mixed
$arg3 mixed
Résultat boolean

Property Details

$conn protected_oe property

protected Connection,Facile\DoctrineMySQLComeBack\Doctrine\DBAL $conn
Résultat Connection

$sql protected_oe property

protected string $sql
Résultat string

$stmt protected_oe property

protected Statement,Doctrine\DBAL $stmt
Résultat Doctrine\DBAL\Statement