This file is indexed.

/usr/share/php/Horde/Prefs/Cache/Base.php is in php-horde-prefs 2.5.2-1.

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
<?php
/**
 * Cache driver for the preferences system.
 *
 * Copyright 2010-2013 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   Michael Slusarz <slusarz@horde.org>
 * @category Horde
 * @license  http://www.horde.org/licenses/lgpl21 LGPL 2.1
 * @package  Prefs
 */
abstract class Horde_Prefs_Cache_Base
{
    /**
     * Configuration parameters.
     * 'user' is always available as an entry.
     *
     * @var string
     */
    protected $_params = array();

    /**
     * Constructor.
     *
     * @param string $user   The username.
     * @param array $params  Additional configuration parameters.
     */
    public function __construct($user, array $params = array())
    {
        $this->_params = array_merge($this->_params, $params);
        $this->_params['user'] = $user;
    }

    /**
     * Retrieves the requested preferences scope from the cache backend.
     *
     * @param string $scope  Scope specifier.
     *
     * @return mixed  Returns false if no data is available, otherwise the
     *                Horde_Prefs_Scope object.
     * @throws Horde_Prefs_Exception
     */
    abstract public function get($scope);

    /**
     * Stores preferences in the cache backend.
     *
     * @param Horde_Prefs_Scope $scope_ob  The scope object to store.
     *
     * @throws Horde_Prefs_Exception
     */
    abstract public function store($scope_ob);

    /**
     * Removes preferences from the cache.
     *
     * @param string $scope  The scope to remove. If null, clears entire
     *                       cache.
     *
     * @throws Horde_Prefs_Exception
     */
    abstract public function remove($scope = null);

}