Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/editor/PhabricatorProfileMenuEditEngine.php
<?php | <?php | ||||
final class PhabricatorProfileMenuEditEngine | final class PhabricatorProfileMenuEditEngine | ||||
extends PhabricatorEditEngine { | extends PhabricatorEditEngine { | ||||
const ENGINECONST = 'search.profilemenu'; | const ENGINECONST = 'search.profilemenu'; | ||||
private $menuEngine; | private $menuEngine; | ||||
private $profileObject; | private $profileObject; | ||||
private $customPHID; | |||||
private $newMenuItemConfiguration; | private $newMenuItemConfiguration; | ||||
private $isBuiltin; | private $isBuiltin; | ||||
public function isEngineConfigurable() { | public function isEngineConfigurable() { | ||||
return false; | return false; | ||||
} | } | ||||
public function setMenuEngine(PhabricatorProfileMenuEngine $engine) { | public function setMenuEngine(PhabricatorProfileMenuEngine $engine) { | ||||
Show All 9 Lines | public function setProfileObject($profile_object) { | ||||
$this->profileObject = $profile_object; | $this->profileObject = $profile_object; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getProfileObject() { | public function getProfileObject() { | ||||
return $this->profileObject; | return $this->profileObject; | ||||
} | } | ||||
public function setCustomPHID($custom_phid) { | |||||
$this->customPHID = $custom_phid; | |||||
return $this; | |||||
} | |||||
public function getCustomPHID() { | |||||
return $this->customPHID; | |||||
} | |||||
public function setNewMenuItemConfiguration( | public function setNewMenuItemConfiguration( | ||||
PhabricatorProfileMenuItemConfiguration $configuration) { | PhabricatorProfileMenuItemConfiguration $configuration) { | ||||
$this->newMenuItemConfiguration = $configuration; | $this->newMenuItemConfiguration = $configuration; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function getNewMenuItemConfiguration() { | public function getNewMenuItemConfiguration() { | ||||
return $this->newMenuItemConfiguration; | return $this->newMenuItemConfiguration; | ||||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |