Ejemplo n.º 1
0
 /**
 	Initialises a new sqlite dummy prepared statement with a given query.
 
 	@param	$oDb	The database to use.
 	@param	$sQuery	The query.
 */
 public function __construct(weeSQLiteDatabase $oDb, $sQuery, SQLiteDatabase $oSQLiteDb)
 {
     parent::__construct($oDb, $sQuery);
     $this->oSQLiteDb = $oSQLiteDb;
 }
Ejemplo n.º 2
0
 /**
 	Initialises a new sqlite dummy prepared statement with a given query.
 
 	@param	$oDb	The database to use.
 	@param	$sQuery	The query.
 */
 public function __construct(weeMSSQLDatabase $oDb, $rLink, $sQuery)
 {
     is_resource($rLink) && get_resource_type($rLink) == 'mssql link' or burn('InvalidArgumentException', sprintf(_WT('The given variable must be a resource of type "%s".'), 'mssql link'));
     parent::__construct($oDb, $sQuery);
     $this->rLink = $rLink;
 }