1<?php
2/**
3 * Copyright 2006-2017 Horde LLC (http://www.horde.org/)
4 *
5 * See the enclosed file COPYING for license information (LGPL). If you
6 * did not receive this file, see http://www.horde.org/licenses/lgpl21.
7 *
8 * @category Horde
9 * @package  Perms
10 * @author   Gunnar Wrobel <wrobel@pardus.de>
11 * @license  http://www.horde.org/licenses/lgpl21 LGPL 2.1
12 */
13
14/**
15 * Maps a single Kolab_Storage anonymous ACL element to the Horde permission
16 * system.
17 *
18 * @category Horde
19 * @package  Perms
20 * @author   Gunnar Wrobel <wrobel@pardus.de>
21 * @license  http://www.horde.org/licenses/lgpl21 LGPL 2.1
22 */
23class Horde_Perms_Permission_Kolab_Acl_Anonymous
24extends Horde_Perms_Permission_Kolab_Acl
25{
26    /**
27     * Converts the ACL string to a Horde_Perms mask and stores it in the
28     * provided data array.
29     *
30     * @param array &$data The horde permission data.
31     */
32    public function toHorde(array &$data)
33    {
34        $data['guest'] = $this->convertAclToMask();
35    }
36}
37