[ Index ] |
|
Code source de Horde 3.1.3 |
1 <?php 2 3 require_once dirname(__FILE__) . '/imc.php'; 4 require_once 'Horde/iCalendar.php'; 5 6 /** 7 * Implement the Horde_Data:: API for vCard data. 8 * 9 * $Horde: framework/Data/Data/vcard.php,v 1.33.10.7 2006/01/01 21:28:13 jan Exp $ 10 * 11 * Copyright 1999-2006 Jan Schneider <jan@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 Jan Schneider <jan@horde.org> 17 * @since Horde 3.0 18 * @package Horde_Data 19 */ 20 class Horde_Data_vcard extends Horde_Data_imc { 21 22 /** 23 * Exports vcalendar data as a string. Unlike vEvent, vCard data 24 * is not enclosed in BEGIN|END:vCalendar. 25 * 26 * @param array $data An array containing Horde_iCalendar_vcard 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 $s = ''; 35 foreach ($data as $vcard) { 36 $s.= $vcard->exportvCalendar(); 37 } 38 return $s; 39 } 40 41 }
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 |