*
* @param $date Date to escape
*
- * @return Escaped date
+ * @param bool $gdata
*
+ * @return Escaped date
*/
static function formatDate($date, $gdata = FALSE) {
*
* @access public
*
- * @param string $content_type
- *
- * @param string $filename The file name (for downloads)
+ * @param string $calendar The calendar data to be published.
*
- * @param string $disposition How the file should be sent ('attachment' for downloads)
+ * @param string $content_type
*
* @param string $charset The character set to use, defaults to
* 'us-ascii'.
*
- * @param string $calendar The calendar data to be published.
+ * @param null $fileName
+ * @param string $disposition How the file should be sent ('attachment' for downloads)
*
- * @return void
+ * @internal param string $filename The file name (for downloads)
*
+ * @return void
*/
static function send($calendar, $content_type = 'text/calendar', $charset = 'us-ascii', $fileName = NULL, $disposition = NULL) {
$config = CRM_Core_Config::singleton();