original_string: public static function ics_from_sscal($cal)
          {
              $events = $cal->Events();
              $eventsArr = $events->toNestedArray();
  
              //Debug::dump($eventsArr);
              //return false;
              $ics = new ICSExport($eventsArr);
              return $ics;
          }
code: public static function ics_from_sscal($cal)
          {
              $events = $cal->Events();
              $eventsArr = $events->toNestedArray();
  
              //Debug::dump($eventsArr);
              //return false;
              $ics = new ICSExport($eventsArr);
              return $ics;
          }
code_tokens: public static function ics_from_sscal ( $ cal ) { $ events = $ cal -> Events ( ) ; $ eventsArr = $ events -> toNestedArray ( ) ; //Debug::dump($eventsArr); //return false; $ ics = new ICSExport ( $ eventsArr ) ; return $ ics ; }
docstring: returns an ICSExport calendar object by supplying a Silverstripe calendar
  @param type $cal
docstring_tokens: returns an ICSExport calendar object by supplying a Silverstripe calendar