메소드 | 설명 | |
---|---|---|
__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 ( ) |
메소드 | 설명 | |
---|---|---|
removeTrailingSlash ( string $url ) : string | Remove the final slash in the URLs if found |
public checkAtLeastOneUrl ( array $urls ) | ||
$urls | array |
public cleanParameterUrls ( $urls ) : array | ||
리턴 | array | the array of cleaned URLs |