Core  3.2
PHP API documentation
 All Data Structures Namespaces Files Functions Variables Pages
QueryDb Class Reference
+ Inheritance diagram for QueryDb:
+ Collaboration diagram for QueryDb:

Public Member Functions

 __construct ($dbaccess, $class)
 
 Query ($start=0, $slice=0, $res_type="LIST", $p_query="")
 
 Count ($start=0, $slice=0)
 
 CriteriaClause ()
 
 AlphaClause ()
 
 SupClause ()
 
 AddQuery ($contraint)
 
 resetQuery ()
 
 AddField ($sqlattr, $resultname="")
 

Data Fields

 $nb = 0
 
 $LastQuery = ""
 
 $table
 
 $operators
 
 $casse = "NON"
 
 $criteria = ""
 
 $order_by = ""
 
 $operator
 
 $string
 
 $slice
 
 $start
 
 $desc
 
 $res_type
 
 $cindex
 
 $list = array()
 
 $basic_elem
 

Detailed Description

Definition at line 19 of file Class.QueryDb.php.

Constructor & Destructor Documentation

__construct (   $dbaccess,
  $class 
)

Definition at line 96 of file Class.QueryDb.php.

Member Function Documentation

AddField (   $sqlattr,
  $resultname = "" 
)

Definition at line 326 of file Class.QueryDb.php.

AddQuery (   $contraint)

Definition at line 317 of file Class.QueryDb.php.

AlphaClause ( )

Definition at line 294 of file Class.QueryDb.php.

Count (   $start = 0,
  $slice = 0 
)

Perform the query : return only the count fo rows returned

Definition at line 248 of file Class.QueryDb.php.

CriteriaClause ( )

Definition at line 261 of file Class.QueryDb.php.

Query (   $start = 0,
  $slice = 0,
  $res_type = "LIST",
  $p_query = "" 
)

Perform the query : the result can be a table or a list of objects depending on the third arg. the third ARG should be : LIST : means a table of objects LISTC : means a table of completed objects TABLE : means a table of table fields ITEM : means a ressource to step by step use table field rows ITER : return class DbObjectList

Definition at line 191 of file Class.QueryDb.php.

resetQuery ( )

Definition at line 321 of file Class.QueryDb.php.

SupClause ( )

Definition at line 299 of file Class.QueryDb.php.

Field Documentation

$basic_elem

Definition at line 94 of file Class.QueryDb.php.

$casse = "NON"

Definition at line 79 of file Class.QueryDb.php.

$cindex

Definition at line 89 of file Class.QueryDb.php.

$criteria = ""

Definition at line 81 of file Class.QueryDb.php.

$desc

Definition at line 87 of file Class.QueryDb.php.

$LastQuery = ""

Definition at line 23 of file Class.QueryDb.php.

$list = array()

Definition at line 90 of file Class.QueryDb.php.

$nb = 0

Definition at line 22 of file Class.QueryDb.php.

$operator

Definition at line 83 of file Class.QueryDb.php.

$operators

Definition at line 27 of file Class.QueryDb.php.

$order_by = ""

Definition at line 82 of file Class.QueryDb.php.

$res_type

Definition at line 88 of file Class.QueryDb.php.

Definition at line 85 of file Class.QueryDb.php.

Definition at line 86 of file Class.QueryDb.php.

$string

Definition at line 84 of file Class.QueryDb.php.

$table

Definition at line 25 of file Class.QueryDb.php.


The documentation for this class was generated from the following file:
← centre documentaire © anakeen