1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 20:52:43 +01:00
phorge-phorge/src/applications/calendar/conduit/PhabricatorCalendarEventSearchConduitAPIMethod.php
epriestley 8ade91486c Add calendar.event.search and calendar.event.edit
Summary: Ref T7944. The search method is a bit bare-bones for now, but these substantially work.

Test Plan: Edited events via API; queried events via API.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7944

Differential Revision: https://secure.phabricator.com/D16288
2016-07-13 10:17:46 -07:00

18 lines
386 B
PHP

<?php
final class PhabricatorCalendarEventSearchConduitAPIMethod
extends PhabricatorSearchEngineAPIMethod {
public function getAPIMethodName() {
return 'calendar.event.search';
}
public function newSearchEngine() {
return new PhabricatorCalendarEventSearchEngine();
}
public function getMethodSummary() {
return pht('Read information about events.');
}
}