/** * Constructor that will create an object to handle the configuration of lists. * @param object $database Object of the class Database. This should be the default global object @b $gDb. * @param int $lst_id The id of the recordset that should be loaded. If id isn't set than an empty object of the table is created. */ public function __construct(&$database, $lst_id = 0) { parent::__construct($database, $lst_id); if ($lst_id > 0) { $this->readColumns(); } }