xPDO.getAttribute
Last updated not available | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$185 per month—let's make that $500!
Learn morexPDO::getAttribute¶
Returns the value of a PDO connection attribute, such as PDO::ATTR_DRIVER_NAME or PDO::ATTR_SERVER_VERSION.
Syntax¶
mixed getAttribute (integer $attribute)
Example¶
$driver = $xpdo->getAttribute(PDO::ATTR_DRIVER_NAME);
See Also¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$185 per month—let's make that $500!
Learn more










