Code Duplication    Length = 7-7 lines in 2 locations

framework/Web/UI/WebControls/TDataList.php 1 location

@@ 1383-1389 (lines=7) @@
1380
	/**
1381
	 * Clears up all items in the data list.
1382
	 */
1383
	public function reset()
1384
	{
1385
		$this->getControls()->clear();
1386
		$this->getItems()->clear();
1387
		$this->_header = null;
1388
		$this->_footer = null;
1389
	}
1390
1391
	/**
1392
	 * Creates data list items based on viewstate information.

framework/Web/UI/WebControls/TRepeater.php 1 location

@@ 614-620 (lines=7) @@
611
	/**
612
	 * Clears up all items in the repeater.
613
	 */
614
	public function reset()
615
	{
616
		$this->getControls()->clear();
617
		$this->getItems()->clear();
618
		$this->_header = null;
619
		$this->_footer = null;
620
	}
621
622
	/**
623
	 * Creates repeater items based on viewstate information.