Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUser.php
Show First 20 Lines • Show All 1,460 Lines • ▼ Show 20 Lines | public function getFieldValuesForConduit() { | ||||
return array( | return array( | ||||
'username' => $this->getUsername(), | 'username' => $this->getUsername(), | ||||
'realName' => $this->getRealName(), | 'realName' => $this->getRealName(), | ||||
'roles' => $roles, | 'roles' => $roles, | ||||
); | ); | ||||
} | } | ||||
public function getConduitSearchAttachments() { | public function getConduitSearchAttachments() { | ||||
return array(); | return array( | ||||
id(new PhabricatorPeopleAvailabilitySearchEngineAttachment()) | |||||
->setAttachmentKey('availability'), | |||||
); | |||||
} | } | ||||
/* -( User Cache )--------------------------------------------------------- */ | /* -( User Cache )--------------------------------------------------------- */ | ||||
/** | /** | ||||
* @task cache | * @task cache | ||||
▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines |