ver4/関数リファレンス/BcForm/selectText
提供: baserCMS公式ガイド
[このコンテンツは内容調整中です]
目次
説明
文字列保存用複数選択コントロール
使い方
$this->BcForm->selectText( [$fieldName] , [$selected] , [$options] , [$attributes] ,[$showEmpty] )
パラメータ
- (string)$fieldName
- id,nameなどの名前
- (array)$options
- optionタグの値 初期値: array()
- (mixed)$selected
- selectedを付与する要素
- (array)$attributes
- htmlの属性 初期値: array()
- (mixed)$showEmpty
- 空要素の表示/非表示、初期値:
戻り値
- (string)