previous->keys() (Previous) (Next) ->getDatabaseResult()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

->getDatabaseConnection()

->getDatabaseConnection() – PEAR データベースオブジェクトを取得する

Synopsis

object $DB_DataObject->getDatabaseConnection ( )

Description

オブジェクトが使用している PEAR データベースの接続を取得します。 これにより、様々な情報を検索したり直接クエリを送信することができます。

Note

This function can not be called statically.

Example

接続を取得する

<?php
$person 
= new DataObjects_Person;
$db=  &$person->getDatabaseConnection();
echo 
$db->phptype;
?>

出力例



1000_monkeys
previous->keys() (Previous) (Next) ->getDatabaseResult()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.