Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

mcal_event_add_attribute

(PHP 3 >= 3.0.15, PHP 4, PECL)

mcal_event_add_attribute --  Adds an attribute and a value to the streams global event structure

Description

bool mcal_event_add_attribute ( int stream, string attribute, string value )

mcal_event_add_attribute() adds an attribute to the stream's global event structure with the value given by "value".



add a note add a note User Contributed Notes
mcal_event_add_attribute
mikep at oeone dot com
25-Apr-2001 04:01
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";
           }
        }
wokzilla at wokzilla dot com
18-Jan-2001 04:14
This might useful if there was a mcal_event_get_attribute function. There doesn't seem to be any way to get at the attribute the next time you access the calendar.

mcal_event_init> <mcal_delete_event
Last updated: Fri, 26 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571