ArrayDatabaseResult
abstract class ArrayDatabaseResult extends DatabaseResult (View source)
Properties
| protected list<array<string, mixed>> | $rows | ||
| protected int | $pointer |
Methods
result(string $type = 'object')
array
array
array
custom_result_object(string $className)
array
row(int|string $n = 0, string $type = 'object')
mixed
row_array(int $n = 0)
array|null
row_object(int $n = 0)
object|null
first_row(string $type = 'object')
mixed
last_row(string $type = 'object')
mixed
next_row(string $type = 'object')
mixed
previous_row(string $type = 'object')
mixed
array|null
__construct(array $rows)
num_rows()
int
data_seek(int $n = 0)
bool
void
Details
result
array
result(string $type = 'object')
No description
result_object
array
result_object()
No description
result_array
array
result_array()
No description
custom_result_object
array
custom_result_object(string $className)
No description
row
mixed
row(int|string $n = 0, string $type = 'object')
No description
row_array
array|null
row_array(int $n = 0)
No description
row_object
object|null
row_object(int $n = 0)
No description
first_row
mixed
first_row(string $type = 'object')
No description
last_row
mixed
last_row(string $type = 'object')
No description
next_row
mixed
next_row(string $type = 'object')
No description
previous_row
mixed
previous_row(string $type = 'object')
No description
fetchAssoc
protected array|null
fetchAssoc()
No description
__construct
protected
__construct(array $rows)
No description
num_rows
int
num_rows()
No description
data_seek
bool
data_seek(int $n = 0)
No description
free_result
void
free_result()
No description