function __construct(&$_db) { parent::__construct($_db); }
function __construct() { $db = JFactory::getDBO(); parent::__construct($db); }