You are here

private function FrxCrosstab::addColumn in Forena Reports 7.4

2 calls to FrxCrosstab::addColumn()
FrxCrosstab::generate in renderers/FrxCrosstab.inc
Generate the template from the configuration.
FrxCrosstab::scrapeConfig in renderers/FrxCrosstab.inc
Extract table configuration from the HTML

File

renderers/FrxCrosstab.inc, line 305

Class

FrxCrosstab

Code

private function addColumn($type, $token, $label, &$config) {
  $key = trim($token, '{}');
  $this->weight++;
  $config['crosstab_columns'][$key] = array(
    'contents' => $token,
    'label' => $label,
    'type' => $type,
    'weight' => $this->weight,
  );
}