public function canCreateOphCoCvi($user_id, $view_context = array())
{
if ($this->canEdit($user_id, true)) {
if (isset($view_context['firm'])) {
return $this->yii->getAuthManager()->executeBizRule('canCreateEvent', array($view_context['firm'], $view_context['episode'], $this->getEventType()), null);
} else {
return true;
}
}
return false;
}