Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/controller/ConpherenceListController.php
| <?php | <?php | ||||
| /** | final class ConpherenceListController extends ConpherenceController { | ||||
| * @group conpherence | |||||
| */ | |||||
| final class ConpherenceListController | |||||
| extends ConpherenceController { | |||||
| const SELECTED_MODE = 'selected'; | const SELECTED_MODE = 'selected'; | ||||
| const UNSELECTED_MODE = 'unselected'; | const UNSELECTED_MODE = 'unselected'; | ||||
| const PAGING_MODE = 'paging'; | const PAGING_MODE = 'paging'; | ||||
| private $conpherenceID; | private $conpherenceID; | ||||
| public function setConpherenceID($conpherence_id) { | public function setConpherenceID($conpherence_id) { | ||||
| ▲ Show 20 Lines • Show All 206 Lines • ▼ Show 20 Lines | private function loadParticipationWithMidCursor( | ||||
| $participation = array_merge( | $participation = array_merge( | ||||
| $set_one, | $set_one, | ||||
| $set_two); | $set_two); | ||||
| return array( | return array( | ||||
| 'scroll_up_participant' => $scroll_up_participant, | 'scroll_up_participant' => $scroll_up_participant, | ||||
| 'scroll_down_participant' => $scroll_down_participant, | 'scroll_down_participant' => $scroll_down_participant, | ||||
| 'participation' => $participation); | 'participation' => $participation, | ||||
| ); | |||||
| } | } | ||||
| private function loadConpherenceThreadData($participation) { | private function loadConpherenceThreadData($participation) { | ||||
| $user = $this->getRequest()->getUser(); | $user = $this->getRequest()->getUser(); | ||||
| $conpherence_phids = array_keys($participation); | $conpherence_phids = array_keys($participation); | ||||
| $conpherences = array(); | $conpherences = array(); | ||||
| if ($conpherence_phids) { | if ($conpherence_phids) { | ||||
| $conpherences = id(new ConpherenceThreadQuery()) | $conpherences = id(new ConpherenceThreadQuery()) | ||||
| Show All 18 Lines | |||||