Namespaces

  • Latte
    • Loaders
    • Macros
    • Runtime
  • Nette
    • Application
      • Responses
      • Routers
      • UI
    • Bridges
      • ApplicationDI
      • ApplicationLatte
      • ApplicationTracy
      • CacheDI
      • CacheLatte
      • DatabaseDI
      • DatabaseTracy
      • DITracy
      • FormsDI
      • FormsLatte
      • Framework
      • HttpDI
      • HttpTracy
      • MailDI
      • ReflectionDI
      • SecurityDI
      • SecurityTracy
    • Caching
      • Storages
    • ComponentModel
    • Database
      • Conventions
      • Drivers
      • Table
    • DI
      • Config
        • Adapters
      • Extensions
    • Forms
      • Controls
      • Rendering
    • Http
    • Iterators
    • Loaders
    • Localization
    • Mail
    • Neon
    • PhpGenerator
      • Traits
    • Reflection
    • Security
    • Tokenizer
    • Utils
  • Tracy
    • Bridges
      • Nette
  • none

Classes

  • ActiveRow
  • GroupedSelection
  • Selection
  • SqlBuilder

Interfaces

  • IRow
  • IRowContainer
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Other releases

Interface IRow

Row interface.

Nette\Database\Table\IRow implements Nette\Database\IRow

Direct known implementers

Nette\Database\Table\ActiveRow
Namespace: Nette\Database\Table
Located at Database/Table/IRow.php
Methods summary
public
# setTable( Nette\Database\Table\Selection $name )
public Nette\Database\Table\Selection
# getTable( )

Returns

Nette\Database\Table\Selection
Selection
public mixed
# getPrimary( boolean $throw = true )

Returns primary key value.

Returns primary key value.

Parameters

$throw

Returns

mixed
mixed
public string
# getSignature( boolean $throw = true )

Returns row signature (composition of primary keys)

Returns row signature (composition of primary keys)

Parameters

$throw

Returns

string
string
public Nette\Database\Table\GroupedSelection
# related( string $key, string $throughColumn = null )

Returns referencing rows.

Returns referencing rows.

Parameters

$key
$throughColumn

Returns

Nette\Database\Table\GroupedSelection
GroupedSelection
public Nette\Database\Table\IRow|null
# ref( string $key, string $throughColumn = null )

Returns referenced row.

Returns referenced row.

Parameters

$key
$throughColumn

Returns

Nette\Database\Table\IRow|null
if the row does not exist
Methods inherited from ArrayAccess
offsetExists(), offsetGet(), offsetSet(), offsetUnset()
Nette 2.4-20180918 API API documentation generated by ApiGen 2.8.0