constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array()
constructor HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array() -- Constructor
概要
require_once 'HTML/QuickForm/Renderer/Array.php'; |
void HTML_QuickForm_Renderer_Array::HTML_QuickForm_Renderer_Array ([bool $collectHidden = FALSE
bool $staticLabels = FALSE]])
パラメータ
- boolean
$collectHidden
TRUE: collect all hidden elements into string; FALSE: process them as usual form elements
- boolean
$staticLabels
TRUE: instead of putting an array of labels into the
'label' element of resultant array, create
separate keys for them named 'label_$key'
where $key is the key in the array of labels (key + 1 if it is numeric).
The first element of the array occupies the 'label'
element.
例外・エラー
throws no exceptions thrown
注意
この関数は、スタティックにコールする
ことはできません。