<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >mcal_list_events</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="MCAL Functions" HREF="ref.mcal.html"><LINK REL="PREVIOUS" TITLE="mcal_list_alarms" HREF="function.mcal-list-alarms.html"><LINK REL="NEXT" TITLE="mcal_next_recurrence" HREF="function.mcal-next-recurrence.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="refentry" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.mcal-list-alarms.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.mcal-next-recurrence.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.mcal-list-events" ></A >mcal_list_events</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN114810" ></A ><P > (PHP 3 >= 3.0.13, PHP 4, PECL)</P >mcal_list_events -- Return a list of IDs for a date or a range of dates </DIV ><DIV CLASS="refsect1" ><A NAME="AEN114813" ></A ><H2 >Description</H2 >array <B CLASS="methodname" >mcal_list_events</B > ( int mcal_stream [, int begin_year, int begin_month, int begin_day, int end_year, int end_month, int end_day] )<BR ></BR ><P > Returns an array of ID's that are between the start and end dates, or if just a stream is given, uses the start and end dates in the global event structure. </P ><P > <B CLASS="function" >mcal_list_events()</B > takes in an beginning date and an optional end date for a calendar stream. An array of event id's that are between the given dates or the internal event dates are returned. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.mcal-list-alarms.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.mcal-next-recurrence.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >mcal_list_alarms</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.mcal.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >mcal_next_recurrence</TD ></TR ></TABLE ></DIV ></BODY ></HTML >