3.11. multiplechoice

MultipleChoice element

create a multiplechoice element:

element createMultipleChoice (array value, array array, [string name], [string status]]);

parameter:

example:

		$myChoice = $ippfp->createMultipleChoice(array(1 => "value 1"),array(1 => "value 1", 2 => "value 2", 3 => "value 3"),"mymultiplechoice");
		

Note: getValue() will give you the key, not the item. getValueAsString() will give you the item.