1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-12 00:26:13 +01:00
phorge-phorge/src/applications/conpherence/conduit/ConpherenceEditConduitAPIMethod.php
Chad Little 608dd06151 Add a lipsum generator for Conpherence Rooms
Summary: Builds a basic room generator for Conpherence, picks a random name, adds 10 random users to it, sets view and edit policy to all users.

Test Plan:
`bin/lipsum generate conpherence`

{F4928815}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D17699
2017-04-29 20:08:00 -07:00

19 lines
388 B
PHP

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