Code Duplication    Length = 8-8 lines in 3 locations

classes/models/fields/FrmFieldPhone.php 1 location

@@ 21-28 (lines=8) @@
18
	 */
19
	protected $holds_email_values = true;
20
21
	protected function field_settings_for_type() {
22
		return array(
23
			'size'           => true,
24
			'clear_on_focus' => true,
25
			'invalid'        => true,
26
			'format'         => true,
27
		);
28
	}
29
30
	protected function html5_input_type() {
31
		$frm_settings = FrmAppHelper::get_settings();

classes/models/fields/FrmFieldText.php 1 location

@@ 20-27 (lines=8) @@
17
	 */
18
	protected $holds_email_values = true;
19
20
	protected function field_settings_for_type() {
21
		return array(
22
			'size'           => true,
23
			'clear_on_focus' => true,
24
			'format'         => true,
25
			'invalid'        => true,
26
		);
27
	}
28
}
29

classes/models/fields/FrmFieldUrl.php 1 location

@@ 15-22 (lines=8) @@
12
	protected $type = 'url';
13
	protected $display_type = 'text';
14
15
	protected function field_settings_for_type() {
16
		return array(
17
			'size'           => true,
18
			'clear_on_focus' => true,
19
			'invalid'        => true,
20
			'show_image'     => true,
21
		);
22
	}
23
24
	/**
25
	 * @return array