object $DB_DataObject->getDatabaseConnection ()
object $DB_DataObject->getDatabaseConnection
Fetch the pear database connection that the object uses - so you can find information or send queries directly to it.
Эта функция не должна вызываться статически.
Пример 33-1. getting the connection
$person = new DataObjects_Person; $db= &$person->getDatabaseConnection(); echo $db->phptype;
Пример 33-2. Sample Output
1000_monkeys