function DSCTableContent(&$db) { $tbl_key = 'id'; $tbl_suffix = 'content'; $this->set('_suffix', $tbl_suffix); parent::__construct("#__{$tbl_suffix}", $tbl_key, $db); }
/** * constructor */ function __construct($tbl_name, $tbl_key, &$db) { parent::__construct($tbl_name, $tbl_key, $db); // set table properties based on table's fields //$this->setTableProperties(); }
/** * constructor */ function __construct($tbl_name, $tbl_key, &$db) { parent::__construct($tbl_name, $tbl_key, $db); }