Menu

Multi line description

iCalendar
2003-04-07
2003-04-08
  • Joubert Berger

    Joubert Berger - 2003-04-07

    I am having some problems creating multiline descriptions.  What format should I use.

    For example,

    $desc = "aaa\nbbb\nccc";

    Will that display the description in the calendar in three lines.  

    Any help in this area would be helpful.

    Great class.

    --joubert

     
    • flaimo

      flaimo - 2003-04-08

      should work if you just use a line break.

      for example:

      $iCal->addEvent(
                      '', // Organizer
                      1048806000, // Start Time (timestamp; for an allday event the startdate has to start at YYYY-mm-dd 00:00:00)
                      1048899000, // End Time (write 'allday' for an allday event instead of a timestamp)
                      'Vienna', // Location
                      0, // Transparancy (0 = OPAQUE | 1 = TRANSPARENT)
                      $categories, // Array with Strings
                      'See homepage
      for more details...', // Description

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.