Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/issuetemplate.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-04-23 15:24:20 +0300
committerJulius Härtl <jus@bitgrid.net>2017-10-25 15:00:16 +0300
commit0b49dc10486f1444de5892f4bf902eb8c860117a (patch)
tree2532308dbf03d91c68beff0c70fe0fa885994345 /lib/IDetail.php
parent280ee5db1e1f7f617ae90da534c0d1bc96b03db0 (diff)
Allow apps to define custom bug report details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/IDetail.php')
-rw-r--r--lib/IDetail.php51
1 files changed, 51 insertions, 0 deletions
diff --git a/lib/IDetail.php b/lib/IDetail.php
new file mode 100644
index 0000000..d250c33
--- /dev/null
+++ b/lib/IDetail.php
@@ -0,0 +1,51 @@
+<?php
+/**
+ * @copyright Copyright (c) 2017 Julius Härtl <jus@bitgrid.net>
+ *
+ * @author Julius Härtl <jus@bitgrid.net>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+namespace OCA\IssueTemplate;
+
+interface IDetail {
+
+ const TYPE_SINGLE_LINE = 0;
+ const TYPE_MULTI_LINE = 1;
+ const TYPE_MULTI_LINE_PREFORMAT = 2;
+ const TYPE_COLLAPSIBLE = 3;
+ const TYPE_COLLAPSIBLE_PREFORMAT = 4;
+
+ /**
+ * @return string
+ */
+ public function getTitle();
+ /**
+ * @return string
+ */
+ public function getType();
+
+ /**
+ * @return string
+ */
+ public function getInformation();
+
+ /**
+ * @return int
+ */
+ public function getSection();
+} \ No newline at end of file