DbConnection

Extends \CDbConnection

Methods

__construct

__construct($dsn = '', $username = '', $password = '') 

Arguments

$dsn

$username

$password

Quotes a string value for use in a query.

quoteValueExtended(string $str, integer $quoteParam) : string
see \http://www.php.net/manual/en/function.PDO-quote.php

Arguments

$str

string

string to be quoted

$quoteParam

integer

Parameter for PDO::quote function.

Response

string

the properly quoted string