Xataface  2.0alpha2
Xataface Application Framework
 All Data Structures Namespaces Files Functions Variables Groups Pages
Public Member Functions | Static Public Member Functions | Data Fields
Dataface_QueryTool Class Reference
Inheritance diagram for Dataface_QueryTool:
Dataface_QueryTool_Null

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

Detailed Description

Definition at line 36 of file QueryTool.php.

Member Function Documentation

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.

Parameters
$tablenameThe name of the table on which this query is based.
$dbThe database handle.
$queryAssociative 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.

Parameters
$columnsArray of column names to return.
$loadTextDefaults to false. If true, returns text fields as well.
$loadBlobsDefaults 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.

Field Documentation

$_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.


The documentation for this class was generated from the following file: