MDB2_TableBrowser
[ class tree: MDB2_TableBrowser ] [ index: MDB2_TableBrowser ] [ all elements ]

Class: MDB2_TableBrowser_GroupByManager

Source Location: /MDB2_TableBrowser-0.1.3/MDB2/TableBrowser/GroupByManager.php

Class Overview


This class implements the selectClauseGenerator interface


Author(s):

Version:

  • Release: <package_version>

Copyright:

  • 2007-2012 Isaac Tewolde

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 33]
This class implements the selectClauseGenerator interface

It is used by other classes to create and manage the select clause of an SQL statements. As such, it's primary purpose is to select columns and assign labels to them.



[ Top ]


Class Variables

$groupByColumnOrder = array()

[line 42]

  • Access: protected

Type:   mixed


[ Top ]

$groupByList = array()

[line 40]

  • Access: protected

Type:   mixed


[ Top ]

$validator =  null

[line 37]

  • Access: protected

Type:   mixed


[ Top ]



Method Detail

__construct (Constructor)   [line 49]

MDB2_TableBrowser_GroupByManager __construct( MDB2_TableBrowser_InterfaceTableValidator &$validator)

Constructor
  • Access: public

Parameters:

tableValidator   &$validator     A refrence to an object that implements the tableValidator interface

[ Top ]

generateSQL   [line 87]

string generateSQL( )

Generates the select clause of an sql statement
  • Return: the select clause
  • Access: public

[ Top ]

resetGroupBy   [line 77]

void resetGroupBy( )

Clears all sorting columns
  • Access: public

[ Top ]

setGroupBy   [line 61]

void setGroupBy( string $colName)

Groups rows. Multiple can be groupBys can specified
  • Access: public

Parameters:

string   $colName     The column name

[ Top ]


Documentation generated on Fri, 13 Apr 2012 03:00:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.