ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilWhiteListUrlValidator. More...
Public Member Functions | |
__construct (string $url, array $whitelist) | |
ilWhiteListUrlValidator constructor. More... | |
isValid () | |
Protected Attributes | |
$url = '' | |
$whitelist = [] | |
Private Member Functions | |
isValidDomain (string $domain) | |
Class ilWhiteListUrlValidator.
Definition at line 8 of file class.ilWhiteListUrlValidator.php.
ilWhiteListUrlValidator::__construct | ( | string | $url, |
array | $whitelist | ||
) |
ilWhiteListUrlValidator constructor.
string | $url | |
string[] | $whitelist |
Definition at line 21 of file class.ilWhiteListUrlValidator.php.
References $url, and $whitelist.
ilWhiteListUrlValidator::isValid | ( | ) |
Definition at line 58 of file class.ilWhiteListUrlValidator.php.
References isValidDomain().
|
private |
string | $domain |
Definition at line 33 of file class.ilWhiteListUrlValidator.php.
Referenced by isValid().
|
protected |
Definition at line 11 of file class.ilWhiteListUrlValidator.php.
Referenced by __construct().
|
protected |
Definition at line 14 of file class.ilWhiteListUrlValidator.php.
Referenced by __construct().