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/IDetail.php | |
parent | aa54646c05877ac47ba35d3865e7953f82d11066 (diff) |
Generate form schema from sections/details
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/IDetail.php')
-rw-r--r-- | lib/IDetail.php | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/lib/IDetail.php b/lib/IDetail.php index d250c33..f05c9fb 100644 --- a/lib/IDetail.php +++ b/lib/IDetail.php @@ -31,21 +31,37 @@ interface IDetail { const TYPE_COLLAPSIBLE_PREFORMAT = 4; /** + * Returns a unique identifier for the detail value + * * @return string */ - public function getTitle(); + public function getIdentifier(); + /** + * Returns the human readable title of the detail value + * * @return string */ + public function getTitle(); + + /** + * Returns the type of the detail field + * + * @return int + */ public function getType(); /** + * Returns the value that should be presented in the issue report + * * @return string */ public function getInformation(); /** - * @return int + * Return the parent section that the detail is linked to + * + * @return ISection */ public function getSection(); }
\ No newline at end of file |