Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (3)

View Page History

{zone-data:skeletons}
{deck id:Class Skeletons}
{card:label=Zend_Ical}
{code}
class Zend_Ical
{
/**
* The source object to get and put data.
*
* @var Zend_Ical_Source_Interface
*/
protected $_source;

/**
* Contains all data from the source
*
* @var array
*/
protected $_data;

/**
* Zend_Ical provides a simple interface for working with ICS files.
*
* Zend_Ical follows the specification of the RFC 2445:
* http://tools.ietf.org/html/rfc445
*
* @param string $soruceUri
* @throws Zend_Ical_Exception
*/
public function __construct($sourceUri)
{
}

/**
* Import data from the source
*/
protected function _importData()
{
}
}
{code}
{card}
{card:label=Zend_Ical_Parser}
{code}
class Zend_Ical_Parser
{
/**
* Raw ICS data
*
* @var string
*/
protected $_rawData;

/**
* Length of the raw data
*
* @var integer
*/
protected $_rawDataLength;

/**
* Current position of the parser
*
* @var integer
*/
protected $_currentPos = 0;

/**
* List of valid node names
*
* @var array
*/
protected $_validNodeNames = array('DAYLIGHT', 'STANDARD', 'VALARM',
'VCALENDAR', 'VEVENT', 'VFREEBUSY',
'VJOURNAL', 'VTIMEZONE', 'VTODO');

/**
* Takes the raw data and makes some comaptibility magic on it
*
* @param string $rawData The raw (partial) ICS data
* @param boolean $cleanData Wether to clean the data or not; this should
* only be done once on the entire data
*/
public function __construct($rawData, $cleanData = true)
{
}

/**
* Parse the given data and return an array with all nodes and properties
* of this node.
*
* @return array
*/
public function parse()
{
}

/**
* Parse a node until it's end. If $nodeName is null, the document will be
* parsed until it's end.
*
* @param string $currentNodeName Name of the node which this run is parsing
* @throws Zend_Ical_Exception When there is a lonely \r
* @throws Zend_Ical_Exception When there is an unknown node
* @throws Zend_Ical_Exception When an unexpected END: occurs
* @return array
*/
protected function _parseNode($currentNodeName = null)
{
}
}
{code}
{card}
{card:label=Zend_Ical_Source_Abstract}
{code}
abstract class Zend_Ical_Source_Abstract
{
/**
* URI of the source
*
* @var string
*/
protected $_uri;


/**
* Set the URI of the source
*/
public function __construct($uri)
{
$this->_uri = $uri;
}

/**
* Get raw data from the source
*
* @throws Zend_Ical_Source_Exception
* @return string
*/
abstract public function getRawData();

/**
* Put raw data into the source
*
* @param string $data
* @throws Zend_Ical_Source_Exception
*/
abstract public function putRawData($data);
}
{code}
{card}
{card:label=Zend_Ical_Source_Filesystem}
{code}
class Zend_Ical_Source_Filesystem extends Zend_Ical_Source_Abstract
{
/**
* Defined by Zend_Ical_Source_Abstract
*
* @throws Zend_Ical_Source_Exception
* @return string
*/
public function getRawData()
{
}

/**
* Defined by Zend_Ical_Source_Abstract
*
* @param string $data
* @throws Zend_Ical_Source_Exception
*/
public function putRawData($data)
{
}
}
{code}
{card}
{card:label=Zend_Ical_Source_Ftp}
{code}
class Zend_Ical_Source_Ftp extends Zend_Ical_Source_Abstract
{
/**
* Defined by Zend_Ical_Source_Abstract
*
* @throws Zend_Ical_Source_Exception
* @return string
* @todo Needs implemenation
*/
public function getRawData()
{
}

/**
* Defined by Zend_Ical_Source_Abstract
*
* @param string $data
* @throws Zend_Ical_Source_Exception
* @todo Needs implemenation
*/
public function putRawData($data)
{
}
}
{code}
{card}
{card:label=Zend_Ical_Source_Http}
{code}
class Zend_Ical_Source_Http extends Zend_Ical_Source_Abstract
{
/**
* Defined by Zend_Ical_Source_Abstract
*
* @throws Zend_Ical_Source_Exception
* @return string
* @todo Needs implemenation
*/
public function getRawData()
{
}

/**
* Defined by Zend_Ical_Source_Abstract
*
* @param string $data
* @throws Zend_Ical_Source_Exception
* @todo Needs implemenation
*/
public function putRawData($data)
{
}
}
{code}
{card}
{deck}
{zone-data}