final class PdoResult extends ArrayDatabaseResult (View source)

Properties

protected list<array<string, mixed>> $rows from  ArrayDatabaseResult
protected int $pointer from  ArrayDatabaseResult

Methods

array from DatabaseResult
result(string $type = 'object')
array
array
array
array from DatabaseResult
custom_result_object(string $className)
array
mixed from DatabaseResult
row(int|string $n = 0, string $type = 'object')
mixed
array|null from DatabaseResult
row_array(int $n = 0)
array|null
object|null from DatabaseResult
row_object(int $n = 0)
object|null
mixed from DatabaseResult
first_row(string $type = 'object')
mixed
mixed from DatabaseResult
last_row(string $type = 'object')
mixed
mixed from DatabaseResult
next_row(string $type = 'object')
mixed
mixed from DatabaseResult
previous_row(string $type = 'object')
mixed
array|null from ArrayDatabaseResult
array|null
data_seek(int $n = 0)
bool
static PdoResult
fromRows(array $rows)
int
int
array
array
array
array

Details

result

array result(string $type = 'object')

No description

Parameters

string $type

Return Value

array

result_object

array result_object()

No description

Return Value

array

result_array

array result_array()

No description

Return Value

array

custom_result_object

array custom_result_object(string $className)

No description

Parameters

string $className

Return Value

array

row

mixed row(int|string $n = 0, string $type = 'object')

No description

Parameters

int|string $n
string $type

Return Value

mixed

row_array

array|null row_array(int $n = 0)

No description

Parameters

int $n

Return Value

array|null

row_object

object|null row_object(int $n = 0)

No description

Parameters

int $n

Return Value

object|null

first_row

mixed first_row(string $type = 'object')

No description

Parameters

string $type

Return Value

mixed

last_row

mixed last_row(string $type = 'object')

No description

Parameters

string $type

Return Value

mixed

next_row

mixed next_row(string $type = 'object')

No description

Parameters

string $type

Return Value

mixed

previous_row

mixed previous_row(string $type = 'object')

No description

Parameters

string $type

Return Value

mixed

fetchAssoc

protected array|null fetchAssoc()

No description

Return Value

array|null

__construct

protected __construct(array $rows)

No description

Parameters

array $rows

num_rows

int num_rows()

No description

Return Value

int

data_seek

bool data_seek(int $n = 0)

No description

Parameters

int $n

Return Value

bool

free_result

void free_result()

No description

Return Value

void

fromRows

static PdoResult fromRows(array $rows)

No description

Parameters

array $rows

Return Value

PdoResult

num_fields

int num_fields()

No description

Return Value

int

list_fields

array list_fields()

No description

Return Value

array

field_data

array field_data()

No description

Return Value

array