PHP Class Doctrine\DBAL\Driver\Mysqli\MysqliStatement

Author: Kim Hemsø Rasmussen ([email protected])
Inheritance: implements IteratorAggregate, implements Doctrine\DBAL\Driver\Statement
Datei anzeigen Open project: doctrine/dbal

Protected Properties

Property Type Description
$_bindedValues array
$_columnNames null | boolean | array
$_conn mysqli
$_defaultFetchMode integer
$_paramTypeMap array
$_rowBindedValues null | array
$_stmt mysqli_stmt
$_values array Contains ref values for bindValue().
$types string

Public Methods

Method Description
__construct ( mysqli $conn, string $prepareString )
bindParam ( $column, &$variable, $type = null, $length = null )
bindValue ( $param, $value, $type = null )
closeCursor ( )
columnCount ( )
errorCode ( )
errorInfo ( )
execute ( $params = null )
fetch ( $fetchMode = null )
fetchAll ( $fetchMode = null )
fetchColumn ( $columnIndex )
getIterator ( )
rowCount ( )
setFetchMode ( $fetchMode, $arg2 = null, $arg3 = null )

Private Methods

Method Description
_bindValues ( array $values ) : boolean Binds a array of values to bound parameters.
_fetch ( ) : boolean | array

Method Details

__construct() public method

public __construct ( mysqli $conn, string $prepareString )
$conn mysqli
$prepareString string

bindParam() public method

public bindParam ( $column, &$variable, $type = null, $length = null )

bindValue() public method

public bindValue ( $param, $value, $type = null )

closeCursor() public method

public closeCursor ( )

columnCount() public method

public columnCount ( )

errorCode() public method

public errorCode ( )

errorInfo() public method

public errorInfo ( )

execute() public method

public execute ( $params = null )

fetch() public method

public fetch ( $fetchMode = null )

fetchAll() public method

public fetchAll ( $fetchMode = null )

fetchColumn() public method

public fetchColumn ( $columnIndex )

getIterator() public method

public getIterator ( )

rowCount() public method

public rowCount ( )

setFetchMode() public method

public setFetchMode ( $fetchMode, $arg2 = null, $arg3 = null )

Property Details

$_bindedValues protected_oe property

protected array $_bindedValues
return array

$_columnNames protected_oe property

protected null|bool|array $_columnNames
return null | boolean | array

$_conn protected_oe property

protected mysqli $_conn
return mysqli

$_defaultFetchMode protected_oe property

protected int $_defaultFetchMode
return integer

$_paramTypeMap protected_oe static_oe property

protected static array $_paramTypeMap
return array

$_rowBindedValues protected_oe property

protected null|array $_rowBindedValues
return null | array

$_stmt protected_oe property

protected mysqli_stmt $_stmt
return mysqli_stmt

$_values protected_oe property

Contains ref values for bindValue().
protected array $_values
return array

$types protected_oe property

protected string $types
return string