MantisBT: master-1.2.x 470ddabd

Author Committer Branch Timestamp Parent
jreese jreese master-1.2.x 2009-11-02 13:34 master-1.2.x a4d98b0b
Changeset

Implemented method for columns to pre-cache data

When implementing a custom column, there needs to be a method for the
column to pre-fetch and cache data related to the set of viewed issues,
rather than requiring individual queries to be made for each issue in
the dataset.

A basic implementation would be to override the ->cache() method to
generate a single query to load and store that data in a static property
that can be accessed by the ->display() method.

mod - view_all_inc.php Diff File
mod - core/classes/MantisColumn.class.php Diff File
mod - core/columns_api.php Diff File