⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.78
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
/
Feed
/
Entry
/
Edit File: Blogroll.php
<?php /** * Copyright 2008-2016 Horde LLC (http://www.horde.org/) * * @author Chuck Hagenbuch <chuck@horde.org> * @license http://www.horde.org/licenses/bsd BSD * @category Horde * @package Feed */ /** * Concrete class for working with Blogroll elements. * * @author Chuck Hagenbuch <chuck@horde.org> * @license http://www.horde.org/licenses/bsd BSD * @category Horde * @package Feed */ class Horde_Feed_Entry_Blogroll extends Horde_Feed_Entry_Base { /** * The XML string for an "empty" outline element. * * @var string */ protected $_emptyXml = '<outline xmlUrl=""/>'; /** * Get a Horde_Feed object for the feed described by this outline element. * * @return Horde_Feed_Base */ public function getFeed() { if (!$this['xmlUrl']) { throw new Horde_Feed_Exception('No XML URL in <outline/> element'); } return Horde_Feed::readUri($this['xmlUrl']); } /** * Add child elements and attributes to this element from a simple key => * value hash. Because feed list outline elements only use attributes, this * overrides Horde_Xml_Element#fromArray to set attributes whether the * #Attribute syntax is used or not. * * @see Horde_Xml_Element#fromArray * * @param $array Hash to import into this element. */ public function fromArray($array) { foreach ($array as $key => $value) { $attribute = $key; if (substr($attribute, 0, 1) == '#') { $attribute = substr($attribute, 1); } $this[$attribute] = $value; } } /** * Always use attributes instead of child nodes. * * @param string $var The property to access. * @return mixed */ public function __get($var) { return $this->offsetGet($var); } /** * Always use attributes instead of child nodes. * * @param string $var The property to change. * @param string $val The property's new value. */ public function __set($var, $val) { return $this->offsetSet($var, $val); } }
Simpan