PHP 클래스 Sulu\Component\Util\WildcardUrlUtil

파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
match ( string $url, string $portalUrl ) : boolean Matches given url with portal-url.
resolve ( string $url, string $portalUrl ) : string Replaces wildcards with occurrences in the given url.

비공개 메소드들

메소드 설명
__construct ( ) Cannot instantiate this class.
getRegularExpression ( string $portalUrl ) : string Returns regular expression to match given portal-url.

메소드 상세

match() 공개 정적인 메소드

Matches given url with portal-url.
public static match ( string $url, string $portalUrl ) : boolean
$url string
$portalUrl string
리턴 boolean

resolve() 공개 정적인 메소드

Replaces wildcards with occurrences in the given url.
public static resolve ( string $url, string $portalUrl ) : string
$url string
$portalUrl string
리턴 string