\DisplayNumberHelper

DisplayNumber Helper

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

Summary

Methods
Properties
Constants
select()
selectDays()
dropDownToggle()
dropDownToggleDays()
$helpers
$displayNumberOptions
$displayDaysOptions
No constants found
_select()
No protected properties found
N/A
__getOptions()
__getOptionsForDays()
No private properties found
N/A

Properties

$helpers

$helpers : array

Other helpers used by FormHelper

Type

array

$displayNumberOptions

$displayNumberOptions : array

listStyle

Type

array

$displayDaysOptions

$displayDaysOptions : array

listStyle

Type

array

Methods

select()

select(string  $fieldName, array  $attributes = array()) : string

Setting display number

Parameters

string $fieldName

Name of a field, like this "Modelname.fieldname"

array $attributes

Array of HTML attributes, and special attributes above.

Returns

string —

Completed radio widget set.

selectDays()

selectDays(string  $fieldName, array  $attributes = array()) : string

Setting display number

Parameters

string $fieldName

Name of a field, like this "Modelname.fieldname"

array $attributes

Array of HTML attributes, and special attributes above.

Returns

string —

Completed radio widget set.

dropDownToggle()

dropDownToggle(array  $attributes = array()) : string

Output display number drop down toggle

Parameters

array $attributes

Array of options and HTML arguments.

Returns

string —

HTML tags

dropDownToggleDays()

dropDownToggleDays(array  $attributes = array()) : string

Output display number drop down toggle

Parameters

array $attributes

Array of options and HTML arguments.

Returns

string —

HTML tags

_select()

_select(string  $fieldName, array  $attributes = array()) : string

Setting display number

Parameters

string $fieldName

Name of a field, like this "Modelname.fieldname"

array $attributes

Array of HTML attributes, and special attributes above.

Returns

string —

Completed radio widget set.

__getOptions()

__getOptions(array  $attributes = array()) : array

件数セレクトボックスのオプション

Parameters

array $attributes

HTMLの属性オプション

Returns

array

__getOptionsForDays()

__getOptionsForDays(array  $attributes = array()) : array

日数セレクトボックスのオプション

Parameters

array $attributes

HTMLの属性オプション

Returns

array