. * * $Id$ * */ /** * */ class semmelstatzR { protected $_oDb; /** * * @global type $wpdb */ public function __construct() { $this->_initDb(); } /* public */ /* protected */ /* private */ /** * * @global wpdb $wpdb * @return boolean */ private function _initDb() { global $wpdb; if($this->_oDb instanceof $wpdb) { return true; } else if($wpdb instanceof wpdb) { $this->_oDb = $wpdb; return true; } else { return false; } } } ?>