Пример #1
0
 public function setUp()
 {
     $this->node = new Sabre_DAV_PartialUpdate_FileMock();
     $this->tree[] = $this->node;
     parent::setUp();
     $this->plugin = new Sabre_DAV_PartialUpdate_Plugin();
     $this->server->addPlugin($this->plugin);
 }
Пример #2
0
 function setUp()
 {
     $this->caldavCalendars = array(array('principaluri' => 'principals/user1', 'id' => 1, 'uri' => 'cal1'), array('principaluri' => 'principals/user1', 'id' => 2, 'uri' => 'cal2', '{' . Sabre_CalDAV_Plugin::NS_CALENDARSERVER . '}shared-url' => 'calendars/user1/cal2', '{http://sabredav.org/ns}owner-principal' => 'principals/user2', '{http://sabredav.org/ns}read-only' => 'true'), array('principaluri' => 'principals/user1', 'id' => 3, 'uri' => 'cal3'));
     parent::setUp();
 }
Пример #3
0
 function setUp()
 {
     parent::setUp();
     $this->server->addPlugin(new Sabre_CardDAV_VCFExportPlugin());
 }