/** * Инициализируем последнее оповещение по этапу */ public function initNotification() { $note = $this->notificationAcredit(); if ($note !== false) { $this->notification = $note; return; } $this->notification = sbr_notification::getNotification($this->data['sbr_id'], $this->data['id']); }