PHP Класс Piwik\Plugins\WebsiteMeasurable\Settings\Urls

Наследование: extends Piwik\Settings\Measurable\MeasurableProperty
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

public __construct ( $idSite )

checkAtLeastOneUrl() публичный Метод

Checks that the array has at least one element
public checkAtLeastOneUrl ( array $urls )
$urls array

checkUrls() публичный Метод

Check that the array of URLs are valid URLs
public checkUrls ( array $urls )
$urls array

cleanParameterUrls() публичный Метод

Clean the parameter URLs: - if the parameter is a string make it an array - remove the trailing slashes if found
public cleanParameterUrls ( $urls ) : array
Результат array the array of cleaned URLs

configureField() публичный Метод

public configureField ( )