.

DBSqlBuilderCountSphinx Class Reference
[Sphinx]

Count Query Builder for Sphinx. More...

Inheritance diagram for DBSqlBuilderCountSphinx:
DBSqlBuilderSelectSphinx DBSqlBuilderSelect DBSqlBuilderBase IDBSqlBuilder

List of all members.

Protected Member Functions

  get_features ($query)
  returns features
  get_limit ($arr_limit)
  Return limit as string.

Detailed Description

Count Query Builder for Sphinx.

Author:
Gerd Riesselmann

Definition at line 10 of file dbsqlbuilder.count.sphinx.cls.php.


Member Function Documentation

DBSqlBuilderCountSphinx::get_features ( query  )  [protected]

returns features

Returns:
array

Reimplemented from DBSqlBuilderSelectSphinx.

Definition at line 18 of file dbsqlbuilder.count.sphinx.cls.php.

00018                                                 {
00019                 $ret = parent::get_features($query);
00020                 $ret['count'] = true;
00021                 return $ret;
00022         }       
DBSqlBuilderCountSphinx::get_limit ( arr_limit  )  [protected]

Return limit as string.

Reimplemented from DBSqlBuilderSelectSphinx.

Definition at line 14 of file dbsqlbuilder.count.sphinx.cls.php.

00014                                                  {
00015                 return '0;1';
00016         }

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