![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
& | staticCache () |
__construct ($tablename, $db=null, $query=null) | |
getTitles ($ordered=true, $genericKeys=false, $ignoreLimit=false) | |
loadSet ($columns='', $loadText=false, $loadBlobs=false, $preview=true) | |
& | loadCurrent ($columns=null, $loadText=true, $loadBlobs=false, $loadPasswords=false) |
found () | |
cardinality () | |
start () | |
end () | |
& | data () |
& | iterator () |
getRecordsArray () | |
limit () | |
cursor () | |
& | indexedData () |
Definition at line 539 of file QueryTool.php.
__construct | ( | $ | tablename, |
$ | db = null , |
||
$ | query = null |
||
) |
Creates a new query tool.
$tablename | The name of the table on which this query is based. |
$db | The database handle. |
$query | Associative array of query parameters. |
Definition at line 556 of file QueryTool.php.
cardinality | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 593 of file QueryTool.php.
cursor | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 622 of file QueryTool.php.
& data | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 604 of file QueryTool.php.
end | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 600 of file QueryTool.php.
found | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 587 of file QueryTool.php.
getRecordsArray | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 613 of file QueryTool.php.
getTitles | ( | $ | ordered = true , |
$ | genericKeys = false , |
||
$ | ignoreLimit = false |
||
) |
Reimplemented from Dataface_QueryTool.
Definition at line 562 of file QueryTool.php.
& indexedData | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 626 of file QueryTool.php.
& iterator | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 608 of file QueryTool.php.
limit | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 617 of file QueryTool.php.
& loadCurrent | ( | $ | columns = null , |
$ | loadText = true , |
||
$ | loadBlobs = false , |
||
$ | loadPasswords = false |
||
) |
Reimplemented from Dataface_QueryTool.
Definition at line 580 of file QueryTool.php.
loadSet | ( | $ | columns = '' , |
$ | loadText = false , |
||
$ | loadBlobs = false , |
||
$ | preview = true |
||
) |
Loads the results into an array. Array keys are concatenated values of primary key fields.
$columns | Array of column names to return. |
$loadText | Defaults to false. If true, returns text fields as well. |
$loadBlobs | Defaults to false. If true, returns blob fields as well. |
Reimplemented from Dataface_QueryTool.
Definition at line 574 of file QueryTool.php.
start | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 597 of file QueryTool.php.
& staticCache | ( | ) |
Reimplemented from Dataface_QueryTool.
Definition at line 541 of file QueryTool.php.