Method | Description | |
---|---|---|
__construct ( $idSite ) | ||
checkAtLeastOneUrl ( array $urls ) | Checks that the array has at least one element | |
checkUrls ( array $urls ) | Check that the array of URLs are valid URLs | |
cleanParameterUrls ( $urls ) : array | Clean the parameter URLs: - if the parameter is a string make it an array - remove the trailing slashes if found | |
configureField ( ) |
Method | Description | |
---|---|---|
removeTrailingSlash ( string $url ) : string | Remove the final slash in the URLs if found |
public checkAtLeastOneUrl ( array $urls ) | ||
$urls | array |
public cleanParameterUrls ( $urls ) : array | ||
return | array | the array of cleaned URLs |