Platform  3.1
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

 QueryDb ($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="")
 

Static Public Member Functions

static usePrepare ()
 

Data Fields

 $nb = 0
 
 $LastQuery = ""
 
 $table
 
 $operators
 
 $casse = "NON"
 
 $criteria = ""
 
 $order_by = ""
 
 $list = array()
 
 $basic_elem
 

Detailed Description

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

Member Function Documentation

AddField (   $sqlattr,
  $resultname = "" 
)

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

AddQuery (   $contraint)

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

AlphaClause ( )

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

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

Perform the query : return only the count fo rows returned

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

CriteriaClause ( )

Definition at line 277 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 206 of file Class.QueryDb.php.

+ Here is the call graph for this function:

QueryDb (   $dbaccess,
  $class 
)

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

resetQuery ( )

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

SupClause ( )

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

static usePrepare ( )
static

test CORE_QUERYPREPARE to know if can use prepare statement in queryDb

Returns
bool

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

+ Here is the call graph for this function:

Field Documentation

$basic_elem

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

$casse = "NON"

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

$criteria = ""

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

$LastQuery = ""

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

$list = array()

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

$nb = 0

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

$operators

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

$order_by = ""

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

$table

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


The documentation for this class was generated from the following file:
← centre documentaire © anakeen - published under CC License - Dynacase