本文整理汇总了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'));
}
示例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'));
}
示例3: getOrderableColumns
public function getOrderableColumns()
{
return array('start' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'dateFrom', 'reverse' => true, 'type' => 'int', 'unique' => false)) + parent::getOrderableColumns();
}
示例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'));
}
示例5: getOrderableColumns
public function getOrderableColumns()
{
return array('quality' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'quality', 'reverse' => true, 'type' => 'int')) + parent::getOrderableColumns();
}
示例6: getOrderableColumns
public function getOrderableColumns()
{
return parent::getOrderableColumns() + array('start' => array('column' => 'dateStarted', 'type' => 'int'), 'end' => array('column' => 'dateEnded', 'type' => 'int', 'null' => 'head'));
}
示例7: getOrderableColumns
public function getOrderableColumns()
{
return parent::getOrderableColumns() + array('name' => array('column' => 'name', 'type' => 'string', 'reverse' => true));
}
示例8: getOrderableColumns
public function getOrderableColumns()
{
return parent::getOrderableColumns() + array('username' => array('table' => 'user', 'column' => 'username', 'type' => 'string', 'reverse' => true, 'unique' => true));
}
示例9: getOrderableColumns
public function getOrderableColumns()
{
return parent::getOrderableColumns() + array('datePublished' => array('column' => 'datePublished', 'type' => 'int', 'reverse' => false));
}
示例10: getOrderableColumns
public function getOrderableColumns()
{
return array('epoch' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'epoch', 'type' => 'int')) + parent::getOrderableColumns();
}
示例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));
}
示例12: getOrderableColumns
public function getOrderableColumns()
{
return parent::getOrderableColumns() + array('epoch' => array('table' => $this->getPrimaryTableAlias(), 'column' => 'epoch', 'type' => 'int', 'reverse' => false));
}