protected function _initView($pa_options = null)
 {
     AssetLoadManager::register('bundleableEditor');
     AssetLoadManager::register('sortableUI');
     $va_init = parent::_initView($pa_options);
     if (!$va_init[1]->getPrimaryKey()) {
         $va_init[1]->set('user_id', $this->request->getUserID());
         $va_init[1]->set('table_num', $this->request->getParameter('table_num', pInteger));
     }
     return $va_init;
 }
 protected function _initView($pa_options = null)
 {
     AssetLoadManager::register('bundleableEditor');
     AssetLoadManager::register('sortableUI');
     AssetLoadManager::register('bundleListEditorUI');
     if ($vn_rc = parent::_initView()) {
         $t_screen = $this->view->getVar('t_subject');
         $this->opn_ui_id = $t_screen->get('ui_id');
         $t_ui = new ca_editor_uis($this->opn_ui_id);
         $va_screens = $t_ui->getScreens(null, array('showAll' => true));
         if (is_array($va_screens)) {
             $o_result_context = new ResultContext($this->request, 'ca_editor_ui_screens', 'basic_search');
             $o_result_context->setResultList(array_keys($va_screens));
             $o_result_context->setAsLastFind();
             $o_result_context->saveContext();
         }
     }
     return $vn_rc;
 }
Exemplo n.º 3
0
 /**
  *
  */
 protected function _initView($pa_options = null)
 {
     $this->view->setVar('graphicsPath', $this->request->getBaseUrlPath() . "/app/plugins/Contribute/themes/" . $this->ops_theme . "/graphics");
     $this->view->setVar('viewPath', array_shift($this->view->getViewPaths()));
     return parent::_initView($pa_options);
 }