1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/countdown/conduit/CountdownEditConduitAPIMethod.php
Austin McKinley d902d2ac6b Implement countdown.search and countdown.edit
Summary: adds new conduit methods for countdown.edit and countdown.search

Test Plan:
Search: {P2037}
Edit: {P2038}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Maniphest Tasks: T12524

Differential Revision: https://secure.phabricator.com/D17679
2017-04-13 12:57:10 -07:00

18 lines
397 B
PHP

<?php
final class CountdownEditConduitAPIMethod
extends PhabricatorEditEngineAPIMethod {
public function getAPIMethodName() {
return 'countdown.edit';
}
public function newEditEngine() {
return new PhabricatorCountdownEditEngine();
}
public function getMethodSummary() {
return pht(
'Apply transactions to create a new countdown or edit an existing one.');
}
}