Свойство | Type | Description | |
---|---|---|---|
$conn_id | resource | object | Connection ID | |
$current_row | integer | Current Row index | |
$custom_result_object | object[] | Custom Result Object | |
$num_rows | integer | Number of rows | |
$result_array | array[] | Result Array | |
$result_id | resource | object | Result ID | |
$result_object | object[] | Result Object | |
$row_data | array | Row data |
Méthode | Description | |
---|---|---|
__construct ( object &$driver_object ) : void | Constructor | |
custom_result_object ( string $class_name ) : array | Custom query result. | |
custom_row_object ( integer $n, string $type ) : object | Returns a single result row - custom object version | |
data_seek ( integer $n ) : boolean | Data Seek | |
field_data ( ) : array | Field data | |
first_row ( string $type = 'object' ) : mixed | Returns the "first" row | |
free_result ( ) : void | Free the result | |
last_row ( string $type = 'object' ) : mixed | Returns the "last" row | |
list_fields ( ) : array | Fetch Field Names | |
next_row ( string $type = 'object' ) : mixed | Returns the "next" row | |
num_fields ( ) : integer | Number of fields in the result set | |
num_rows ( ) : integer | Number of rows in the result set | |
previous_row ( string $type = 'object' ) : mixed | Returns the "previous" row | |
result ( string $type = 'object' ) : array | Query result. Acts as a wrapper function for the following functions. | |
result_array ( ) : array | Query result. "array" version. | |
result_object ( ) : array | Query result. "object" version. | |
row ( mixed $n, string $type = 'object' ) : mixed | Row | |
row_array ( integer $n ) : array | Returns a single result row - array version | |
row_object ( integer $n ) : object | Returns a single result row - object version | |
set_row ( mixed $key, mixed $value = NULL ) : void | Assigns an item into a particular column slot | |
unbuffered_row ( string $type = 'object' ) : mixed | Returns an unbuffered row and move pointer to next row |
Méthode | Description | |
---|---|---|
_fetch_assoc ( ) : array | Result - associative array | |
_fetch_object ( string $class_name = 'stdClass' ) : object | Result - object |
public __construct ( object &$driver_object ) : void | ||
$driver_object | object | |
Résultat | void |
protected _fetch_assoc ( ) : array | ||
Résultat | array |
protected _fetch_object ( string $class_name = 'stdClass' ) : object | ||
$class_name | string | |
Résultat | object |
public custom_result_object ( string $class_name ) : array | ||
$class_name | string | |
Résultat | array |
public field_data ( ) : array | ||
Résultat | array |
public free_result ( ) : void | ||
Résultat | void |
public list_fields ( ) : array | ||
Résultat | array |
public num_fields ( ) : integer | ||
Résultat | integer |
public previous_row ( string $type = 'object' ) : mixed | ||
$type | string | |
Résultat | mixed |
public result_array ( ) : array | ||
Résultat | array |
public result_object ( ) : array | ||
Résultat | array |
public row_object ( integer $n ) : object | ||
$n | integer | |
Résultat | object |
public unbuffered_row ( string $type = 'object' ) : mixed | ||
$type | string | 'array', 'object' or a custom class name |
Résultat | mixed |
public resource|object $conn_id | ||
Résultat | resource | object |
public object[] $custom_result_object | ||
Résultat | object[] |
public resource|object $result_id | ||
Résultat | resource | object |