object $DB_DataObject->getDatabaseConnection (
)
Fetch the pear database connection that the object uses - so you can find information or send queries directly to it.
This function can not be called statically.
getting the connection
<?php
$person = new DataObjects_Person;
$db= &$person->getDatabaseConnection();
echo $db->phptype;
?>
Sample Output