Differential D9859 Diff 23678 src/applications/conpherence/controller/ConpherenceWidgetController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceWidgetController.php
| <?php | <?php | ||||
| /** | final class ConpherenceWidgetController extends ConpherenceController { | ||||
| * @group conpherence | |||||
| */ | |||||
| final class ConpherenceWidgetController extends | |||||
| ConpherenceController { | |||||
| private $conpherenceID; | private $conpherenceID; | ||||
| private $conpherence; | private $conpherence; | ||||
| private $userPreferences; | private $userPreferences; | ||||
| public function setUserPreferences(PhabricatorUserPreferences $pref) { | public function setUserPreferences(PhabricatorUserPreferences $pref) { | ||||
| $this->userPreferences = $pref; | $this->userPreferences = $pref; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getUserPreferences() { | public function getUserPreferences() { | ||||
| return $this->userPreferences; | return $this->userPreferences; | ||||
| } | } | ||||
| public function setConpherence(ConpherenceThread $conpherence) { | public function setConpherence(ConpherenceThread $conpherence) { | ||||
| $this->conpherence = $conpherence; | $this->conpherence = $conpherence; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getConpherence() { | public function getConpherence() { | ||||
| return $this->conpherence; | return $this->conpherence; | ||||
| } | } | ||||
| public function setConpherenceID($conpherence_id) { | public function setConpherenceID($conpherence_id) { | ||||
| $this->conpherenceID = $conpherence_id; | $this->conpherenceID = $conpherence_id; | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function getConpherenceID() { | public function getConpherenceID() { | ||||
| return $this->conpherenceID; | return $this->conpherenceID; | ||||
| } | } | ||||
| public function willProcessRequest(array $data) { | public function willProcessRequest(array $data) { | ||||
| $this->setConpherenceID(idx($data, 'id')); | $this->setConpherenceID(idx($data, 'id')); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 345 Lines • Show Last 20 Lines | |||||