Class SQL_Result
SQL storage result.
- Core\Object implements Core\Chainable
- Core\Set implements Core\Accessor
- Core\Set\Mutable implements Core\Mutator
- Core\Field implements Core\Inquiry
- Core\Storage_Result implements Countable, Iterator
- Core\Storage\SQL_Result
Direct known subclasses
Core\Storage\Driver\mysql_Result
,
Core\Storage\Driver\mysql_Result_Statement
,
Core\Storage\Driver\odbc_Result
,
Core\Storage\Driver\sqlite2_Result
,
Core\Storage\Driver\sqlite3_Result
Namespace: Core\Storage
Package: Core\Storage
Since: 3.0
Requires: PHP 5.3
Version: 1.0
Located at Storage/SQL.inc.php
Methods summary
public
integer|false
|
#
getAsTimestamp( string $key )
Returns a value from the current result row as a UNIX timestamp. This is only valid for date and time values stored natively by the back-end. |
Methods inherited from Core\Storage_Result
count()
,
current()
,
key()
,
next()
,
rewind()
,
row()
,
unpack()
,
valid()
Methods inherited from Core\Field
getDataForKey()
,
getDataForKeys()
,
getDataForUndefinedKey()
,
issetDataForKey()
,
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Core\Set\Mutable
Methods inherited from Core\Object
__autocreateFactory()
,
__call()
,
__processParameters()
,
__toString()
,
attachMethod()
,
chain()
,
getValueForKey()
,
getValueForKeyPath()
,
getValueForUndefinedKey()
,
hash()
,
issetValueForKey()
,
setValueForKey()
,
setValueForKeyPath()
,
setValueForUndefinedKey()
,
uuid()
Constants summary
Constants inherited from Core\Object
AnyParameterType
,
AutochainParameterType
,
AutocreateParameterType
,
BooleanParameterType
,
CharParameterType
,
EnumParameterType
,
IntegerParameterType
,
RealParameterType
,
StringParameterType
,
UserParameterType
Properties summary
Properties inherited from Core\Storage_Result
$_v_affectedRows
,
$_v_contextArgument
,
$_v_driver
,
$_v_insertID
,
$_v_position
,
$_v_rowClass
,
$_v_rows
Properties inherited from Core\Field
Magic properties inherited from Core\Storage_Result
$affectedRows
,
$contextArgument
,
$driver
,
$insertID
,
$position
,
$row
,
$rowClass
,
$rows