當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。