VuFind API Documentation

IpRangeTest extends TestCase
in package

IpRange ServerParam Test Class

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

license

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

link

Wiki

Table of Contents

testMatchingRange()  : void
Test a matching range.
testNonMatchingRegExArray()  : void
Test an array of non-matching ranges.
getPermissionProvider()  : IpRange
Get a permission provider with the specified IP assigned.

Methods

testMatchingRange()

Test a matching range.

public testMatchingRange() : void
Return values
void

testNonMatchingRegExArray()

Test an array of non-matching ranges.

public testNonMatchingRegExArray() : void
Return values
void

getPermissionProvider()

Get a permission provider with the specified IP assigned.

protected getPermissionProvider(string $ipAddr, IpAddressUtils $utils) : IpRange
Parameters
$ipAddr : string

IP address to send to provider.

$utils : IpAddressUtils

IP address utils to use

Return values
IpRange

Search results