PHP Class Horde_Kolab_FreeBusy_Freebusy_Helper_Owa, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/) Copyright 2011 Kolab Systems AG See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Mathieu Parent ([email protected])
Author: Gunnar Wrobel ([email protected])
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( string | resource $input ) Constructor
__toString ( ) : string Return the XML document.
convert ( Horde_Date $start, Horde_Date $end, integer $interval ) : array Convert the free/busy data from the XML to an array.

Private Methods

Method Description
_stateAsString ( string $code ) : string Return state value, based on state code

Method Details

__construct() public method

Constructor
public __construct ( string | resource $input )
$input string | resource The input data.

__toString() public method

Return the XML document.
public __toString ( ) : string
return string The complete XML document.

convert() public method

Convert the free/busy data from the XML to an array.
public convert ( Horde_Date $start, Horde_Date $end, integer $interval ) : array
$start Horde_Date The start of the requested free/busy data.
$end Horde_Date The end of the requested free/busy data.
$interval integer The interval of the data.
return array The data array representing the XML data.