\UserEditFormHelper

UserEditForm Helper

※PHPMのSuppressWarningsは暫定

Summary

Methods
Properties
Constants
__construct()
beforeRender()
userInput()
userInputForSelf()
userPublicForSelf()
userPublic()
userMailReceptionForSelf()
userMailReception()
$helpers
No constants found
No protected methods found
No protected properties found
N/A
__input()
__inputDataType()
__image()
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.

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

userInput()

userInput(array  $userAttribute) : string

会員の入力フォームの表示

Parameters

array $userAttribute

UserAttributeデータ

Returns

string —

HTMLタグ

userInputForSelf()

userInputForSelf(array  $userAttribute) : string

会員の入力フォームの表示(自分)

Parameters

array $userAttribute

UserAttributeデータ

Returns

string —

HTMLタグ

userPublicForSelf()

userPublicForSelf(array  $userAttribute) : string

会員の公開非公開の有無ラジオボタンの表示

Parameters

array $userAttribute

UserAttributeデータ

Returns

string —

HTMLタグ

userPublic()

userPublic(array  $userAttribute) : string

会員の公開非公開の有無ラジオボタンの表示

Parameters

array $userAttribute

UserAttributeデータ

Returns

string —

HTMLタグ

userMailReceptionForSelf()

userMailReceptionForSelf(array  $userAttribute) : string

会員のメールの受信可否のチェックボックスボタンの表示

Parameters

array $userAttribute

UserAttributeデータ

Returns

string —

HTMLタグ

userMailReception()

userMailReception(array  $userAttribute) : string

会員のメールの受信可否のチェックボックスボタンの表示

Parameters

array $userAttribute

UserAttributeデータ

Returns

string —

HTMLタグ

__input()

__input(string  $fieldName, array  $userAttribute, integer  $languageId = null) : string

inputタグの生成

Parameters

string $fieldName

フィールド名("Modelname.fieldname"形式)

array $userAttribute

UserAttributeデータ

integer $languageId

言語ID

Returns

string —

HTMLタグ

__inputDataType()

__inputDataType(string  $fieldName, array  $userAttribute, array  $attributes, array  $divOuter) : string

データタイプに対するinputタグのHTML出力 ※PHPMのSuppressWarningsは暫定

Parameters

string $fieldName

フィールド名("Modelname.fieldname"形式)

array $userAttribute

UserAttributeデータ

array $attributes

HTMLタグ属性

array $divOuter

外側のDIVタグ

Returns

string —

HTML 入力HTML

__image()

__image(string  $fieldName, array  $userAttribute, array  $attributes = array()) : string

イメージ(アバター)の表示処理

Parameters

string $fieldName

フィールド名("Modelname.fieldname"形式)

array $userAttribute

UserAttributeデータ

array $attributes

HTMLタグ属性

Returns

string —

imageタグ