This file is indexed.

/usr/share/php/Horde/Feed/Entry/Blogroll.php is in php-horde-feed 2.0.1-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
/**
 * Copyright 2008-2012 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);
    }

}