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


PHP PhabricatorSavedQuery::setParameter方法代碼示例

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


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

示例1: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('types', $this->readListFromRequest($request, 'types'));
     $saved->setParameter('name', $request->getStr('name'));
     return $saved;
 }
開發者ID:denghp,項目名稱:phabricator,代碼行數:7,代碼來源:DivinerAtomSearchEngine.php

示例2: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('status', $request->getStr('status'));
     $saved->setParameter('order', $request->getStr('order'));
     return $saved;
 }
開發者ID:hrb518,項目名稱:phabricator,代碼行數:7,代碼來源:PhrictionSearchEngine.php

示例3: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $query = new PhabricatorSavedQuery();
     $query->setParameter('resourcePHIDs', $this->readListFromRequest($request, 'resources'));
     $query->setParameter('leasePHIDs', $this->readListFromRequest($request, 'leases'));
     return $query;
 }
開發者ID:fengshao0907,項目名稱:phabricator,代碼行數:7,代碼來源:DrydockLogSearchEngine.php

示例4: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('authorPHIDs', $this->readUsersFromRequest($request, 'authors'));
     $saved->setParameter('upcoming', $request->getBool('upcoming'));
     return $saved;
 }
開發者ID:TomCN7,項目名稱:phabricator,代碼行數:7,代碼來源:PhabricatorCountdownSearchEngine.php

示例5: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('repositoryPHIDs', $this->readPHIDsFromRequest($request, 'repositories', array(PhabricatorRepositoryRepositoryPHIDType::TYPECONST)));
     $saved->setParameter('pusherPHIDs', $this->readUsersFromRequest($request, 'pushers'));
     return $saved;
 }
開發者ID:pugong,項目名稱:phabricator,代碼行數:7,代碼來源:PhabricatorRepositoryPushLogSearchEngine.php

示例6: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('statuses', $this->readListFromRequest($request, 'statuses'));
     $saved->setParameter('qualities', $this->readListFromRequest($request, 'qualities'));
     return $saved;
 }
開發者ID:patelhardik,項目名稱:phabricator,代碼行數:7,代碼來源:PhabricatorBadgesSearchEngine.php

示例7: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('participantPHIDs', $this->readUsersFromRequest($request, 'participants'));
     $saved->setParameter('fulltext', $request->getStr('fulltext'));
     $saved->setParameter('threadType', $request->getStr('threadType'));
     return $saved;
 }
開發者ID:hrb518,項目名稱:phabricator,代碼行數:8,代碼來源:ConpherenceThreadSearchEngine.php

示例8: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('colors', $request->getArr('colors'));
     $saved->setParameter('group', $request->getStr('group'));
     $saved->setParameter('objectFilter', $request->getStr('objectFilter'));
     return $saved;
 }
開發者ID:JohnnyEstilles,項目名稱:phabricator,代碼行數:8,代碼來源:PhabricatorFlagSearchEngine.php

示例9: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('status', $request->getStr('status'));
     $saved->setParameter('severity', $request->getStr('severity'));
     $saved->setParameter('requestorPHIDs', $this->readUsersFromRequest($request, 'requestors'));
     return $saved;
 }
開發者ID:denghp,項目名稱:phabricator,代碼行數:8,代碼來源:ReleephRequestSearchEngine.php

示例10: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('userPHIDs', $this->readUsersFromRequest($request, 'users'));
     $saved->setParameter('projectPHIDs', array_values($request->getArr('projectPHIDs')));
     $saved->setParameter('viewerProjects', $request->getBool('viewerProjects'));
     return $saved;
 }
開發者ID:hrb518,項目名稱:phabricator,代碼行數:8,代碼來源:PhabricatorFeedSearchEngine.php

示例11: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('signerPHIDs', $this->readUsersFromRequest($request, 'signers'));
     $saved->setParameter('documentPHIDs', $this->readPHIDsFromRequest($request, 'documents', array(PhabricatorLegalpadDocumentPHIDType::TYPECONST)));
     $saved->setParameter('nameContains', $request->getStr('nameContains'));
     $saved->setParameter('emailContains', $request->getStr('emailContains'));
     return $saved;
 }
開發者ID:truSense,項目名稱:phabricator,代碼行數:9,代碼來源:LegalpadDocumentSignatureSearchEngine.php

示例12: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('authorPHIDs', $this->readUsersFromRequest($request, 'authors'));
     $saved->setParameter('explicit', $request->getBool('explicit'));
     $saved->setParameter('createdStart', $request->getStr('createdStart'));
     $saved->setParameter('createdEnd', $request->getStr('createdEnd'));
     return $saved;
 }
開發者ID:denghp,項目名稱:phabricator,代碼行數:9,代碼來源:PhabricatorFileSearchEngine.php

示例13: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('isStable', $request->getStr('isStable'));
     $saved->setParameter('isUnstable', $request->getStr('isUnstable'));
     $saved->setParameter('isDeprecated', $request->getStr('isDeprecated'));
     $saved->setParameter('nameContains', $request->getStr('nameContains'));
     return $saved;
 }
開發者ID:NeoArmageddon,項目名稱:phabricator,代碼行數:9,代碼來源:PhabricatorConduitSearchEngine.php

示例14: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('authorPHIDs', $this->readUsersFromRequest($request, 'authors'));
     $saved->setParameter('contentType', $request->getStr('contentType'));
     $saved->setParameter('ruleType', $request->getStr('ruleType'));
     $saved->setParameter('disabled', $this->readBoolFromRequest($request, 'disabled'));
     return $saved;
 }
開發者ID:kristain,項目名稱:phabricator,代碼行數:9,代碼來源:HeraldRuleSearchEngine.php

示例15: buildSavedQueryFromRequest

 public function buildSavedQueryFromRequest(AphrontRequest $request)
 {
     $saved = new PhabricatorSavedQuery();
     $saved->setParameter('name', $request->getStr('name'));
     $saved->setParameter('installed', $this->readBoolFromRequest($request, 'installed'));
     $saved->setParameter('beta', $this->readBoolFromRequest($request, 'beta'));
     $saved->setParameter('firstParty', $this->readBoolFromRequest($request, 'firstParty'));
     $saved->setParameter('launchable', $this->readBoolFromRequest($request, 'launchable'));
     return $saved;
 }
開發者ID:denghp,項目名稱:phabricator,代碼行數:10,代碼來源:PhabricatorAppSearchEngine.php


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