/** * * @return $this * */ public function add_input(HTMLInputControl $input) { $this->_inputs[] = $input; if (!$input->get_id()) { $input->set_random_id(); } $replace = self::_get_input_replacement($input); $this->_content .= $replace; return $this; }