[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 3 require_once PHPGW_SERVER_ROOT.'/phpgwapi/inc/horde/Horde/iCalendar.php'; 4 5 /** 6 * Class representing vNotes. 7 * 8 * $Horde: framework/iCalendar/iCalendar/vnote.php,v 1.2 2004/08/13 19:11:35 karsten Exp $ 9 * 10 * Copyright 2003-2004 Mike Cochrane <mike@graftonhall.co.nz> 11 * 12 * See the enclosed file COPYING for license information (LGPL). If you 13 * did not receive this file, see http://www.fsf.org/copyleft/lgpl.html. 14 * 15 * @author Karsten Fourmont <fourmont@gmx.de> 16 * @version $Revision: 18844 $ 17 * @package Horde_iCalendar 18 */ 19 class Horde_iCalendar_vnote extends Horde_iCalendar { 20 21 function getType() 22 { 23 return 'vNote'; 24 } 25 26 function parsevCalendar($data) 27 { 28 return parent::parsevCalendar($data, 'VNOTE'); 29 } 30 31 /** 32 * Unlike vevent and vtodo, a vnote is normally not enclosed in an 33 * iCalendar container. (BEGIN..END) 34 */ 35 function exportvCalendar() 36 { 37 $requiredAttributes['BODY'] = ''; 38 $requiredAttributes['VERSION'] = '1.1'; 39 40 foreach ($requiredAttributes as $name => $default_value) { 41 if (is_a($this->getattribute($name), 'PEAR_Error')) { 42 $this->setAttribute($name, $default_value); 43 } 44 } 45 46 return $this->_exportvData('VNOTE') . $this->_newline; 47 } 48 49 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |