Class DibiRow
Result set single row.
Implements interfaces:
| Constructor Summary | |
|---|---|
| public |
__construct
($arr)
|
| Method Summary | |
|---|---|
| mixed |
asBool
(string $key)
Converts value to boolean.
|
| void |
asDate
($key, [$format =
NULL])
|
| DateTime |
asDateTime
(string $key, [string $format =
NULL])
Converts value to DateTime object.
|
| int |
asTimestamp
(string $key)
Converts value to UNIX timestamp.
|
| void |
count
()
******************* interfaces ArrayAccess, Countable & IteratorAggregate ****************d*g*
|
| void |
getIterator
()
|
| void |
offsetExists
($nm)
|
| void |
offsetGet
($nm)
|
| void |
offsetSet
($nm, $val)
|
| void |
offsetUnset
($nm)
|
| void |
toArray
()
|
| Constructor Details | ||||||
|---|---|---|---|---|---|---|
|
line 24 __constructpublic __construct ($arr)
|
||||||
| Method Details | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 76 asBoolpublic mixed asBool (string $key) Converts value to boolean.
|
|||||||||||||||||||||
|
line 90 asDatepublic void asDate ($key, [$format =
|
|||||||||||||||||||||
|
line 44 asDateTimepublic DateTime asDateTime (string $key, [string $format = Converts value to DateTime object.
|
|||||||||||||||||||||
|
line 61 asTimestamppublic int asTimestamp (string $key) Converts value to UNIX timestamp.
|
|||||||||||||||||||||
|
line 105 countpublic void count () ******************* interfaces ArrayAccess, Countable & IteratorAggregate ****************d*g* Implementation of:
Countable::count
|
|||||||||||||||||||||
|
line 112 getIteratorpublic void getIterator () Implementation of:
IteratorAggregate::getIterator
|
|||||||||||||||||||||
|
line 133 offsetExistspublic void offsetExists ($nm) Implementation of:
ArrayAccess::offsetExists
|
|||||||||||||||||||||
|
line 126 offsetGetpublic void offsetGet ($nm) Implementation of:
ArrayAccess::offsetGet
|
|||||||||||||||||||||
|
line 119 offsetSetpublic void offsetSet ($nm, $val) Implementation of:
ArrayAccess::offsetSet
|
|||||||||||||||||||||
|
line 140 offsetUnsetpublic void offsetUnset ($nm) Implementation of:
ArrayAccess::offsetUnset
|
|||||||||||||||||||||
|
line 31 toArraypublic void toArray ()
|
|||||||||||||||||||||