baserCMS クラスリファレンス

BcSmartphoneHelper extends Helper
in package
Uses BcEventDispatcherTrait

スマホヘルパー

Table of Contents

Properties

$helpers  : array<string|int, mixed>
ヘルパ
$_View  : View
View

Methods

afterLayout()  : void
afterLayout
dispatchLayerEvent()  : bool|Event
イベントを発火
_addPrefix()  : string
リンクにモバイル用のプレフィックスを追加する preg_replace_callback のコールバック関数
_removePrefix()  : string
リンクからモバイル用のプレフィックスを除外する preg_replace_callback のコールバック関数

Properties

Methods

afterLayout()

afterLayout

public afterLayout(mixed $layoutFile) : void
Parameters
$layoutFile : mixed
Tags
checked

dispatchLayerEvent()

イベントを発火

public dispatchLayerEvent(string $name[, array<string|int, mixed> $data = [] ][, mixed $options = [] ]) : bool|Event
Parameters
$name : string
$data : array<string|int, mixed> = []
$options : mixed = []
Tags
checked
unitTest
noTodo
Return values
bool|Event

_addPrefix()

リンクにモバイル用のプレフィックスを追加する preg_replace_callback のコールバック関数

protected _addPrefix(array<string|int, mixed> $matches) : string
Parameters
$matches : array<string|int, mixed>
Tags
checked
noTodo
Return values
string

_removePrefix()

リンクからモバイル用のプレフィックスを除外する preg_replace_callback のコールバック関数

protected _removePrefix(array<string|int, mixed> $matches) : string
Parameters
$matches : array<string|int, mixed>
Tags
checked
noTodo
Return values
string

        
On this page

Search results