PHP Class BcMobileHelper

Inheritance: extends Helper
Datei anzeigen Open project: baserproject/basercms

Public Properties

Property Type Description
$helpers array ヘルパ

Public Methods

Method Description
afterLayout ( $layoutFile ) : void afterLayout
afterRender ( string $viewFile ) After Render
header ( ) : void コンテンツタイプを出力

Protected Methods

Method Description
_addMobilePrefix ( array $matches ) : string リンクにモバイル用のプレフィックスを追加する preg_replace_callback のコールバック関数
_removeMobilePrefix ( array $matches ) : string リンクからモバイル用のプレフィックスを除外する preg_replace_callback のコールバック関数

Method Details

_addMobilePrefix() protected method

リンクにモバイル用のプレフィックスを追加する preg_replace_callback のコールバック関数
protected _addMobilePrefix ( array $matches ) : string
$matches array
return string

_removeMobilePrefix() protected method

リンクからモバイル用のプレフィックスを除外する preg_replace_callback のコールバック関数
protected _removeMobilePrefix ( array $matches ) : string
$matches array
return string

afterLayout() public method

afterLayout
public afterLayout ( $layoutFile ) : void
return void

afterRender() public method

After Render
public afterRender ( string $viewFile )
$viewFile string

header() public method

コンテンツタイプを出力
public header ( ) : void
return void

Property Details

$helpers public_oe property

ヘルパ
public array $helpers
return array