summaryrefslogtreecommitdiff
path: root/lib/noticeform.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2009-10-31 17:16:37 +0100
committerSarven Capadisli <csarven@status.net>2009-10-31 17:16:37 +0100
commit48f33f781a91db7178a4f5046885a74dc484e629 (patch)
tree30fb8019b7cb31fda63f2ee100ffa88da250652c /lib/noticeform.php
parentf9bb95174b93de4ce28167eea21535a01394f71f (diff)
Using 'form_notice' class instead of 'form' to group both forms
Diffstat (limited to 'lib/noticeform.php')
-rw-r--r--lib/noticeform.php13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/noticeform.php b/lib/noticeform.php
index 9864d15eb..1be011c18 100644
--- a/lib/noticeform.php
+++ b/lib/noticeform.php
@@ -105,7 +105,7 @@ class NoticeForm extends Form
/**
* ID of the form
*
- * @return int ID of the form
+ * @return string ID of the form
*/
function id()
@@ -113,6 +113,17 @@ class NoticeForm extends Form
return 'form_notice';
}
+ /**
+ * Class of the form
+ *
+ * @return string class of the form
+ */
+
+ function formClass()
+ {
+ return 'form_notice';
+ }
+
/**
* Action of the form
*