Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/query/PhabricatorPeopleQuery.php
Show First 20 Lines • Show All 332 Lines • ▼ Show 20 Lines | return parent::getOrderableColumns() + array( | ||||
'column' => 'username', | 'column' => 'username', | ||||
'type' => 'string', | 'type' => 'string', | ||||
'reverse' => true, | 'reverse' => true, | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function getPagingValueMap($cursor, array $keys) { | protected function getPagingValueMap($cursor, array $keys) { | ||||
$user = $this->loadCursorObject($cursor); | $user = $this->loadCursorObject($cursor); | ||||
return array( | return array( | ||||
'id' => $user->getID(), | 'id' => $user->getID(), | ||||
'username' => $user->getUsername(), | 'username' => $user->getUsername(), | ||||
); | ); | ||||
} | } | ||||
} | } |