コード例 #1
0
 /**
 Constructor
 Creates the database object to be used later.
 @param arg_str_dbprofile the database profile from which the database host, databasename, username and password are extracted.
 @see db::__construct().
 @access Public.
 */
 public function parent_model($arg_str_dbprofile = DEFAULT_DBPROFILE)
 {
     $this->object();
     $this->__DB =& db_factory::get_connection($arg_str_dbprofile);
 }