cvs: pear /MDB2/MDB2 LOB.php

From: Date: Wed, 25 Oct 2006 11:52:21 +0000
Subject: cvs: pear /MDB2/MDB2 LOB.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42809@lists.php.net to get a copy of this message
lsmith Wed Oct 25 11:52:21 2006 UTC Modified files: /pear/MDB2/MDB2 LOB.php Log: - implemented stream_stat() method (Bug #9092) http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/LOB.php?r1=1.33&r2=1.34&diff_format=u Index: pear/MDB2/MDB2/LOB.php diff -u pear/MDB2/MDB2/LOB.php:1.33 pear/MDB2/MDB2/LOB.php:1.34 --- pear/MDB2/MDB2/LOB.php:1.33 Wed May 31 14:38:06 2006 +++ pear/MDB2/MDB2/LOB.php Wed Oct 25 11:52:21 2006 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: LOB.php,v 1.33 2006/05/31 14:38:06 lsmith Exp $ +// $Id: LOB.php,v 1.34 2006/10/25 11:52:21 lsmith Exp $ /** * @package MDB2 @@ -216,6 +216,25 @@ } // }}} + // {{{ stream_stat() + + /** + * return information about stream + * + * @access public + */ + function stream_stat() + { + if (isset($GLOBALS['_MDB2_databases'][$this->db_index])) { + $db =& $GLOBALS['_MDB2_databases'][$this->db_index]; + return array( + 'db_index' => $this->db_index, + 'lob_index' => $this->lob_index, + ); + } + } + // }}} + // {{{ stream_close() /**

« previous php.pear.cvs (#42809) next »