[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class PhabricatorRegistrationProfile extends Phobject { 4 5 private $defaultUsername; 6 private $defaultEmail; 7 private $defaultRealName; 8 private $canEditUsername; 9 private $canEditEmail; 10 private $canEditRealName; 11 private $shouldVerifyEmail; 12 13 public function setShouldVerifyEmail($should_verify_email) { 14 $this->shouldVerifyEmail = $should_verify_email; 15 return $this; 16 } 17 18 public function getShouldVerifyEmail() { 19 return $this->shouldVerifyEmail; 20 } 21 22 public function setCanEditEmail($can_edit_email) { 23 $this->canEditEmail = $can_edit_email; 24 return $this; 25 } 26 27 public function getCanEditEmail() { 28 return $this->canEditEmail; 29 } 30 31 public function setCanEditRealName($can_edit_real_name) { 32 $this->canEditRealName = $can_edit_real_name; 33 return $this; 34 } 35 36 public function getCanEditRealName() { 37 return $this->canEditRealName; 38 } 39 40 41 public function setCanEditUsername($can_edit_username) { 42 $this->canEditUsername = $can_edit_username; 43 return $this; 44 } 45 46 public function getCanEditUsername() { 47 return $this->canEditUsername; 48 } 49 50 public function setDefaultEmail($default_email) { 51 $this->defaultEmail = $default_email; 52 return $this; 53 } 54 55 public function getDefaultEmail() { 56 return $this->defaultEmail; 57 } 58 59 public function setDefaultRealName($default_real_name) { 60 $this->defaultRealName = $default_real_name; 61 return $this; 62 } 63 64 public function getDefaultRealName() { 65 return $this->defaultRealName; 66 } 67 68 69 public function setDefaultUsername($default_username) { 70 $this->defaultUsername = $default_username; 71 return $this; 72 } 73 74 public function getDefaultUsername() { 75 return $this->defaultUsername; 76 } 77 78 public function getCanEditAnything() { 79 return $this->getCanEditUsername() || 80 $this->getCanEditEmail() || 81 $this->getCanEditRealName(); 82 } 83 84 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |