Class DibiRow
Result-set single row.
ArrayObject | --DibiRow
| Constructor Summary | |
|---|---|
| public |
__construct
(array $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 |
__wakeup
()
PHP < 5.3 workaround
|
| Methods Inherited From ArrayObject (Internal Class) |
|---|
| constructor __construct ( $array ), append ( $value ), asort ( ), count ( ), exchangeArray ( $array ), getArrayCopy ( ), getFlags ( ), getIterator ( ), getIteratorClass ( ), ksort ( ), natcasesort ( ), natsort ( ), offsetExists ( $index ), offsetGet ( $index ), offsetSet ( $index, $newval ), offsetUnset ( $index ), setFlags ( $flags ), setIteratorClass ( $iteratorClass ), uasort ( $cmp_function ), uksort ( $cmp_function ) |
| Constant Summary |
|---|
| Constants Inherited From ArrayObject (Internal Class) |
|---|
| ARRAY_AS_PROPS = 2, STD_PROP_LIST = 1 |
| Constructor Details | ||||||
|---|---|---|---|---|---|---|
|
line 27 __constructpublic __construct (array $arr)
|
||||||
| Method Details | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
line 72 asBoolpublic mixed asBool (string $key) Converts value to boolean.
|
|||||||||||||||||||||
|
line 97 asDatepublic void asDate ($key, [$format =
|
|||||||||||||||||||||
|
line 40 asDateTimepublic DateTime asDateTime (string $key, [string $format = Converts value to DateTime object.
|
|||||||||||||||||||||
|
line 57 asTimestamppublic int asTimestamp (string $key) Converts value to UNIX timestamp.
|
|||||||||||||||||||||
|
line 89 __wakeuppublic void __wakeup () PHP < 5.3 workaround
|
|||||||||||||||||||||