3 final class PhabricatorUserProfile
extends PhabricatorUserDAO
{
8 protected $profileImagePHID;
11 public static function initializeNewProfile(PhabricatorUser
$user) {
12 $default_icon = PhabricatorPeopleIconSet
::getDefaultIconKey();
15 ->setUserPHID($user->getPHID())
16 ->setIcon($default_icon)
21 protected function getConfiguration() {
23 self
::CONFIG_COLUMN_SCHEMA
=> array(
26 'profileImagePHID' => 'phid?',
29 self
::CONFIG_KEY_SCHEMA
=> array(
31 'columns' => array('userPHID'),
35 ) + parent
::getConfiguration();
38 public function getDisplayTitle() {
39 $title = $this->getTitle();
44 $icon_key = $this->getIcon();
45 return PhabricatorPeopleIconSet
::getIconName($icon_key);