PHP Class BcRedirectMainSiteFilter

サブサイトにコンテンツが存在しない場合、同階層のメインサイトのコンテンツを確認し、 存在していれば、メインサイトへリダイレクトをする。 (例) s/service → /service
Inheritance: extends DispatcherFilter
Afficher le fichier Open project: baserproject/basercms

Méthodes publiques

Свойство Type Description
$priority integer URLの存在確認が完了しているタイミングを前提としている為、 Dispacher::parseParams() より後に実行される必要がある

Méthodes publiques

Méthode Description
beforeDispatch ( CakeEvent $event ) : void | CakeResponse beforeDispatch Event

Méthodes protégées

Méthode Description
_existController ( $request ) : boolean コントローラーが存在するか確認

Method Details

_existController() protected méthode

コントローラーが存在するか確認
protected _existController ( $request ) : boolean
$request
Résultat boolean

beforeDispatch() public méthode

beforeDispatch Event
public beforeDispatch ( CakeEvent $event ) : void | CakeResponse
$event CakeEvent イベント
Résultat void | CakeResponse

Property Details

$priority public_oe property

URLの存在確認が完了しているタイミングを前提としている為、 Dispacher::parseParams() より後に実行される必要がある
public int $priority
Résultat integer