Differential D9859 Diff 23678 src/applications/conpherence/conduit/ConduitAPI_conpherence_querytransaction_Method.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conpherence/conduit/ConduitAPI_conpherence_querytransaction_Method.php
| <?php | <?php | ||||
| /** | |||||
| * @group conduit | |||||
| */ | |||||
| final class ConduitAPI_conpherence_querytransaction_Method | final class ConduitAPI_conpherence_querytransaction_Method | ||||
| extends ConduitAPI_conpherence_Method { | extends ConduitAPI_conpherence_Method { | ||||
| public function getMethodDescription() { | public function getMethodDescription() { | ||||
| return pht( | return pht( | ||||
| 'Query for transactions for the logged in user within a specific '. | 'Query for transactions for the logged in user within a specific '. | ||||
| 'conpherence thread. You can specify the thread by id or phid. '. | 'conpherence thread. You can specify the thread by id or phid. '. | ||||
| 'Otherwise, specify limit and offset to query the most recent '. | 'Otherwise, specify limit and offset to query the most recent '. | ||||
| 'transactions within the conpherence for the logged in user.'); | 'transactions within the conpherence for the logged in user.'); | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | foreach ($transactions as $transaction) { | ||||
| 'transactionMetadata' => $transaction->getMetadata(), | 'transactionMetadata' => $transaction->getMetadata(), | ||||
| 'authorPHID' => $transaction->getAuthorPHID(), | 'authorPHID' => $transaction->getAuthorPHID(), | ||||
| 'dateCreated' => $transaction->getDateCreated(), | 'dateCreated' => $transaction->getDateCreated(), | ||||
| 'conpherenceID' => $conpherence->getID(), | 'conpherenceID' => $conpherence->getID(), | ||||
| 'conpherencePHID' => $conpherence->getPHID()); | 'conpherencePHID' => $conpherence->getPHID()); | ||||
| } | } | ||||
| return $data; | return $data; | ||||
| } | } | ||||
| } | } | ||||