Location: PHPKode > projects > Top Music module > Top Music 3.0.7/html/modules/topMusic/lib/com/sergids/common/ArrayUtils.php
<?php
class ArrayUtils{
	function replaceItem(&$array,$key,$newitem=""){
		if($newitem!="")
			array_splice($array,$key,1,array($field));
		else
			array_splice($array,$key,1);
	}
}
?>
Return current item: Top Music module