\SiteManagerHelper

サイト管理ヘルパー

Add your application-wide methods in the class below, your helpers will inherit them.

Summary

Methods
Properties
Constants
__construct()
beforeRender()
tabs()
roomTabs()
membershipTabs()
inputHidden()
inputCommon()
inputLanguage()
getValue()
helpSiteClose()
$helpers
No constants found
No protected methods found
$_tabs
N/A
__getHelpOption()
No private properties found
N/A

Properties

$helpers

$helpers : array

使用するヘルパー

Type

array

$_tabs

$_tabs : array

タブ

Type

array

Methods

__construct()

__construct(\View  $View, array  $settings = array()) 

Default Constructor

Parameters

\View $View

The View this helper is being attached to.

array $settings

Configuration settings for the helper.

beforeRender()

beforeRender(string  $viewFile) : void

Before render callback. beforeRender is called before the view file is rendered.

Overridden in subclasses.

Parameters

string $viewFile

The view file that is going to be rendered

tabs()

tabs(string|null  $active = null) : string

タブの出力

Parameters

string|null $active

アクティブタブ

Returns

string —

HTML

roomTabs()

roomTabs() : string

タブの出力

Returns

string —

HTML

membershipTabs()

membershipTabs() : string

タブの出力

Returns

string —

HTML

inputHidden()

inputHidden(string  $model, string  $key, integer  $languageId) : string

inputタグ

Parameters

string $model

モデル名

string $key

キー

integer $languageId

言語ID

Returns

string —

HTML

inputCommon()

inputCommon(string  $model, string  $key, array  $options = array()) : string

inputタグ

Parameters

string $model

モデル名

string $key

キー

array $options

オプション

Returns

string —

HTML

inputLanguage()

inputLanguage(string  $model, string  $key, array  $options = array()) : string

inputタグ(言語)

Parameters

string $model

モデル名

string $key

キー

array $options

オプション

Returns

string —

HTML

getValue()

getValue(string  $model, string  $key, integer  $languageId = '0') : string

値の取得

Parameters

string $model

モデル名

string $key

キー

integer $languageId

言語ID

Returns

string —

HTML

helpSiteClose()

helpSiteClose(string  $placement = 'bottom') : string

サイト停止のヘルプの表示

Parameters

string $placement

ポジション

Returns

string —

ヘルプHTML出力

__getHelpOption()

__getHelpOption(string  $key, array  $options = array()) : array

ヘルプオプションの取得

Parameters

string $key

キー

array $options

オプション

Returns

array —

オプション