Methods summary
public
|
|
public
|
|
public
array
|
|
public
mixed
|
#
getPrimary( boolean $need = TRUE )
Returns primary key value.
Returns primary key value.
Parameters
Returns
mixed
|
public
string
|
#
getSignature( boolean $need = TRUE )
Returns row signature (composition of primary keys)
Returns row signature (composition of primary keys)
Parameters
Returns
string
|
public
Nette\Database\Table\ActiveRow
|
#
ref( string $key, string $throughColumn = NULL )
Returns referenced row.
Parameters
- $key
string
- $throughColumn
string
Returns
|
public
Nette\Database\Table\GroupedSelection
|
#
related( string $key, string $throughColumn = NULL )
Returns referencing rows.
Returns referencing rows.
Parameters
- $key
string
- $throughColumn
string
Returns
|
public
integer
|
#
update( array $data = NULL )
Updates row.
Parameters
- $data
array or NULL for all modified values
Returns
integer number of affected rows or FALSE in case of an error
|
public
integer
|
#
delete( )
Deletes row.
Returns
integer number of affected rows or FALSE in case of an error
|
public
|
|
public
|
#
offsetSet( string $key, string $value )
Stores value in column.
Parameters
- $key
string column name
- $value
string value
Implementation of
|
public
string
|
#
offsetGet( string $key )
Returns value of column.
Parameters
Returns
string
Implementation of
|
public
boolean
|
#
offsetExists( string $key )
Tests if column exists.
Parameters
Returns
boolean
Implementation of
|
public
|
#
offsetUnset( string $key )
Removes column from data.
Removes column from data.
Parameters
Implementation of
|
public
|
#
__set( string $key, mixed $value )
Sets value of a property. Do not call directly.
Sets value of a property. Do not call directly.
Parameters
- $key
string property name
- $value
mixed property value
Throws
MemberAccessException if the property is not defined or is read-only
Overrides
|
public
mixed
&
|
#
__get( string $key )
Returns property value. Do not call directly.
Returns property value. Do not call directly.
Parameters
Returns
mixed property value
Throws
MemberAccessException if the property is not defined.
Overrides
|
public
boolean
|
#
__isset( string $key )
Is property defined?
Parameters
Returns
boolean
Overrides
|
public
|
#
__unset( string $key )
Access to undeclared property.
Access to undeclared property.
Parameters
Throws
MemberAccessException
Overrides
|
protected
|
|
protected
|
|
protected
|
|