[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 3 require_once dirname(__FILE__) . '/imc.php'; 4 5 /** 6 * Implement the Horde_Data:: API for vNote data. 7 * 8 * $Horde: framework/Data/Data/vnote.php,v 1.8.10.5 2006/01/01 21:28:13 jan Exp $ 9 * 10 * Copyright 1999-2006 Jan Schneider <jan@horde.org> 11 * Copyright 1999-2006 Chuck Hagenbuch <chuck@horde.org> 12 * 13 * See the enclosed file COPYING for license information (LGPL). If you 14 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. 15 * 16 * @author Chuck Hagenbuch <chuck@horde.org> 17 * @package Horde_Data 18 * @since Horde 3.0 19 */ 20 class Horde_Data_vnote extends Horde_Data_imc { 21 22 /** 23 * Exports vcalendar data as a string. Unlike vEvent, vNote data 24 * is not enclosed in BEGIN|END:vCalendar. 25 * 26 * @param array $data An array containing Horde_iCalendar_vnote 27 * objects. 28 * @param string $method The iTip method to use. 29 * 30 * @return string The iCalendar data. 31 */ 32 function exportData($data, $method = 'REQUEST') 33 { 34 global $prefs; 35 36 $this->_iCal = &new Horde_iCalendar(); 37 38 $this->_iCal->setAttribute('METHOD', $method); 39 $s = ''; 40 foreach ($data as $event) { 41 $s.= $event->exportvCalendar(); 42 } 43 return $s; 44 } 45 46 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |