thrownewCException(Yii::t('yii','DbDependency.connectionID "{id}" is invalid. Please make sure it refers to the ID of a CDbConnection application component.',
array('{id}'=>$this->connectionID)));
thrownewException("DbDependency.connectionID must refer to the ID of a DB connection application component.");
}
}
return$this->_db;
}
/**
* Sets the DB connection used by the cache component.
* @param Connection $value the DB connection instance