Relational Database Interface - Result Class
private array $array_columns
Flag to remember if we need to reset the statement when using array access methods.
A reset is required once an 'execute' is made and then rows are accessed. If no rows are accessed then a reset is not required. This prevents a query from being executed multiple times when it's not necessary.
private array $select_groups
public __construct({Array})
Parameter | Type | Description |
---|
$adapter | Adapter | |
$statement | \PDOStatement | |
public __toString({Array})
Parameter | Type | Description |
---|
$key | string | |
public setSelectGroups({Array})
Parameter | Type | Description |
---|
$select_groups | array | |
public hasSelectGroups({Array})
public bindColumn({Array})
Parameter | Type | Description |
---|
$column | string | |
$param | mixed | |
$type | int | |
$maxlen | int | |
$driverdata | mixed | |
public bindParam({Array})
Parameter | Type | Description |
---|
$parameter | string | |
$variable | mixed | |
$data_type | int | |
$length | int | |
$driver_options | mixed | |
public bindValue({Array})
Parameter | Type | Description |
---|
$parameter | string | |
$value | mixed | |
$data_type | int | |
public closeCursor({Array})
public columnCount({Array})
public debugDumpParams({Array})
public errorCode({Array})
public errorInfo({Array})
Parameter | Type | Description |
---|
$input_parameters | array | |
Parameter | Type | Description |
---|
$fetch_style | int | |
$cursor_orientation | int | |
$cursor_offset | int | |
$ | false | |
Parameter | Type | Description |
---|
$fetch_mode | int | |
$fetch_argument | mixed | |
public fetchColumn({Array})
Parameter | Type | Description |
---|
$column_number | int | |
public fetchObject({Array})
Parameter | Type | Description |
---|
$class_name | string | |
$constructorArgs | array | |
public getAttribute({Array})
Parameter | Type | Description |
---|
$attribute | int | |
public getColumnMeta({Array})
Parameter | Type | Description |
---|
$column | string | |
public nextRowset({Array})
public setAttribute({Array})
Parameter | Type | Description |
---|
$attribute | int | |
$value | mixed | |
public setFetchMode({Array})
Parameter | Type | Description |
---|
$mode | int | |
Parameter | Type | Description |
---|
$cursor_orientation | int | |
$offset | int | |
Collates a result into a simple key/value array.
This is useful for generating SELECT lists directly from a resultset.
Parameter | Type | Description |
---|
$index_column | string | the column to use as the array index |
$value_column | string | the column to use as the array value |
$group_column | string | optional column name to group items by |
private processStatement({Array})
Parameter | Type | Description |
---|
$statement | \PDOStatement | |
Parameter | Type | Description |
---|
$record | array | |
Parameter | Type | Description |
---|
$data | array | |
Generated by Hazaar API Doc Generator