.

DBQueryCount Class Reference
[Model]

A query counting results insteead of returning them. More...

Inheritance diagram for DBQueryCount:
DBQuerySelect DBQueryOrdered DBQueryLimited DBQuery IDBQuery IDBSqlBuilder IPolicyHolder IDBWhereHolder

List of all members.

Public Member Functions

  __construct ($table)

Protected Member Functions

  create_sql_builder ($params)
  Create SQL builder.

Detailed Description

A query counting results insteead of returning them.

Author:
Gerd Riesselmann

Definition at line 10 of file dbquery.count.cls.php.


Constructor & Destructor Documentation

DBQueryCount::__construct ( table  ) 

Definition at line 11 of file dbquery.count.cls.php.

00011                                             {
00012                 parent::__construct($table, self::NORMAL);
00013         }

Member Function Documentation

DBQueryCount::create_sql_builder ( params  )  [protected]

Create SQL builder.

Parameters:
array  $params
Returns:
IDBSqlBuilder

Reimplemented from DBQuerySelect.

Definition at line 21 of file dbquery.count.cls.php.

00021                                                        {
00022                 $builder = DBSqlBuilderFactory::create_builder(DBSqlBuilderFactory::COUNT, $this, $params);
00023                 return $builder;
00024         }       

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