baserCMS クラスリファレンス

BcMailViewEventListener extends BcViewEventListener
in package

BcMailViewEventListener

Table of Contents

Properties

$events  : array<string|int, string>
Events
$layer  : string
レイヤー名
$plugin  : string
プラグイン名

Methods

__construct()  : mixed
コンストラクタ
beforeRender()  : mixed
Before render
getAction()  : string
現在のアクションを特定する文字列を取得する
implementedEvents()  : array<string|int, mixed>
implementedEvents
isAction()  : bool
指定した文字列が現在のアクションとしてみなされるかどうか判定する
setAdminMenu()  : mixed
管理画面メニュー用のデータをセットする

Properties

Methods

__construct()

コンストラクタ

public __construct() : mixed
Tags
checked
noTodo

getAction()

現在のアクションを特定する文字列を取得する

public getAction([bool $isContainController = true ]) : string
Parameters
$isContainController : bool = true

コントローラー名を含むかどうか(初期値:true)

Tags
checked
noTodo
Return values
string

implementedEvents()

implementedEvents

public implementedEvents() : array<string|int, mixed>
Tags
checked
noTodo
Return values
array<string|int, mixed>

isAction()

指定した文字列が現在のアクションとしてみなされるかどうか判定する

public isAction(string $action[, bool $isContainController = true ]) : bool

コントローラー名、アクション名をキャメルケースに変換する前提で、ドットで結合した文字列とする (例)Users.AdminIndex

Parameters
$action : string

アクションを特定する為の文字列

$isContainController : bool = true

コントローラー名を含むかどうか(初期値:true)

Tags
checked
noTodo
Return values
bool

setAdminMenu()

管理画面メニュー用のデータをセットする

public setAdminMenu() : mixed
Tags
checked
noTodo
unitTest

        
On this page

Search results