本文整理匯總了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));
}