ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 9 of file class.ilWhiteListUrlValidator.php.
ilWhiteListUrlValidator::__construct | ( | string | $url, |
array | $whitelist | ||
) |
ilWhiteListUrlValidator constructor.
string | $url | |
string[] | $whitelist |
Definition at line 22 of file class.ilWhiteListUrlValidator.php.
References $domain, $url, and $whitelist.
ilWhiteListUrlValidator::isValid | ( | ) |
Definition at line 59 of file class.ilWhiteListUrlValidator.php.
References isValidDomain().
|
private |
string | $domain |
Definition at line 34 of file class.ilWhiteListUrlValidator.php.
Referenced by isValid().
|
protected |
Definition at line 12 of file class.ilWhiteListUrlValidator.php.
Referenced by __construct().
|
protected |
Definition at line 15 of file class.ilWhiteListUrlValidator.php.
Referenced by __construct().