Filters sources based on permissions.
public static permissionsFilter ( array $in, integer $permission = Horde_Perms::READ, array $options = [] ) : array | ||
$in | array | The source list we want filtered. |
$permission | integer | The Horde_Perms::* constant we will filter on. |
$options | array | Additional options: - require_add: (boolean) Only return sources that can be added to. |
리턴 | array | The filtered data. |