예제 #1
0
파일: contacts.php 프로젝트: Hildy/cerb5
 function showAddysTabAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->assign('path', $this->_TPL_PATH);
     $defaults = new C4_AbstractViewModel();
     $defaults->class_name = 'C4_AddressView';
     $defaults->id = C4_AddressView::DEFAULT_ID;
     $view = C4_AbstractViewLoader::getView(C4_AddressView::DEFAULT_ID, $defaults);
     $tpl->assign('view', $view);
     $tpl->assign('contacts_page', 'addresses');
     $tpl->assign('response_uri', 'contacts/addresses');
     $tpl->assign('view_fields', C4_AddressView::getFields());
     $tpl->assign('view_searchable_fields', C4_AddressView::getSearchFields());
     $tpl->display('file:' . $this->_TPL_PATH . 'contacts/addresses/index.tpl');
 }
예제 #2
0
파일: contacts.php 프로젝트: joegeck/cerb4
 function showAddysTabAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->cache_lifetime = "0";
     $tpl->assign('path', $this->_TPL_PATH);
     $view = C4_AbstractViewLoader::getView('C4_AddressView', C4_AddressView::DEFAULT_ID);
     $tpl->assign('view', $view);
     $tpl->assign('contacts_page', 'addresses');
     $tpl->assign('response_uri', 'contacts/addresses');
     $tpl->assign('view_fields', C4_AddressView::getFields());
     $tpl->assign('view_searchable_fields', C4_AddressView::getSearchFields());
     $tpl->display('file:' . $this->_TPL_PATH . 'contacts/addresses/index.tpl');
 }