![]() |
Xataface 2.0
Xataface Application Framework
|
Public Member Functions | |
| & | staticCache () |
| Dataface_QueryTool ($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 () |
Static Public Member Functions | |
| static & | loadResult ($tablename, $db=null, $query='') |
Data Fields | |
| $_table | |
| $_db | |
| $_tablename | |
| $_query | |
| $_data | |
| $_currentRecord = null | |
| $_titles | |
| $dbObj = null | |
Definition at line 36 of file QueryTool.php.
| cardinality | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 459 of file QueryTool.php.
| cursor | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 511 of file QueryTool.php.
| & data | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 486 of file QueryTool.php.
| Dataface_QueryTool | ( | $ | 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 66 of file QueryTool.php.
| end | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 482 of file QueryTool.php.
| found | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 441 of file QueryTool.php.
| getRecordsArray | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 495 of file QueryTool.php.
| getTitles | ( | $ | ordered = true, |
| $ | genericKeys = false, |
||
| $ | ignoreLimit = false |
||
| ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 143 of file QueryTool.php.
| & indexedData | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 515 of file QueryTool.php.
| & iterator | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 490 of file QueryTool.php.
| limit | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 506 of file QueryTool.php.
| & loadCurrent | ( | $ | columns = null, |
| $ | loadText = true, |
||
| $ | loadBlobs = false, |
||
| $ | loadPasswords = false |
||
| ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 367 of file QueryTool.php.
| static& loadResult | ( | $ | tablename, |
| $ | db = null, |
||
| $ | query = '' |
||
| ) | [static] |
Definition at line 519 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 in Dataface_QueryTool_Null.
Definition at line 235 of file QueryTool.php.
| start | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 479 of file QueryTool.php.
| & staticCache | ( | ) |
Reimplemented in Dataface_QueryTool_Null.
Definition at line 51 of file QueryTool.php.
| $_currentRecord = null |
Definition at line 46 of file QueryTool.php.
| $_data |
Definition at line 44 of file QueryTool.php.
| $_db |
Definition at line 39 of file QueryTool.php.
| $_query |
Definition at line 42 of file QueryTool.php.
| $_table |
Definition at line 38 of file QueryTool.php.
| $_tablename |
Definition at line 40 of file QueryTool.php.
| $_titles |
Definition at line 47 of file QueryTool.php.
| $dbObj = null |
Definition at line 49 of file QueryTool.php.
1.7.4