From: Michael J. Rubinsky Date: Thu, 17 Sep 2009 23:06:58 +0000 (-0400) Subject: Clean up a bit. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2cb7da5a8cc0fbac59d94c9be1a31b2e8ab1264d;p=horde.git Clean up a bit. Remove unused factory, add some phpdoc etc... --- diff --git a/kronolith/lib/Resource.php b/kronolith/lib/Resource.php index b7465e922..59f90ff55 100644 --- a/kronolith/lib/Resource.php +++ b/kronolith/lib/Resource.php @@ -54,12 +54,12 @@ class Kronolith_Resource } /** - * Adds a new resource to storage - * - * @param Kronolith_Resource $resource - * - * @return unknown_type - */ + * Adds a new resource to storage + * + * @param Kronolith_Resource $resource + * + * @return unknown_type + */ static public function addResource($resource) { // Create a new calendar id. @@ -92,8 +92,9 @@ class Kronolith_Resource /** * Determine if the provided calendar id represents a resource's calendar. * - * @param $calendar - * @return unknown_type + * @param string $calendar The calendar identifier to check. + * + * @return boolean */ static public function isResourceCalendar($calendar) { @@ -108,6 +109,8 @@ class Kronolith_Resource * Function to check availability and set response status for each resource * attached to the event. * + * @param Kronolith_Event $event The event object to check the resources of + * * @return void */ static public function checkResources($event)