Etable/formType/末端指示元素:修訂版本之間的差異

出自六年制學程
跳轉到: 導覽搜尋
第 21 行: 第 21 行:
 
\ggp\signupDoings\20240414OST動員.php(17): '連絡註記'=>array('auto',array('wiki'),array('showColExplain'=>'填寫提示')),
 
\ggp\signupDoings\20240414OST動員.php(17): '連絡註記'=>array('auto',array('wiki'),array('showColExplain'=>'填寫提示')),
 
</pre>
 
</pre>
'''與數據模型(欄位含意)相關:'''
+
'''補充說明欄位含意(數據模型)'''
 
:end($this->formType["$lc_name"])['elementSeparator']
 
:end($this->formType["$lc_name"])['elementSeparator']
 
:*用於複選核取方塊
 
:*用於複選核取方塊
第 28 行: 第 28 行:
 
:*#函式 colValue($j,$value,$row):將複選核取方塊諸項,由值轉成提示
 
:*#函式 colValue($j,$value,$row):將複選核取方塊諸項,由值轉成提示
 
:*#函式 addElements($i,$value):製造「插、編」表單諸複選欄中,哪些欄值被預選
 
:*#函式 addElements($i,$value):製造「插、編」表單諸複選欄中,哪些欄值被預選
 +
:*範例程式:待找
 +
'''補充說明如何輸入欄值(使用者控制):'''
 +
:end($this->formType["$lc_name"])['showColExplain']

2024年5月2日 (四) 08:36的修訂版本

元素:
end($this->formType["$lc_name"])
有
end($this->formType["$lc_name"])['elementSeparator'] 用於複選 checkbox
end($this->formType["$lc_name"])['showColValueGuide'] 須為字串,代表 $字串(array('colOrder'=>$j,'value'=>$value,'row'=>$row))
end($this->formType["$lc_name"])['showColExplain'] 空字串或字串,用於文字區塊
第 1313 行,if 條件可能有錯

均優
\quality\2023\agenda\person.php(36):	'交通車'=>array('bitCheckbox',array(各交通車次),array('showColValueGuide'=>'f6')) 
\2023\agenda\personAM.php(38):		'交通車'=>array('bitCheckbox',array(各交通車次),array('showColValueGuide'=>'f6'))
\2023\agenda\editAgenda.php(14):'議程人員'=>array('auto',array('plain'),array('showColExplain'=>'<br/>議程人員填寫範例:⋯')),
\2023\agenda\person.php(28):	'社群聚會申請'=>array('text',array('showColExplain'=>'<br/>(請留言希望的時間與場地需求)')),
\2023\agenda\personAM.php(30):	'社群聚會申請'=>array('text',array('showColExplain'=>'<br/>(請留言希望的時間與場地需求)')),
DS218+
\ggp\course\trigger.php(18):	'內文'=>array('auto',array('wiki'),array('showColValueGuide'=>'f1')),
\ggp\course\trigger0.php(18):	'內文'=>array('auto',array('wiki'),array('showColValueGuide'=>'f1')),
\ggp\DEC\trigger.php(18):	'內文'=>array('auto',array('wiki'),array('showColValueGuide'=>'f1')),
\ggp\DEC\trigger0.php(18):	'內文'=>array('auto',array('wiki'),array('showColValueGuide'=>'f1')),
\ggp\signupDoings\20240414OST動員.php(17):	'連絡註記'=>array('auto',array('wiki'),array('showColExplain'=>'填寫提示')),

補充說明欄位含意(數據模型):

end($this->formType["$lc_name"])['elementSeparator']
  • 用於複選核取方塊
  • 相關諸方法
    1. 函式 fieldValue2sqlStr 中:決定欄值中諸選項的分隔符號
    2. 函式 colValue($j,$value,$row):將複選核取方塊諸項,由值轉成提示
    3. 函式 addElements($i,$value):製造「插、編」表單諸複選欄中,哪些欄值被預選
  • 範例程式:待找

補充說明如何輸入欄值(使用者控制):

end($this->formType["$lc_name"])['showColExplain']