VuFind API Documentation

IpRange
in package
implements PermissionProviderInterface

IpRange permission provider for VuFind.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

author

Jochen Lienhard lienhard@ub.uni-freiburg.de

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Page

Interfaces, Classes, Traits and Enums

PermissionProviderInterface
Permission provider interface

Table of Contents

$ipAddressUtils  : IpAddressUtils
IpAddressUtils object
$request  : Request
Request object
$userIpReader  : UserIpReader
User IP address reader
__construct()  : mixed
Constructor
getPermissions()  : array<string|int, mixed>
Return an array of roles which may be granted the permission based on the options.

Properties

$request

Request object

protected Request $request

Methods

__construct()

Constructor

public __construct(RequestInterface $request, IpAddressUtils $ipUtils, UserIpReader $userIpReader) : mixed
Parameters
$request : RequestInterface

Request object

$ipUtils : IpAddressUtils

IpAddressUtils object

$userIpReader : UserIpReader

User IP address reader

Return values
mixed

getPermissions()

Return an array of roles which may be granted the permission based on the options.

public getPermissions(mixed $options) : array<string|int, mixed>
Parameters
$options : mixed

Options provided from configuration.

Return values
array<string|int, mixed>

Search results