public function init() { if (yii::$app->session->get('screeningSession') === null) { yii::$app->session->set('screeningSession', $this->_screeningSession); } return parent::init(); }
public function init() { if (!Yii::$app->user->isGuest) { yii::$app->jsconfig->addData('allCalendars', yii::$app->CalendarComponent->allCalendars); yii::$app->jsconfig->addData('ldapSearchUserUri', Url::to('/admin/ajax/ldapsearchuser')); yii::$app->jsconfig->addData('createUserUri', Url::to('/admin/ajax/createuser')); } return parent::init(); }
public function init() { if (!Yii::$app->user->isGuest) { yii::$app->jsconfig->addData('allCalendars', yii::$app->CalendarComponent->allCalendars); yii::$app->jsconfig->addData('myCalendars', yii::$app->CalendarComponent->myCalendars); yii::$app->jsconfig->addData('myProjects', yii::$app->ProjectComponent->myProjects); yii::$app->jsconfig->addData('createEventUri', Url::to('/calendar/ajax/createevent')); yii::$app->jsconfig->addData('updateEventUri', Url::to('/calendar/ajax/updateevent')); yii::$app->jsconfig->addData('deleteEventUri', Url::to('/calendar/ajax/deleteevent')); yii::$app->jsconfig->addData('subscribeUri', Url::to('/calendar/ajax/subscribe')); yii::$app->jsconfig->addData('unsubscribeUri', Url::to('/calendar/ajax/unsubscribe')); } return parent::init(); }
public function init() { return parent::init(); }
public function actions() { return parent::actions(); }