当前位置: 首页>>代码示例>>PHP>>正文


PHP PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders方法代码示例

本文整理汇总了PHP中PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders方法的典型用法代码示例。如果您正苦于以下问题:PHP PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders方法的具体用法?PHP PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders怎么用?PHP PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PhabricatorCursorPagedPolicyAwareQuery的用法示例。


在下文中一共展示了PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getBuiltinOrders

 public function getBuiltinOrders()
 {
     return array('name' => array('vector' => array('name'), 'name' => pht('Name'))) + parent::getBuiltinOrders();
 }
开发者ID:NeoArmageddon,项目名称:phabricator,代码行数:4,代码来源:PhabricatorProjectQuery.php

示例2: getBuiltinOrders

 public function getBuiltinOrders()
 {
     return array('quality' => array('vector' => array('quality', 'id'), 'name' => pht('Rarity (Rarest First)')), 'shoddiness' => array('vector' => array('-quality', '-id'), 'name' => pht('Rarity (Most Common First)'))) + parent::getBuiltinOrders();
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:4,代码来源:PhabricatorBadgesQuery.php

示例3: getBuiltinOrders

 public function getBuiltinOrders()
 {
     return array('committed' => array('vector' => array('committed', 'id'), 'name' => pht('Most Recent Commit')), 'name' => array('vector' => array('name', 'id'), 'name' => pht('Name')), 'callsign' => array('vector' => array('callsign'), 'name' => pht('Callsign')), 'size' => array('vector' => array('size', 'id'), 'name' => pht('Size'))) + parent::getBuiltinOrders();
 }
开发者ID:truSense,项目名称:phabricator,代码行数:4,代码来源:PhabricatorRepositoryQuery.php

示例4: getBuiltinOrders

 public function getBuiltinOrders()
 {
     $orders = parent::getBuiltinOrders() + array('updated' => array('vector' => array('updated', 'id'), 'name' => pht('Date Updated (Latest First)'), 'aliases' => array(self::ORDER_MODIFIED)), 'outdated' => array('vector' => array('-updated', '-id'), 'name' => pht('Date Updated (Oldest First)')));
     // Alias the "newest" builtin to the historical key for it.
     $orders['newest']['aliases'][] = self::ORDER_CREATED;
     return $orders;
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:7,代码来源:DifferentialRevisionQuery.php

示例5: getBuiltinOrders

 public function getBuiltinOrders()
 {
     $orders = array('priority' => array('vector' => array('priority', 'subpriority', 'id'), 'name' => pht('Priority'), 'aliases' => array(self::ORDER_PRIORITY)), 'updated' => array('vector' => array('updated', 'id'), 'name' => pht('Date Updated (Latest First)'), 'aliases' => array(self::ORDER_MODIFIED)), 'outdated' => array('vector' => array('-updated', '-id'), 'name' => pht('Date Updated (Oldest First)')), 'title' => array('vector' => array('title', 'id'), 'name' => pht('Title'), 'aliases' => array(self::ORDER_TITLE))) + parent::getBuiltinOrders();
     // Alias the "newest" builtin to the historical key for it.
     $orders['newest']['aliases'][] = self::ORDER_CREATED;
     $orders = array_select_keys($orders, array('priority', 'updated', 'outdated', 'newest', 'oldest', 'title')) + $orders;
     return $orders;
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:8,代码来源:ManiphestTaskQuery.php

示例6: getBuiltinOrders

 public function getBuiltinOrders()
 {
     return array('datePublished' => array('vector' => array('datePublished', 'id'), 'name' => pht('Publish Date'))) + parent::getBuiltinOrders();
 }
开发者ID:NeoArmageddon,项目名称:phabricator,代码行数:4,代码来源:PhamePostQuery.php

示例7: getBuiltinOrders

 public function getBuiltinOrders()
 {
     $parent = parent::getBuiltinOrders();
     // Rename the default ID-based orders.
     $parent['importnew'] = array('name' => pht('Import Date (Newest First)')) + $parent['newest'];
     $parent['importold'] = array('name' => pht('Import Date (Oldest First)')) + $parent['oldest'];
     return array('newest' => array('vector' => array('epoch', 'id'), 'name' => pht('Commit Date (Newest First)')), 'oldest' => array('vector' => array('-epoch', '-id'), 'name' => pht('Commit Date (Oldest First)'))) + $parent;
 }
开发者ID:nilsdornblut,项目名称:phabricator,代码行数:8,代码来源:DiffusionCommitQuery.php

示例8: getBuiltinOrders

 public function getBuiltinOrders()
 {
     return array(self::ORDER_HIERARCHY => array('vector' => array('depth', 'title', 'updated'), 'name' => pht('Hierarchy'))) + parent::getBuiltinOrders();
 }
开发者ID:endlessm,项目名称:phabricator,代码行数:4,代码来源:PhrictionDocumentQuery.php


注:本文中的PhabricatorCursorPagedPolicyAwareQuery::getBuiltinOrders方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。