⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.89
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-pear
/
pear
/
php
/
Horde
/
Icalendar
/
Edit File: Vnote.php
<?php /** * Copyright 2003-2017 Horde LLC (http://www.horde.org/) * * See the enclosed file COPYING for license information (LGPL). If you * did not receive this file, see http://www.horde.org/licenses/lgpl21. * * @author Mike Cochrane <mike@graftonhall.co.nz> * @author Karsten Fourmont <fourmont@gmx.de> * @category Horde * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Icalendar */ /** * Class representing vNotes. * * @author Mike Cochrane <mike@graftonhall.co.nz> * @author Karsten Fourmont <fourmont@gmx.de> * @category Horde * @copyright 2003-2017 Horde LLC * @license http://www.horde.org/licenses/lgpl21 LGPL 2.1 * @package Icalendar */ class Horde_Icalendar_Vnote extends Horde_Icalendar { /** * The component type of this class. * * @var string */ public $type = 'vNote'; /** * Constructor. */ public function __construct($version = '1.1') { parent::__construct($version); } /** * Sets the version of this component. * * @see $version * @see $oldFormat * * @param string A float-like version string. */ public function setVersion($version) { $this->_oldFormat = $version < 1; $this->_version = $version; } /** * Unlike vevent and vtodo, a vnote is normally not enclosed in an * iCalendar container. (BEGIN..END) * * @return TODO */ public function exportvCalendar() { $requiredAttributes['BODY'] = ''; $requiredAttributes['VERSION'] = '1.1'; foreach ($requiredAttributes as $name => $default_value) { try { $this->getAttribute($name); } catch (Horde_Icalendar_Exception $e) { $this->setAttribute($name, $default_value); } } return $this->_exportvData('VNOTE'); } }
Simpan