/**
* Set variables up before form is built
*
- * @param null
- *
* @return void
*/
public function preProcess() {
* Set default values for the form. Note that in edit/view mode
* the default values are retrieved from the database
*
- * @param null
- *
* @return array
* array of default values
*/
/**
* Build the form object
*
- * @param null
- *
* @return void
*/
public function buildQuickForm() {
'option_group_id',
ts('Multiple Choice Option Sets'),
array(
- '' => ts('- select -')
+ '' => ts('- select -'),
) + $optionGroups
);
}
ts('Option Type'),
$optionTypes,
array(
- 'onclick' => "showOptionSelect();"
+ 'onclick' => "showOptionSelect();",
), '<br/>'
);
/**
* Process the form
*
- * @param null
- *
* @return void
*/
public function postProcess() {
1,
2,
3,
- 5
+ 5,
))) {
if (empty($params['is_searchable'])) {
$params['is_search_range'] = 0;