「ver4/関数リファレンス/BcForm/datepicker」の版間の差分
提供: baserCMS公式ガイド
Katokaisya (トーク | 投稿記録) (ページの作成:「[このコンテンツは内容調整中です] ## 説明 日付カレンダーと時間フィールド ## 使い方 <syntaxhighlight lang="php"> $this->BcForm->dateTime...」) |
Katokaisya (トーク | 投稿記録) |
||
行2: | 行2: | ||
## 説明 | ## 説明 | ||
− | + | カレンダーコントロール付きのテキストフィールド | |
+ | : jquery-ui-1.7.2 必須 | ||
## 使い方 | ## 使い方 | ||
<syntaxhighlight lang="php"> | <syntaxhighlight lang="php"> | ||
− | $this->BcForm-> | + | $this->BcForm->datepicker( [$fieldName] , [$attributes] ) |
</syntaxhighlight> | </syntaxhighlight> | ||
## パラメータ | ## パラメータ | ||
(string)$fieldName | (string)$fieldName | ||
− | : | + | : フィールド文字列 |
(array)$attributes | (array)$attributes | ||
− | : | + | : HTML属性 初期値 : array() |
## 戻り値 | ## 戻り値 | ||
− | |||
(string) | (string) | ||
− | : | + | : 日付用 input type="text" カレンダーコントロール付きのテキストフィールド (jquery-ui-1.7.2 必須) |
## 用例 | ## 用例 |
2017年1月17日 (火) 16:33時点における最新版
[このコンテンツは内容調整中です]
目次
説明
- カレンダーコントロール付きのテキストフィールド
- jquery-ui-1.7.2 必須
使い方
$this->BcForm->datepicker( [$fieldName] , [$attributes] )
パラメータ
- (string)$fieldName
- フィールド文字列
- (array)$attributes
- HTML属性 初期値 : array()
戻り値
- (string)
- 日付用 input type="text" カレンダーコントロール付きのテキストフィールド (jquery-ui-1.7.2 必須)