public function generate_password_html($key, $data) { $data['type'] = 'password'; return $this->generate_text_html($key, $data); }