Overview

Namespaces

  • Neevo
    • Cache
    • Drivers
    • Nette
  • PHP

Classes

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

Interfaces

  • ICache
  • IDriver
  • IObservable
  • IObserver

Exceptions

  • DriverException
  • ImplementationException
  • NeevoException
  • Overview
  • Namespace
  • Class
  • Tree

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 )

Create a row instance.

Create a row instance.

Parameters

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

Update corresponding database row if available.

Update corresponding database row if available.

Returns

integer
Number of affected rows.

Throws

Neevo\NeevoException
public integer
# delete( )

Delete corresponding database row if available.

Delete corresponding database row if available.

Returns

integer
Number of affected rows.

Throws

Neevo\NeevoException
public array
# toArray( )

Return values as an array.

Return values as an array.

Returns

array
public boolean
# isFrozen( )

If row is not able to update it's state.

If 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( $name )
public
# __set( $name, $value )
public
# __isset( $name )
public
# __unset( $name )
public
# offsetGet( $offset )

Implementation of

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

Implementation of

ArrayAccess::offsetSet
public
# offsetExists( $offset )

Implementation of

ArrayAccess::offsetExists
public
# offsetUnset( $offset )

Implementation of

ArrayAccess::offsetUnset
Properties summary
protected boolean $frozen
#
protected string $primary
#
protected array $data array()
#
protected array $modified array()
#
protected string $table
#
protected Neevo\Connection $connection
#
Neevo Public API API documentation generated by ApiGen 2.6.1