Ejemplo n.º 1
0
 function __construct(Connection $db)
 {
     parent::__construct($db);
 }
Ejemplo n.º 2
0
 /**
  * this is a legacy compatibility shim to make the legacy database available
  *
  * @param Connection $db reference to the {@link Connection} object
  */
 public function __construct(Connection $db)
 {
     $this->db = XoopsDatabaseFactory::getDatabaseConnection();
     // get legacy connection
     parent::__construct($db);
 }