PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Ismail Cakir   PHP Webdav Calendar Pusher   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example usage
Class: PHP Webdav Calendar Pusher
Send and receive ICS calendar events via WebDav
Author: By
Last change:
Date: 8 years ago
Size: 431 bytes
 

Contents

Class file image Download
<?php
error_reporting
(E_ALL);
include
"webdavCalendarPusher.php";

$wp = new webdavCalendarPusher();
$wp->endpoint("https://mail.example.com/webdav/username/Calendar");
$wp->user("myuser");
$wp->pass("parola");
$wp->location("center office");
$wp->startdate(date("Ymd\THis"));
$wp->enddate(date("Ymd\THis"));
$wp->summary("Test ". date('YmdHis'));
$wp->description("Test x". date('YmdHis'));
$wp->putEvent();
$wp->getEvents();

?>