From 76dac45ebaf104b312a8527a05424601ca9d520a Mon Sep 17 00:00:00 2001 From: ewinslow Date: Mon, 6 Sep 2010 02:42:09 +0000 Subject: Refs #2220: Pulled most classes / interfaces out of lib files (except query.php and exception.php) into "classes" folder. Replaced inline classes with "require_once" statements for now. Ran unit tests to verify functionality before committing. git-svn-id: http://code.elgg.org/elgg/trunk@6908 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/calendar.php | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) (limited to 'engine/lib/calendar.php') diff --git a/engine/lib/calendar.php b/engine/lib/calendar.php index a9d6dfadf..5e4584515 100644 --- a/engine/lib/calendar.php +++ b/engine/lib/calendar.php @@ -8,35 +8,7 @@ * @link http://elgg.org/ */ -/** - * 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(); -} +require_once dirname(dirname(__FILE__)).'/classes/Notable.php'; /** * Return a timestamp for the start of a given day (defaults today). -- cgit v1.2.3