Code Duplication    Length = 9-9 lines in 2 locations

Ajax/semantic/widgets/datatable/InstanceViewer.php 1 location

@@ 42-50 (lines=9) @@
39
		return $captions;
40
	}
41
42
	public function getValues(){
43
		$values=[];
44
		$index=0;
45
		$count=$this->count();
46
		while($index<$count){
47
			$values[]=$this->getValue($index++);
48
		}
49
		return $values;
50
	}
51
52
	public function getCkValue(){
53
		$value=self::$index;

Ajax/semantic/widgets/InstanceViewer.php 1 location

@@ 37-45 (lines=9) @@
34
		return $captions;
35
	}
36
37
	public function getValues(){
38
		$values=[];
39
		$index=0;
40
		$count=$this->count();
41
		while($index<$count){
42
			$values[]=$this->getValue($index++);
43
		}
44
		return $values;
45
	}
46
47
	public function getValue($index){
48
		$this->properties[$index]->setAccessible(true);