[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/core/classes/ -> MantisColumn.class.php (summary)

Base class that implements basic column functionality and integration with MantisBT.

File Size: 67 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  sortquery()
  cache()

Functions
Functions that are not part of a class:

sortquery( $p_dir )   X-Ref
Build the SQL query elements 'join' and 'order' as used by
core/filter_api.php to create the filter sorting query.

param: string Sorting order ('ASC' or 'DESC')
return: array Keyed-array with query elements; see developer guide

cache( $p_bugs )   X-Ref
Allow plugin columns to pre-cache data for all issues
that will be shown in a given view.  This is preferable to
the alternative option of querying the database for each
issue as the display() method is called.

param: array Bug objects



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7