Kirki_Field_Select2_Multiple   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A set_multiple() 0 2 1
1
<?php
2
/**
3
 * Override field methods
4
 *
5
 * @package     Kirki
6
 * @subpackage  Controls
7
 * @copyright   Copyright (c) 2017, Aristeides Stathopoulos
8
 * @license    https://opensource.org/licenses/MIT
9
 * @since       2.2.7
10
 */
11
12
/**
13
 * This is nothing more than an alias for the Kirki_Field_Select class.
14
 * In older versions of Kirki there was a separate 'select2' field.
15
 * This exists here just for compatibility purposes.
16
 */
17
class Kirki_Field_Select2_Multiple extends Kirki_Field_Select {
18
19
	/**
20
	 * Sets the $multiple
21
	 *
22
	 * @access protected
23
	 */
24
	protected function set_multiple() {
25
		$this->multiple = 999;
26
	}
27
}
28