\UserLayoutHelper

UserEditForm Helper

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

Summary

Methods
Properties
Constants
__construct()
display()
userLabelElement()
userElement()
isDisplayable()
$helpers
No constants found
_getUserElementByCheckboxType()
No protected properties found
N/A
__displayLanguageField()
No private properties found
N/A

Properties

$helpers

$helpers : array

Other helpers used by FormHelper

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.

display()

display(array  $userAttribute) : string

ユーザ属性の表示

Parameters

array $userAttribute

ユーザ属性データ

Returns

string —

HTMLタグ

userLabelElement()

userLabelElement(array  $userAttribute) : string

ユーザ属性のラベル表示

Parameters

array $userAttribute

ユーザ属性データ

Returns

string —

HTMLタグ

userElement()

userElement(string  $fieldName, array  $userAttribute) : string

ユーザ属性の表示

Parameters

string $fieldName

モデルのフィールド名

array $userAttribute

ユーザ属性データ

Returns

string —

HTMLタグ

isDisplayable()

isDisplayable(array  $userAttribute) : boolean

表示可能な項目かどうかチェック

Parameters

array $userAttribute

ユーザ属性データ

Returns

boolean —

表示可・不可

_getUserElementByCheckboxType()

_getUserElementByCheckboxType(string  $fieldName, array  $userAttribute) : string

チェックボックスタイプの表示内容取得

Parameters

string $fieldName

フィールド名

array $userAttribute

UserAttribute

Returns

string —

表示内容

__displayLanguageField()

__displayLanguageField(string  $fieldName) : string

多言語のフィールドの値表示

Parameters

string $fieldName

モデルのフィールド名

Returns

string