mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
8ade91486c
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
18 lines
386 B
PHP
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.');
|
|
}
|
|
|
|
}
|