~ubuntu-branches/ubuntu/vivid/php-horde-icalendar/vivid-proposed

« back to all changes in this revision

Viewing changes to Horde_Icalendar-2.0.5/lib/Horde/Icalendar/Standard.php

  • Committer: Package Import Robot
  • Author(s): Mathieu Parent
  • Date: 2013-05-14 20:46:43 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130514204643-xq5x2ezjku3om1um
Tags: 2.0.5-1
New upstream version 2.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Class representing vTimezones.
 
4
 *
 
5
 * Copyright 2003-2013 Horde LLC (http://www.horde.org/)
 
6
 *
 
7
 * See the enclosed file COPYING for license information (LGPL). If you
 
8
 * did not receive this file, see http://www.horde.org/licenses/lgpl21.
 
9
 *
 
10
 * @author   Mike Cochrane <mike@graftonhall.co.nz>
 
11
 * @category Horde
 
12
 * @license  http://www.horde.org/licenses/lgpl21 LGPL 2.1
 
13
 * @package  Icalendar
 
14
 */
 
15
class Horde_Icalendar_Standard extends Horde_Icalendar
 
16
{
 
17
    /**
 
18
     * The component type of this class.
 
19
     *
 
20
     * @var string
 
21
     */
 
22
    public $type = 'standard';
 
23
 
 
24
    /**
 
25
     * TODO
 
26
     *
 
27
     * @param $data TODO
 
28
     */
 
29
    public function parsevCalendar($text, $base = 'VCALENDAR', $clear = true)
 
30
    {
 
31
        parent::parsevCalendar($text, 'STANDARD');
 
32
    }
 
33
 
 
34
    /**
 
35
     * TODO
 
36
     *
 
37
     * @return TODO
 
38
     */
 
39
    public function exportvCalendar()
 
40
    {
 
41
        return $this->_exportvData('STANDARD');
 
42
    }
 
43
 
 
44
}