diff options
Diffstat (limited to 'engine/classes/Notable.php')
| -rw-r--r-- | engine/classes/Notable.php | 30 | 
1 files changed, 30 insertions, 0 deletions
diff --git a/engine/classes/Notable.php b/engine/classes/Notable.php new file mode 100644 index 000000000..3c133d494 --- /dev/null +++ b/engine/classes/Notable.php @@ -0,0 +1,30 @@ +<?php
 +/**
 + * Calendar interface for events.
 + *
 + */
 +interface Notable {
 +	/**
 +	 * Calendar functionality.
 +	 * This function sets the time of an object on a calendar listing.
 +	 *
 +	 * @param int $hour If ommitted, now is assumed.
 +	 * @param int $minute If ommitted, now is assumed.
 +	 * @param int $second If ommitted, now is assumed.
 +	 * @param int $day If ommitted, now is assumed.
 +	 * @param int $month If ommitted, now is assumed.
 +	 * @param int $year If ommitted, now is assumed.
 +	 * @param int $duration Duration of event, remainder of the day is assumed.
 +	 */
 +	public function setCalendarTimeAndDuration($hour = NULL, $minute = NULL, $second = NULL, $day = NULL, $month = NULL, $year = NULL, $duration = NULL);
 +
 +	/**
 +	 * Return the start timestamp.
 +	 */
 +	public function getCalendarStartTime();
 +
 +	/**
 +	 * Return the end timestamp.
 +	 */
 +	public function getCalendarEndTime();
 +}
\ No newline at end of file  | 
