Lire::Config::VariableIndex3pm
Index of the available variables in a tableinfo
Usage
<lrcsml:reference name="name" index="categorical_variables" /><lrcsml:reference name="name" index="numerical_variables" /><lrcsml:reference name="name" index="variables" />
Overview
This object make it possible to select a variable defined in a TableInfo (usually created from a Lire::ReportSpec or coming from a Lire::Report object).
new( $table_info, [ $type ] )
Creates a new VariableIndex which wraps the $table_info Lire::Report::TableInfo object. The $type parameter can be either 'both', 'categorical' or 'numerical' depending on the kind of variables one wants to select. Default to 'both'.
table_info()
Returns the Lire::Report::TableInfo object wrapped by this Index.
type()
Returns the type attribute.
Version
$Id: VariableIndex.pm,v 1.3 2006/07/23 13:16:31 vanbaal Exp $
Releases
6 releases since Debian 3.1 (Sarge); the text changed 5 times.