當前位置: 首頁>>代碼示例>>PHP>>正文


PHP DAO_Worker::getAllWithDisabled方法代碼示例

本文整理匯總了PHP中DAO_Worker::getAllWithDisabled方法的典型用法代碼示例。如果您正苦於以下問題:PHP DAO_Worker::getAllWithDisabled方法的具體用法?PHP DAO_Worker::getAllWithDisabled怎麽用?PHP DAO_Worker::getAllWithDisabled使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在DAO_Worker的用法示例。


在下文中一共展示了DAO_Worker::getAllWithDisabled方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: showTabWorkersAction

 function showTabWorkersAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->assign('path', $this->_TPL_PATH);
     $workers = DAO_Worker::getAllWithDisabled();
     $tpl->assign('workers', $workers);
     $teams = DAO_Group::getAll();
     $tpl->assign('teams', $teams);
     $tpl->assign('response_uri', 'config/workers');
     $defaults = new C4_AbstractViewModel();
     $defaults->id = 'workers_cfg';
     $defaults->class_name = 'C4_WorkerView';
     $view = C4_AbstractViewLoader::getView($defaults->id, $defaults);
     $tpl->assign('view', $view);
     $tpl->assign('view_fields', C4_WorkerView::getFields());
     $tpl->assign('view_searchable_fields', C4_WorkerView::getSearchFields());
     $tpl->assign('license', CerberusLicense::getInstance());
     $tpl->display('file:' . $this->_TPL_PATH . 'configuration/tabs/workers/index.tpl');
 }
開發者ID:Hildy,項目名稱:cerb5,代碼行數:19,代碼來源:config.php

示例2: showTabWorkersAction

 function showTabWorkersAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->assign('path', $this->_TPL_PATH);
     $workers = DAO_Worker::getAllWithDisabled();
     $tpl->assign('workers', $workers);
     $tpl->assign('response_uri', 'setup/workers');
     $defaults = new Feg_AbstractViewModel();
     $defaults->id = 'workers_cfg';
     $defaults->class_name = 'View_Worker';
     $view = Feg_AbstractViewLoader::getView($defaults->id, $defaults);
     $tpl->assign('view', $view);
     $tpl->assign('view_fields', View_Worker::getFields());
     $tpl->assign('view_searchable_fields', View_Worker::getSearchFields());
     $tpl->assign('license', FegLicense::getInstance());
     $tpl->display('file:' . $this->_TPL_PATH . 'setup/tabs/workers/index.tpl');
 }
開發者ID:rmiddle,項目名稱:feg,代碼行數:17,代碼來源:setup.php

示例3: showTabWorkersAction

 function showTabWorkersAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->cache_lifetime = "0";
     $tpl->assign('path', $this->_TPL_PATH);
     $workers = DAO_Worker::getAllWithDisabled();
     $tpl->assign('workers', $workers);
     $teams = DAO_Group::getAll();
     $tpl->assign('teams', $teams);
     $tpl->assign('license', CerberusLicense::getInstance());
     $tpl->display('file:' . $this->_TPL_PATH . 'configuration/tabs/workers/index.tpl');
 }
開發者ID:jsjohnst,項目名稱:cerb4,代碼行數:12,代碼來源:config.php

示例4: showOppNotesTabAction

 function showOppNotesTabAction()
 {
     @($opp_id = DevblocksPlatform::importGPC($_REQUEST['id'], 'integer'));
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl_path = dirname(dirname(__FILE__)) . '/templates/';
     $tpl->assign('path', $tpl_path);
     $opp = DAO_CrmOpportunity::get($opp_id);
     $tpl->assign('opp', $opp);
     list($notes, $null) = DAO_Note::search(array(new DevblocksSearchCriteria(SearchFields_Note::SOURCE_EXT_ID, '=', CrmNotesSource_Opportunity::ID), new DevblocksSearchCriteria(SearchFields_Note::SOURCE_ID, '=', $opp->id)), 25, 0, DAO_Note::CREATED, false, false);
     $tpl->assign('notes', $notes);
     $active_workers = DAO_Worker::getAllActive();
     $tpl->assign('active_workers', $active_workers);
     $workers = DAO_Worker::getAllWithDisabled();
     $tpl->assign('workers', $workers);
     $tpl->display('file:' . $tpl_path . 'crm/opps/display/tabs/notes.tpl');
 }
開發者ID:joegeck,項目名稱:cerb4,代碼行數:16,代碼來源:App.php

示例5: showTabNotesAction

 function showTabNotesAction()
 {
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl->assign('path', $this->_TPL_PATH);
     @($org_id = DevblocksPlatform::importGPC($_REQUEST['org']));
     $org = DAO_ContactOrg::get($org_id);
     $tpl->assign('org', $org);
     list($notes, $null) = DAO_Note::search(array(new DevblocksSearchCriteria(SearchFields_Note::SOURCE_EXT_ID, '=', ChNotesSource_Org::ID), new DevblocksSearchCriteria(SearchFields_Note::SOURCE_ID, '=', $org->id)), 25, 0, SearchFields_Note::CREATED, false, false);
     $tpl->assign('notes', $notes);
     $active_workers = DAO_Worker::getAllActive();
     $tpl->assign('active_workers', $active_workers);
     $workers = DAO_Worker::getAllWithDisabled();
     $tpl->assign('workers', $workers);
     $tpl->display('file:' . $this->_TPL_PATH . 'contacts/orgs/tabs/notes.tpl');
 }
開發者ID:Hildy,項目名稱:cerb5,代碼行數:15,代碼來源:contacts.php

示例6: showTaskNotesTabAction

 function showTaskNotesTabAction()
 {
     @($task_id = DevblocksPlatform::importGPC($_REQUEST['id'], 'integer'));
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl_path = dirname(dirname(dirname(__FILE__))) . '/templates/';
     $tpl->assign('path', $tpl_path);
     $visit = CerberusApplication::getVisit();
     //		$visit->set(self::SESSION_OPP_TAB, 'notes');
     $task = DAO_Task::get($task_id);
     $tpl->assign('task', $task);
     list($notes, $null) = DAO_Note::search(array(new DevblocksSearchCriteria(SearchFields_Note::SOURCE_EXT_ID, '=', ChNotesSource_Task::ID), new DevblocksSearchCriteria(SearchFields_Note::SOURCE_ID, '=', $task->id)), 25, 0, SearchFields_Note::CREATED, false, false);
     $tpl->assign('notes', $notes);
     $active_workers = DAO_Worker::getAllActive();
     $tpl->assign('active_workers', $active_workers);
     $workers = DAO_Worker::getAllWithDisabled();
     $tpl->assign('workers', $workers);
     $tpl->display('file:' . $tpl_path . 'tasks/display/tabs/notes.tpl');
 }
開發者ID:Hildy,項目名稱:cerb5,代碼行數:18,代碼來源:tasks.php


注:本文中的DAO_Worker::getAllWithDisabled方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。