コード例 #1
0
 function __construct($view_class = null)
 {
     if ($view_class === null) {
         $view_class = "SiteCommentView";
     }
     parent::__construct($view_class);
 }
コード例 #2
0
ファイル: AdminController.php プロジェクト: amanai/next24
 function __construct($view_class = null)
 {
     if ($view_class === null) {
         $view_class = "AdminView";
     }
     parent::__construct($view_class);
 }
コード例 #3
0
ファイル: SiteController.php プロジェクト: amanai/next24
 function __construct($view_class = null)
 {
     if ($view_class === null) {
         $view_class = "SiteView";
     }
     parent::__construct($view_class);
     $this->BaseSiteData();
 }
コード例 #4
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         //$this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Справочник видов работ");
     parent::__construct();
 }
コード例 #5
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Индивидуальные учебные планы");
     parent::__construct();
 }
コード例 #6
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Справочная система Портала");
     parent::__construct();
 }
コード例 #7
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Личные сообщения");
     parent::__construct();
 }
コード例 #8
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление приказами УГАТУ и кафедры");
     parent::__construct();
 }
コード例 #9
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Вопросы к ГОС экзаменам");
     parent::__construct();
 }
コード例 #10
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Генератор контроллеров");
     parent::__construct();
 }
 public function __construct()
 {
     if (!CSession::isAuth()) {
         //$this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление валидаторами полей");
     parent::__construct();
 }
コード例 #12
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление наборами шаблонов");
     parent::__construct();
 }
コード例 #13
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление доступом пользователей");
     parent::__construct();
 }
コード例 #14
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление моделями данных");
     parent::__construct();
 }
コード例 #15
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Класс-описатели полей");
     parent::__construct();
 }
コード例 #16
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Генерация кода по шаблону");
     parent::__construct();
 }
コード例 #17
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         if (!in_array(CRequest::getString("action"), $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление таблицами доступа");
     parent::__construct();
 }
コード例 #18
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         if (!in_array(CRequest::getString("action"), $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Подсистема архивирования");
     parent::__construct();
 }
コード例 #19
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         if (!in_array(CRequest::getString("action"), $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Учебные группы студентов");
     $this->_useDojo = true;
     parent::__construct();
 }
コード例 #20
0
 public function __construct()
 {
     parent::__construct();
     // Initializing of page
     $this->load->model('Page_model');
     $this->data = $this->Page_model->GetPageContent($this->cPageName, 'general', false);
     // All categories for top header and right column
     $this->data->aCategories = $this->Page_model->GetAllCategories();
     $this->cTitle = $this->data->pages_title;
     $this->cDescription = $this->data->pages_description;
     $this->cKeywords = $this->data->pages_keywords;
 }
コード例 #21
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $this->redirectNoAccess();
     }
     if (CSession::getCurrentUser()->getLevelForCurrentTask() == ACCESS_LEVEL_NO_ACCESS) {
         $this->redirectNoAccess();
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Учебная нагрузка");
     parent::__construct();
 }
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Содержание разделов дисциплины");
     parent::__construct();
 }
コード例 #23
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Вопросы преподавателям и другим пользователям портала");
     parent::__construct();
 }
コード例 #24
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array(CRequest::getString("action"), $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Предзащита ВКР - студенты");
     parent::__construct();
 }
コード例 #25
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Редактирование страниц портала");
     parent::__construct();
 }
コード例 #26
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Управление сотрудниками кафедры");
     parent::__construct();
 }
コード例 #27
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Рейтинг преподавателей по публикациям");
     parent::__construct();
 }
コード例 #28
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     }
     $this->_useDojo = true;
     $this->_smartyEnabled = true;
     $this->setPageTitle("Комиссии ГАК");
     parent::__construct();
 }
コード例 #29
0
 public function __construct()
 {
     // если не определен параметр type=json, то ведем себя
     // как обычный контроллер
     if (CRequest::getString("type") == "") {
         parent::__construct();
         return;
     }
     if (CRequest::getString("type") != "json") {
         parent::__construct();
         return;
     }
     if (CRequest::getString("type") == "json") {
         $this->processRequest();
     }
 }
コード例 #30
0
 public function __construct()
 {
     if (!CSession::isAuth()) {
         $action = CRequest::getString("action");
         if ($action == "") {
             $action = "index";
         }
         if (!in_array($action, $this->allowedAnonymous)) {
             $this->redirectNoAccess();
         }
     } else {
         if (CSession::getCurrentUser()->getLevelForCurrentTask() == ACCESS_LEVEL_NO_ACCESS) {
             $this->redirectNoAccess();
         }
     }
     $this->_smartyEnabled = true;
     $this->setPageTitle("Новости портала кафедры АСУ");
     parent::__construct();
 }