FML/Script/Features/RadioButtonGroupFeature.php
protected function prepareRadioButtonIdsConstant(Script $script)
    {
        $radioButtonIds = array();
        foreach ($this->radioButtons as $radioButton) {
            $radioButtonIds[$radioButton->getName()] = Builder::getId($radioButton->getQuad());
        }
        $script->addScriptConstant($this->getRadioButtonIdsConstantName(), $radioButtonIds);
        return $this;
    }
protected function prepareRadioButtonIdsConstant(Script $script)
    {
        $radioButtonIds = array();
        foreach ($this->radioButtons as $radioButton) {
            $radioButtonIds[$radioButton->getName()] = Builder::getId($radioButton->getQuad());
        }
        $script->addScriptConstant($this->getRadioButtonIdsConstantName(), $radioButtonIds);
        return $this;
    }
protected function prepareRadioButtonIdsConstant ( Script $ script ) { $ radioButtonIds = array ( ) ; foreach ( $ this -> radioButtons as $ radioButton ) { $ radioButtonIds [ $ radioButton -> getName ( ) ] = Builder :: getId ( $ radioButton -> getQuad ( ) ) ; } $ script -> addScriptConstant ( $ this -> getRadioButtonIdsConstantName ( ) , $ radioButtonIds ) ; return $ this ; }
Prepare the Constant containing the RadioButton Ids

@param Script $script Script
@return static
Prepare the Constant containing the RadioButton Ids