Neevo Public API
  • Namespace
  • Class
  • Tree

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

  • BaseStatement
  • Connection
  • Literal
  • Manager
  • Parser
  • Result
  • ResultIterator
  • Row
  • Statement

Interfaces

  • DriverInterface
  • ObservableInterface
  • ObserverInterface

Exceptions

  • DriverException
  • ImplementationException
  • NeevoException

Class Row

Representation of a row in a result.

Neevo\Row implements ArrayAccess, Countable, IteratorAggregate
Namespace: Neevo
Author: Smasty
Located at Neevo/Row.php

Methods summary

public
# __construct( array $data, Neevo\Result $result )

Creates a row instance.

Creates a row instance.

Parameters

$data
array
$data
$result
Neevo\Result
$result
public integer
# update( )

Updates corresponding database row if available.

Updates corresponding database row if available.

Returns

integer
Number of affected rows.

Throws

Neevo\NeevoException
public integer
# delete( )

Deletes corresponding database row if available.

Deletes corresponding database row if available.

Returns

integer
Number of affected rows.

Throws

Neevo\NeevoException
public array
# toArray( )

Returns values as an array.

Returns values as an array.

Returns

array
public boolean
# isFrozen( )

Returns whether the row is not able to update it's state.

Returns whether the row is not able to update it's state.

Returns

boolean
public
# count( )

Implementation of

Countable::count()
public ArrayIterator
# getIterator( )

Returns

ArrayIterator

Implementation of

IteratorAggregate::getIterator()
public
# __get( mixed $name )
public
# __set( mixed $name, mixed $value )
public
# __isset( mixed $name )
public
# __unset( mixed $name )
public
# offsetGet( mixed $offset )

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( mixed $offset, mixed $value )

Implementation of

ArrayAccess::offsetSet()
public
# offsetExists( mixed $offset )

Implementation of

ArrayAccess::offsetExists()
public
# offsetUnset( mixed $offset )

Implementation of

ArrayAccess::offsetUnset()

Magic methods summary

Properties summary

protected boolean $frozen
#
protected string $primary
#
protected array $data
#
protected array $modified
#
protected string $table
#
protected Neevo\Connection $connection
#
Neevo Public API API documentation generated by ApiGen 2.8.0