PDOStatement::getAttribute — Retrieve a statement attribute (PHP 5 >= 5.1.0, PECL pdo >= 0.2.0)
mixed PDOStatement::getAttribute ( int $attribute )
Gets an attribute of the statement. Currently, there are no generic properties, only driver-specific properties:
PDO::ATTR_CURSOR_NAME (Firebird and ODBC feature): Gets the cursor name for UPDATE ... WHERE CURRENT OF.
Returns the attribute value.