diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-01-20 02:06:19 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-08-15 18:39:14 +0300 |
commit | b4119142c7b262a16e8a30d730b60eb7bc5dabae (patch) | |
tree | 110d9c14a1b89f886d5d53d593defdb971e925cc /lib/ISection.php | |
parent | aa54646c05877ac47ba35d3865e7953f82d11066 (diff) |
Generate form schema from sections/details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/ISection.php')
-rw-r--r-- | lib/ISection.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ISection.php b/lib/ISection.php index 9c5a247..a2df8e9 100644 --- a/lib/ISection.php +++ b/lib/ISection.php @@ -31,22 +31,31 @@ namespace OCA\IssueTemplate; interface ISection { /** + * Returns a unique identifier for the section + * + * Predefined sections are server, client and log * @return string */ public function getIdentifier(); /** + * Returns a human readable title for the section + * * @return string */ public function getTitle(); /** + * Adds a detail entry to a section + * * @param IDetail $details * @return void */ public function addDetail(IDetail $details); /** + * Get all details contained in the section + * * @return IDetail[] */ public function getDetails(); |