PHP 클래스 Piwik\Plugins\WebsiteMeasurable\Settings\Urls

상속: extends Piwik\Settings\Measurable\MeasurableProperty
파일 보기 프로젝트 열기: piwik/piwik 1 사용 예제들

공개 메소드들

메소드 설명
__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 ( )