mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 22:17:03 +03:00
CardDAV first look
This commit is contained in:
parent
c031a946e8
commit
7648000521
217 changed files with 31899 additions and 12 deletions
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
namespace Sabre\VObject\Splitter;
|
||||
|
||||
/**
|
||||
* VObject splitter
|
||||
*
|
||||
* The splitter is responsible for reading a large vCard or iCalendar object,
|
||||
* and splitting it into multiple objects.
|
||||
*
|
||||
* This is for example for Card and CalDAV, which require every event and vcard
|
||||
* to exist in their own objects, instead of one large one.
|
||||
*
|
||||
* @copyright Copyright (C) 2007-2013 fruux GmbH (https://fruux.com/).
|
||||
* @author Dominik Tobschall
|
||||
* @license http://code.google.com/p/sabredav/wiki/License Modified BSD License
|
||||
*/
|
||||
interface SplitterInterface {
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* The splitter should receive an readable file stream as it's input.
|
||||
*
|
||||
* @param resource $input
|
||||
*/
|
||||
function __construct($input);
|
||||
|
||||
/**
|
||||
* Every time getNext() is called, a new object will be parsed, until we
|
||||
* hit the end of the stream.
|
||||
*
|
||||
* When the end is reached, null will be returned.
|
||||
*
|
||||
* @return Sabre\VObject\Component|null
|
||||
*/
|
||||
function getNext();
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue