OWeb/defaults/controllers/OWeb/widgets/jquery/CodeGenerator.php
public function addOption($name, $defaultValue, $necessary=false){
		$this->defValues[$name] = $defaultValue;
		if($necessary)
			$this->necessary[$name] = true;
	}
public function addOption($name, $defaultValue, $necessary=false){
		$this->defValues[$name] = $defaultValue;
		if($necessary)
			$this->necessary[$name] = true;
	}
public function addOption ( $ name , $ defaultValue , $ necessary = false ) { $ this -> defValues [ $ name ] = $ defaultValue ; if ( $ necessary ) $ this -> necessary [ $ name ] = true ; }
Add an option that this code might have or must have

@param String $name The name of the option
@param String/int $defaultValue The default value this function has
@param Boolean Does the code requires this option to work?
Add an option that this code might have or must have