public function getDbConnection() { $this->initCompanyId(); $conn = parent::getDbConnection(); $conn->setCompanyId($this->_comid); return $conn; }