CustomAdodbPdo
extends ADODB_pdo
in package
This class is needed in order to make AdoDB use an existing PDO connection
Tags
Table of Contents
Methods
- __construct() : bool
- Initializes Adodb with an existing PDO connection
- _query() : mixed
- Returns the queryID or false
Methods
__construct()
Initializes Adodb with an existing PDO connection
public
__construct(PDO $pdo) : bool
Parameters
- $pdo : PDO
-
PDO connection to use
Return values
bool —True on success, false otherwise
_query()
Returns the queryID or false
public
_query(mixed $sql[, mixed $inputarr = false ]) : mixed
Parameters
- $sql : mixed
- $inputarr : mixed = false
Return values
mixed —queryID or false