This file is indexed.

/usr/share/horde/turba/lib/View/List/AlphaFilter.php is in php-horde-turba 4.2.2-3.

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
<?php
/**
 * The Turba_View_List:: class provides an interface for objects that
 * visualize Turba_List objects.
 *
 * @author  Chuck Hagenbuch <chuck@horde.org>
 * @author  Jon Parise <jon@csh.rit.edu>
 * @package Turba
 */
/**
 * Skips objects whose name does not start with the specified letter
 */
class Turba_View_List_AlphaFilter
{
    protected $_alpha;
    protected $_format;

    public function __construct($alpha)
    {
        $this->_alpha = Horde_String::lower($alpha);
        $this->_format = $GLOBALS['prefs']->getValue('name_sort');
    }

    public function skip($ob)
    {
        $name = Turba::formatName($ob, $this->_format);
        if ($this->_alpha != '*' &&
            Horde_String::lower(substr($name, 0, 1)) != $this->_alpha) {
            return true;
        }

        return false;
    }

}