interface IRow implements IRow

Row interface.

Methods

setTable(Selection $name)

No description

getTable()

No description

mixed
getPrimary($throw = true)

Returns primary key value.

string
getSignature($throw = true)

Returns row signature (composition of primary keys)

related($key, $throughColumn = null)

Returns referencing rows.

IRow|null
ref($key, $throughColumn = null)

Returns referenced row.

Details

at line 18
setTable(Selection $name)

No description

Parameters

Selection $name

at line 23
Selection getTable()

No description

Return Value

Selection

at line 30
mixed getPrimary($throw = true)

Returns primary key value.

Parameters

$throw

Return Value

mixed

at line 37
string getSignature($throw = true)

Returns row signature (composition of primary keys)

Parameters

$throw

Return Value

string

Returns referencing rows.

Parameters

$key
$throughColumn

Return Value

GroupedSelection

at line 53
IRow|null ref($key, $throughColumn = null)

Returns referenced row.

Parameters

$key
$throughColumn

Return Value

IRow|null

if the row does not exist