You are here

public function FrxRenderer::weight_sort in Forena Reports 7.4

Sort a column list by weight.

Parameters

unknown $columns:

6 calls to FrxRenderer::weight_sort()
FrxCrosstab::configForm in renderers/FrxCrosstab.inc
Crosstab configuration form.
FrxFieldTable::configForm in renderers/FrxFieldTable.inc
Template configuration form @parmater $configuration form
FrxFieldTable::configValidate in renderers/FrxFieldTable.inc
Default configuration validator. Simply validates header and footer attributes.
FrxSVGGraph::configForm in renderers/FrxSVGGraph.inc
Returns the section Enter description here ...
FrxTable::configForm in renderers/FrxTable.inc
Returns the section Enter description here ...

... See full list

File

renderers/FrxRenderer.inc, line 1047
FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Class

FrxRenderer
@file FrxRenderer.inc Base class for Frx custom renderers @author davidmetzler

Code

public function weight_sort(&$entries) {
  if ($entries) {
    uasort($entries, 'FrxRenderer::weight_sort_comp');
  }
}