当前位置: 首页>>代码示例>>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;未经允许,请勿转载。