src/bootbuilder/Form.php
public function replaceControl($nr, $control) {
        if(isset($this->controls[$nr])) {
            $this->controls[$nr] = $control;
        }
    }
public function replaceControl($nr, $control) {
        if(isset($this->controls[$nr])) {
            $this->controls[$nr] = $control;
        }
    }
public function replaceControl ( $ nr , $ control ) { if ( isset ( $ this -> controls [ $ nr ] ) ) { $ this -> controls [ $ nr ] = $ control ; } }
Replace current control in array with new one
@param int $nr
@param mixed $control
Replace current control in array with new one