|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilWhiteListUrlValidator. More...
Collaboration diagram for ilWhiteListUrlValidator: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().
Here is the call graph for this function:
|
private |
| string | $domain |
Definition at line 34 of file class.ilWhiteListUrlValidator.php.
References $domain.
Referenced by isValid().
Here is the caller graph for this function:
|
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().