\SwitchLanguageHelper

SwitchLanguage Helper

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

Summary

Methods
Properties
Constants
tablist()
label()
inputLabel()
$helpers
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$helpers

$helpers : array

Other helpers used by FormHelper

Type

array

Methods

tablist()

tablist(string  $prefix = null, array  $options = array()) : string

言語切り替えタブ

Parameters

string $prefix

タブIDのプレフィックス

array $options

elementに渡すオプション

Returns

string

label()

label(string  $name, array  $classOptions = array(), array  $divOptions = array()) : string

言語ラベル(切り替え)

Parameters

string $name

ラベル名

array $classOptions

CSSのクラスオプション

array $divOptions

DIVオプション

Returns

string

inputLabel()

inputLabel(string  $name, integer  $languageId) : string

言語inputラベル(切り替え)

Parameters

string $name

ラベル名

integer $languageId

言語ID

Returns

string