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


PHP PhabricatorCursorPagedPolicyAwareQuery::getOrderableColumns方法代码示例

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


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

示例1: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('name' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'name', 'reverse' => true, 'type' => 'string', 'unique' => true), 'milestoneNumber' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'milestoneNumber', 'type' => 'int'));
 }
开发者ID:NeoArmageddon,项目名称:phabricator,代码行数:4,代码来源:PhabricatorProjectQuery.php

示例2: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('committed' => array('table' => 's', 'column' => 'epoch', 'type' => 'int', 'null' => 'tail'), 'callsign' => array('table' => 'r', 'column' => 'callsign', 'type' => 'string', 'unique' => true, 'reverse' => true), 'name' => array('table' => 'r', 'column' => 'name', 'type' => 'string', 'reverse' => true), 'size' => array('table' => 's', 'column' => 'size', 'type' => 'int', 'null' => 'tail'));
 }
开发者ID:truSense,项目名称:phabricator,代码行数:4,代码来源:PhabricatorRepositoryQuery.php

示例3: getOrderableColumns

 public function getOrderableColumns()
 {
     return array('start' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'dateFrom', 'reverse' => true, 'type' => 'int', 'unique' => false)) + parent::getOrderableColumns();
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:4,代码来源:PhabricatorCalendarEventQuery.php

示例4: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('priority' => array('table' => 'task', 'column' => 'priority', 'type' => 'int'), 'owner' => array('table' => 'task', 'column' => 'ownerOrdering', 'null' => 'head', 'reverse' => true, 'type' => 'string'), 'status' => array('table' => 'task', 'column' => 'status', 'type' => 'string', 'reverse' => true), 'project' => array('table' => 'projectGroupName', 'column' => 'indexedObjectName', 'type' => 'string', 'null' => 'head', 'reverse' => true), 'title' => array('table' => 'task', 'column' => 'title', 'type' => 'string', 'reverse' => true), 'subpriority' => array('table' => 'task', 'column' => 'subpriority', 'type' => 'float'), 'updated' => array('table' => 'task', 'column' => 'dateModified', 'type' => 'int'));
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:4,代码来源:ManiphestTaskQuery.php

示例5: getOrderableColumns

 public function getOrderableColumns()
 {
     return array('quality' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'quality', 'reverse' => true, 'type' => 'int')) + parent::getOrderableColumns();
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:4,代码来源:PhabricatorBadgesQuery.php

示例6: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('start' => array('column' => 'dateStarted', 'type' => 'int'), 'end' => array('column' => 'dateEnded', 'type' => 'int', 'null' => 'head'));
 }
开发者ID:pugong,项目名称:phabricator,代码行数:4,代码来源:PhrequentUserTimeQuery.php

示例7: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('name' => array('column' => 'name', 'type' => 'string', 'reverse' => true));
 }
开发者ID:pugong,项目名称:phabricator,代码行数:4,代码来源:HarbormasterBuildPlanQuery.php

示例8: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('username' => array('table' => 'user', 'column' => 'username', 'type' => 'string', 'reverse' => true, 'unique' => true));
 }
开发者ID:NeoArmageddon,项目名称:phabricator,代码行数:4,代码来源:PhabricatorPeopleQuery.php

示例9: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('datePublished' => array('column' => 'datePublished', 'type' => 'int', 'reverse' => false));
 }
开发者ID:NeoArmageddon,项目名称:phabricator,代码行数:4,代码来源:PhamePostQuery.php

示例10: getOrderableColumns

 public function getOrderableColumns()
 {
     return array('epoch' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'epoch', 'type' => 'int')) + parent::getOrderableColumns();
 }
开发者ID:rchicoli,项目名称:phabricator,代码行数:4,代码来源:PhabricatorCountdownQuery.php

示例11: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('depth' => array('table' => 'd', 'column' => 'depth', 'reverse' => true, 'type' => 'int'), 'title' => array('table' => 'c', 'column' => 'title', 'reverse' => true, 'type' => 'string'), 'updated' => array('table' => 'd', 'column' => 'contentID', 'type' => 'int', 'unique' => true));
 }
开发者ID:pugong,项目名称:phabricator,代码行数:4,代码来源:PhrictionDocumentQuery.php

示例12: getOrderableColumns

 public function getOrderableColumns()
 {
     return parent::getOrderableColumns() + array('epoch' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'epoch', 'type' => 'int', 'reverse' => false));
 }
开发者ID:nilsdornblut,项目名称:phabricator,代码行数:4,代码来源:DiffusionCommitQuery.php


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