<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.4 |
+ | CiviCRM version 4.5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013 |
+ | Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
* $Id$
*
*/
*
* @param $date Date to escape
*
- * @return Escaped date
+ * @param bool $gdata
*
+ * @return Escaped date
*/
static function formatDate($date, $gdata = FALSE) {
}
/**
- *
* Send the ICalendar to the browser with the specified content type
* - 'text/calendar' : used for downloaded ics file
* - 'text/plain' : used for iCal formatted feed
*
* @access public
*
+ * @param string $calendar The calendar data to be published.
* @param string $content_type
- *
- * @param string $filename The file name (for downloads)
- *
+ * @param string $charset The character set to use, defaults to 'us-ascii'.
+ * @param string $fileName The file name (for downloads)
* @param string $disposition How the file should be sent ('attachment' for downloads)
*
- * @param string $charset The character set to use, defaults to
- * 'us-ascii'.
- *
- * @param string $calendar The calendar data to be published.
- *
* @return void
- *
*/
static function send($calendar, $content_type = 'text/calendar', $charset = 'us-ascii', $fileName = NULL, $disposition = NULL) {
$config = CRM_Core_Config::singleton();