returns a reference(!) to an instance of the db object with the params defined in that block.
example: $dsnBlock =& new Bs_Cms_BlockDsn(null, null, null, 'somepath'); $db = &$dsnBlock->getDbObj(); //ampersand! if (isEx($db)) die('db connection failed!'); //well do it better than that.
Tags: