public bindColumn ( integer | string $column, mixed &$value, integer $dataType = null ) | ||
$column | integer | string | Number of the column (1-indexed) or name of the column in the result set. If using the column name, be aware that the name should match the case of the column, as returned by the driver. |
$value | mixed | Name of the PHP variable to which the column will be bound. |
$dataType | integer | Data type of the parameter |
public function bindColumn($column, &$value, $dataType = null)
{
if ($dataType === null) {
$this->_statement->bindColumn($column, $value);
} else {
$this->_statement->bindColumn($column, $value, $dataType);
}
}