summaryrefslogtreecommitdiff
path: root/includes/view/EventConfig_view.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/view/EventConfig_view.php')
-rw-r--r--includes/view/EventConfig_view.php21
1 files changed, 12 insertions, 9 deletions
diff --git a/includes/view/EventConfig_view.php b/includes/view/EventConfig_view.php
index 9f24f9c9..3cb85e0b 100644
--- a/includes/view/EventConfig_view.php
+++ b/includes/view/EventConfig_view.php
@@ -3,7 +3,8 @@
/**
* Shows basic event infos and countdowns.
*
- * @param EventConfig $event_config The event configuration
+ * @param array $event_config The event configuration
+ * @return string
*/
function EventConfig_countdown_page($event_config)
{
@@ -61,6 +62,9 @@ function EventConfig_countdown_page($event_config)
/**
* Converts event name and start+end date into a line of text.
+ *
+ * @param array $event_config
+ * @return string
*/
function EventConfig_info($event_config)
{
@@ -106,14 +110,13 @@ function EventConfig_info($event_config)
/**
* Render edit page for event config.
*
- * @param string $event_name
- * The event name
- * @param string $event_welcome_msg
- * The welcome message
- * @param date $buildup_start_date
- * @param date $event_start_date
- * @param date $event_end_date
- * @param date $teardown_end_date
+ * @param string $event_name The event name
+ * @param string $event_welcome_msg The welcome message
+ * @param int $buildup_start_date unix time stamp
+ * @param int $event_start_date unix time stamp
+ * @param int $event_end_date unix time stamp
+ * @param int $teardown_end_date unix time stamp
+ * @return string
*/
function EventConfig_edit_view(
$event_name,