note 12629 deleted from function.mcal-event-add-attribute by philip

From: Date: Fri, 28 Nov 2008 19:44:22 +0000
Subject: note 12629 deleted from function.mcal-event-add-attribute by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147132@lists.php.net to get a copy of this message
Note Submitter: mikep at oeone dot com ---- Actually, they are returned as part of the "attrlist" attribute of the object which gets returned from fetch_event. This code might help people: $event=mcal_fetch_event($this->Stream,$EventID); $AttributeArray = $event->attrlist; if (is_array($AttributeArray)) { foreach ($AttributeArray as $key=>$value) { echo " Event['".$key."'] = '" . $value ."';\n"; } }

« previous php.notes (#147132) next »