File: mcal-fetch-event.xml

package info (click to toggle)
phpdoc 20050512-1
  • links: PTS
  • area: non-free
  • in suites: sarge
  • size: 36,592 kB
  • ctags: 1,501
  • sloc: xml: 376,768; php: 6,708; cpp: 500; makefile: 293; perl: 161; sh: 151; awk: 28
file content (111 lines) | stat: -rw-r--r-- 4,156 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- splitted from ./en/functions/mcal.xml, last change in rev 1.2 -->
  <refentry id="function.mcal-fetch-event">
   <refnamediv>
    <refname>mcal_fetch_event</refname>
    <refpurpose>
     Fetches an event from the calendar stream
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>object</type><methodname>mcal_fetch_event</methodname>
      <methodparam><type>int</type><parameter>mcal_stream</parameter></methodparam>
      <methodparam><type>int</type><parameter>event_id</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
     </methodsynopsis>
    <para>  
     <function>mcal_fetch_event</function> fetches an event from the 
     calendar stream specified by <parameter>id</parameter>.
    </para>
    <para>
     Returns an event object consisting of:
     <itemizedlist>
      <listitem><simpara>
       int id - ID of that event.</simpara></listitem>
      <listitem><simpara>
       int public - &true; if the event if public, &false; if it is
       private.</simpara></listitem>
      <listitem><simpara>
       string category - Category string of the event.</simpara></listitem> 
      <listitem><simpara>
       string title - Title string of the event.</simpara></listitem>
      <listitem><simpara>
       string description - Description string of the event.</simpara></listitem>
      <listitem><simpara>
       int alarm - number of minutes before the event to send an
       alarm/reminder.</simpara></listitem>
      <listitem><simpara>
       object start - Object containing a datetime entry.</simpara></listitem>
      <listitem><simpara>
       object end - Object containing a datetime entry.</simpara></listitem>
      <listitem><simpara>
       int recur_type   - recurrence type</simpara></listitem>
      <listitem><simpara>
       int recur_interval   - recurrence interval</simpara></listitem>
      <listitem><simpara>
       datetime recur_enddate   - recurrence end date</simpara></listitem>
      <listitem><simpara>
       int recur_data   - recurrence data</simpara></listitem>
     </itemizedlist>

     All datetime entries consist of an object that contains:

     <itemizedlist>
      <listitem><simpara>
       int year - year</simpara></listitem>
      <listitem><simpara>
       int month - month</simpara></listitem>
      <listitem><simpara>
       int mday  - day of month</simpara></listitem>
      <listitem><simpara>
       int hour  - hour</simpara></listitem>
      <listitem><simpara>
       int min   - minutes</simpara></listitem>
      <listitem><simpara>
       int sec   - seconds</simpara></listitem>         
      <listitem><simpara>
       int alarm   - minutes before event to send an alarm</simpara></listitem>         
     </itemizedlist>

     The possible values for recur_type are:

     <itemizedlist>
      <listitem><simpara>
       0 - Indicates that this event does not recur</simpara></listitem>
      <listitem><simpara>
       1 - This event recurs daily</simpara></listitem>
      <listitem><simpara>
       2 - This event recurs on a weekly basis</simpara></listitem>
      <listitem><simpara>
       3 - This event recurs monthly on a specific day of the month (e.g. the 10th of the month)</simpara></listitem>
      <listitem><simpara>
       4 - This event recurs monthly on a sequenced day of the week (e.g. the 3rd Saturday) </simpara></listitem>
      <listitem><simpara>
       5 - This event recurs on an annual basis</simpara></listitem>         
     </itemizedlist></para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->