PHP 클래스 Neos\Flow\Security\RequestPattern\Uri

상속: implements Neos\Flow\Security\RequestPatternInterface
파일 보기 프로젝트 열기: neos/flow-development-collection 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$options array

공개 메소드들

메소드 설명
__construct ( array $options ) Expects options in the form array('uriPattern' => '')
matchRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean Matches a \Neos\Flow\Mvc\RequestInterface against its set URL pattern rules
setPattern ( string $uriPattern ) : void Sets an URI pattern (preg_match() syntax)

메소드 상세

__construct() 공개 메소드

Expects options in the form array('uriPattern' => '')
public __construct ( array $options )
$options array

matchRequest() 공개 메소드

Matches a \Neos\Flow\Mvc\RequestInterface against its set URL pattern rules
public matchRequest ( Neos\Flow\Mvc\RequestInterface $request ) : boolean
$request Neos\Flow\Mvc\RequestInterface The request that should be matched
리턴 boolean TRUE if the pattern matched, FALSE otherwise

setPattern() 공개 메소드

Note: the pattern is a full-on regular expression pattern. The only thing that is touched by the code: forward slashes are escaped before the pattern is used.
사용 중단: since 3.3 this is not used - use options instead (@see __construct())
public setPattern ( string $uriPattern ) : void
$uriPattern string The URI pattern
리턴 void

프로퍼티 상세

$options 보호되어 있는 프로퍼티

protected array $options
리턴 array