PHP Class BcRedirectMainSiteFilter
サブサイトにコンテンツが存在しない場合、同階層のメインサイトのコンテンツを確認し、
存在していれば、メインサイトへリダイレクトをする。
(例)
s/service → /service
显示文件
Open project: baserproject/basercms
Public Properties
Property |
Type |
Description |
|
$priority |
integer |
URLの存在確認が完了しているタイミングを前提としている為、
Dispacher::parseParams() より後に実行される必要がある |
|
Public Methods
Method |
Description |
|
beforeDispatch ( CakeEvent $event ) : void | CakeResponse |
beforeDispatch Event |
|
Protected Methods
Method Details
_existController()
protected method
beforeDispatch()
public method
public beforeDispatch ( CakeEvent $event ) : void | CakeResponse |
$event |
CakeEvent |
イベント |
return |
void | CakeResponse |
|
Property Details
$priority public_oe property
URLの存在確認が完了しているタイミングを前提としている為、
Dispacher::parseParams() より後に実行される必要がある
public int $priority |
return |
integer |
|