Show
Ignore:
Timestamp:
03/09/2007 02:21:01 PM (22 months ago)
Author:
xue
Message:

added TDbUserManager and TDbUser.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/framework/Data/TDataSourceConfig.php

    r1596 r1752  
    1010 * @package System.Data 
    1111 */ 
     12 
     13Prado::using('System.Data.TDbConnection'); 
    1214 
    1315/** 
     
    4749class TDataSourceConfig extends TModule 
    4850{ 
    49         private $_connID; 
     51        private $_connID=''; 
    5052        private $_conn; 
    5153        private $_connClass='System.Data.TDbConnection'; 
     
    9294        public function getDbConnection() 
    9395        { 
    94                 if(is_null($this->_conn)) 
     96                if($this->_conn===null) 
    9597                { 
    96                         if(!is_null($this->_connID)) 
     98                        if($this->_connID!=='') 
    9799                                $this->_conn = $this->findConnectionByID($this->getConnectionID()); 
    98100                        else