Exemple #1
0
 function showOrgsTabAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->assign('path', $this->_TPL_PATH);
     $defaults = new C4_AbstractViewModel();
     $defaults->class_name = 'C4_ContactOrgView';
     $defaults->id = C4_ContactOrgView::DEFAULT_ID;
     $view = C4_AbstractViewLoader::getView(C4_ContactOrgView::DEFAULT_ID, $defaults);
     $tpl->assign('view', $view);
     $tpl->assign('contacts_page', 'orgs');
     $tpl->assign('response_uri', 'contacts/orgs');
     $tpl->assign('view_fields', C4_ContactOrgView::getFields());
     $tpl->assign('view_searchable_fields', C4_ContactOrgView::getSearchFields());
     $tpl->display('file:' . $this->_TPL_PATH . 'contacts/orgs/index.tpl');
 }
Exemple #2
0
 function showOrgsTabAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->cache_lifetime = "0";
     $tpl->assign('path', $this->_TPL_PATH);
     $view = C4_AbstractViewLoader::getView('C4_ContactOrgView', C4_ContactOrgView::DEFAULT_ID);
     $tpl->assign('view', $view);
     $tpl->assign('contacts_page', 'orgs');
     $tpl->assign('response_uri', 'contacts/orgs');
     $tpl->assign('view_fields', C4_ContactOrgView::getFields());
     $tpl->assign('view_searchable_fields', C4_ContactOrgView::getSearchFields());
     $tpl->display('file:' . $this->_TPL_PATH . 'contacts/orgs/index.tpl');
 }