Differential D9859 Diff 23678 src/applications/conpherence/conduit/ConduitAPI_conpherence_querythread_Method.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/conduit/ConduitAPI_conpherence_querythread_Method.php
| <?php | <?php | ||||
| /** | |||||
| * @group conduit | |||||
| */ | |||||
| final class ConduitAPI_conpherence_querythread_Method | final class ConduitAPI_conpherence_querythread_Method | ||||
| extends ConduitAPI_conpherence_Method { | extends ConduitAPI_conpherence_Method { | ||||
| public function getMethodDescription() { | public function getMethodDescription() { | ||||
| return pht( | return pht( | ||||
| 'Query for conpherence threads for the logged in user. '. | 'Query for conpherence threads for the logged in user. '. | ||||
| 'You can query by ids or phids for specific conpherence threads. '. | 'You can query by ids or phids for specific conpherence threads. '. | ||||
| 'Otherwise, specify limit and offset to query the most recently '. | 'Otherwise, specify limit and offset to query the most recently '. | ||||
| 'updated conpherences for the logged in user.'); | 'updated conpherences for the logged in user.'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | foreach ($conpherences as $conpherence) { | ||||
| 'conpherenceTitle' => $conpherence->getTitle(), | 'conpherenceTitle' => $conpherence->getTitle(), | ||||
| 'messageCount' => $conpherence->getMessageCount(), | 'messageCount' => $conpherence->getMessageCount(), | ||||
| 'recentParticipantPHIDs' => $conpherence->getRecentParticipantPHIDs(), | 'recentParticipantPHIDs' => $conpherence->getRecentParticipantPHIDs(), | ||||
| 'filePHIDs' => $conpherence->getFilePHIDs(), | 'filePHIDs' => $conpherence->getFilePHIDs(), | ||||
| 'conpherenceURI' => $this->getConpherenceURI($conpherence)); | 'conpherenceURI' => $this->getConpherenceURI($conpherence)); | ||||
| } | } | ||||
| return $data; | return $data; | ||||
| } | } | ||||
| } | } | ||||