Packages

  • dibi
    • drivers
    • nette
    • reflection
  • None
  • PHP

Classes

  • dibi
  • DibiConnection
  • DibiDataSource
  • DibiDateTime
  • DibiEvent
  • DibiFileLogger
  • DibiFirePhpLogger
  • DibiFluent
  • DibiObject
  • DibiResult
  • DibiResultIterator
  • DibiRow
  • DibiTranslator

Interfaces

  • IDataSource
  • IDibiDriver
  • IDibiReflector
  • IDibiResultDriver

Exceptions

  • DibiDriverException
  • DibiException
  • DibiNotImplementedException
  • DibiNotSupportedException
  • DibiPcreException
  • Overview
  • Package
  • Class
  • Tree

Class DibiRow

Result set single row.

DibiRow implements ArrayAccess, IteratorAggregate, Countable
Package: dibi
Author: David Grudl
Located at libs/DibiRow.php
Methods summary
public
# __construct( $arr )
public
# toArray( )
public DateTime
# asDateTime( string $key, string $format = NULL )

Converts value to DateTime object.

Converts value to DateTime object.

Parameters

$key
string
key
$format
string
format

Returns

DateTime
public integer
# asTimestamp( string $key )

Converts value to UNIX timestamp.

Converts value to UNIX timestamp.

Parameters

$key
string
key

Returns

integer
public mixed
# asBool( string $key )

Converts value to boolean.

Converts value to boolean.

Parameters

$key
string
key

Returns

mixed
final public
# count( )

Implementation of

Countable::count
final public
# getIterator( )

Implementation of

IteratorAggregate::getIterator
final public
# offsetSet( $nm, $val )

Implementation of

ArrayAccess::offsetSet
final public
# offsetGet( $nm )

Implementation of

ArrayAccess::offsetGet
final public
# offsetExists( $nm )

Implementation of

ArrayAccess::offsetExists
final public
# offsetUnset( $nm )

Implementation of

ArrayAccess::offsetUnset
dibi API documentation API documentation generated by ApiGen 2.3.0