/** * Constructor. * * @param array An array with le list of the names of the images to display * @param array This object writes the name of the selected image into an * input box. This is the name of that input bux. * */ public function __construct($imageList, $inputToUpdate) { $this->inputToUpdate = $inputToUpdate; parent::__construct($imageList); }