Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
_fetch_assoc ( ) : array | Result - associative array | |
_fetch_object ( string $class_name = 'stdClass' ) : object | Result - object |
public __construct ( object &$driver_object ) : void | ||
$driver_object | object | |
Результат | void |
protected _fetch_assoc ( ) : array | ||
Результат | array |
protected _fetch_object ( string $class_name = 'stdClass' ) : object | ||
$class_name | string | |
Результат | object |
public custom_result_object ( string $class_name ) : array | ||
$class_name | string | |
Результат | array |
public field_data ( ) : array | ||
Результат | array |
public free_result ( ) : void | ||
Результат | void |
public list_fields ( ) : array | ||
Результат | array |
public num_fields ( ) : integer | ||
Результат | integer |
public previous_row ( string $type = 'object' ) : mixed | ||
$type | string | |
Результат | mixed |
public result_array ( ) : array | ||
Результат | array |
public result_object ( ) : array | ||
Результат | array |
public row_object ( integer $n ) : object | ||
$n | integer | |
Результат | object |
public unbuffered_row ( string $type = 'object' ) : mixed | ||
$type | string | 'array', 'object' or a custom class name |
Результат | mixed |
public resource|object $conn_id | ||
Результат | resource | object |
public object[] $custom_result_object | ||
Результат | object[] |
public resource|object $result_id | ||
Результат | resource | object |