db\mssql\PDO getAttribute()

getAttribute() public method

Retrieve a database connection attribute.

It is necessary to override PDO's method as some MSSQL PDO driver (e.g. dblib) does not support getting attributes

public mixed getAttribute ( $attribute )
$attribute integer

One of the PDO::ATTR_* constants.

return mixed

A successful call returns the value of the requested PDO attribute. An unsuccessful call returns null.

doc_Yii
2016-10-30 16:58:16
Comments
Leave a Comment

Please login to continue.