ver4/関数リファレンス/BcForm/dateTime
提供: baserCMS公式ガイド
[このコンテンツは内容調整中です]
目次
説明
dateTime CakeコアのFormHelperの拡張
使い方
$this->BcForm->datetime( [$fieldName] , [$dateFormat] , [$timeFormat] , [$attributes] )
パラメータ
- (string)$fieldName
- SELECT要素のプレフィックス名
- (string)$dateFormat
- 日付フォーマット 初期値 : 'DMY'
- - W が入力された場合、和暦のselectと年月日の接尾辞が付与される
- (string)$timeFormat
- 時刻フォーマット 初期値 : '12'
- (array)$attributes
- 属性 初期値 : array()
戻り値
- (string)
- 選択された日付と時刻の形式の選択ボックスの生成されたセット。