| 1 |
<?php |
| 2 |
/** |
| 3 |
* iCalcreator, the PHP class package managing iCal (rfc2445/rfc5445) calendar information. |
| 4 |
* |
| 5 |
* copyright (c) 2007-2021 Kjell-Inge Gustafsson, kigkonsult, All rights reserved |
| 6 |
* Link https://kigkonsult.se |
| 7 |
* Package iCalcreator |
| 8 |
* Version 2.30 |
| 9 |
* License Subject matter of licence is the software iCalcreator. |
| 10 |
* The above copyright, link, package and version notices, |
| 11 |
* this licence notice and the invariant [rfc5545] PRODID result use |
| 12 |
* as implemented and invoked in iCalcreator shall be included in |
| 13 |
* all copies or substantial portions of the iCalcreator. |
| 14 |
* |
| 15 |
* iCalcreator is free software: you can redistribute it and/or modify |
| 16 |
* it under the terms of the GNU Lesser General Public License as published |
| 17 |
* by the Free Software Foundation, either version 3 of the License, |
| 18 |
* or (at your option) any later version. |
| 19 |
* |
| 20 |
* iCalcreator is distributed in the hope that it will be useful, |
| 21 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 22 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 23 |
* GNU Lesser General Public License for more details. |
| 24 |
* |
| 25 |
* You should have received a copy of the GNU Lesser General Public License |
| 26 |
* along with iCalcreator. If not, see <https://www.gnu.org/licenses/>. |
| 27 |
* |
| 28 |
* This file is a part of iCalcreator. |
| 29 |
*/ |
| 30 |
|
| 31 |
namespace Kigkonsult\Icalcreator; |
| 32 |
|
| 33 |
use Exception; |
| 34 |
|
| 35 |
/** |
| 36 |
* iCalcreator Vcomponents base class |
| 37 |
* |
| 38 |
* @author Kjell-Inge Gustafsson, kigkonsult <ical@kigkonsult.se> |
| 39 |
* @since 2.27.6 - 2018-12-28 |
| 40 |
*/ |
| 41 |
abstract class Vcomponent extends CalendarComponent |
| 42 |
{ |
| 43 |
use Traits\DTSTAMPtrait; |
| 44 |
|
| 45 |
/** |
| 46 |
* Constructor for calendar component |
| 47 |
* |
| 48 |
* @param array $config |
| 49 |
* @since 2.27.6 - 2018-12-28 |
| 50 |
* @throws Exception |
| 51 |
*/ |
| 52 |
public function __construct( $config = [] ) |
| 53 |
{ |
| 54 |
parent::__construct( $config ); |
| 55 |
$this->setDtstamp(); |
| 56 |
} |
| 57 |
} |
| 58 |
|