CRM-16566 upgrade authorize.net to support new style IPNS
[civicrm-core.git] / CRM / Utils / ICalendar.php
index f9d63c270f9927c43532e0c139b800c961a9371c..096ce70f7613bd45f648d32909ac526ec68b3af8 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
  * $Id$
  *
  */
 class CRM_Utils_ICalendar {
 
   /**
-   * Escape text elements for safe ICalendar use
+   * Escape text elements for safe ICalendar use.
    *
    * @param $text
    *   Text to escape.
    *
-   * @return  Escaped text
-   *
+   * @return string
+   *   Escaped text
    */
   public static function formatText($text) {
     $text = strip_tags($text);
@@ -63,14 +63,15 @@ class CRM_Utils_ICalendar {
   }
 
   /**
-   * Escape date elements for safe ICalendar use
+   * Escape date elements for safe ICalendar use.
    *
    * @param $date
    *   Date to escape.
    *
    * @param bool $gdata
    *
-   * @return  Escaped date
+   * @return string
+   *   Escaped date
    */
   public static function formatDate($date, $gdata = FALSE) {
 
@@ -122,4 +123,5 @@ class CRM_Utils_ICalendar {
 
     echo $calendar;
   }
+
 }