Lines Matching refs:New
339 private function _difference($Cache,$New){ argument
341 if($New == $Cache){
342 return array($this->_print($New),"");
343 return array($this->_print($New),$this->_message($this->getLang("same")));
346 if(!isset($New) && isset($Cache))
349 if(isset($New) && !isset($Cache))
350 return array($this->_print($New),$this->_message($this->getLang("first")));
352 if(count($New) <= 0)
356 if(count($New) > count($Cache))
357 $Max = count($New);
362 if(isset($Cache[$i]) && !isset($New[$i]))
365 if(!isset($Cache[$i]) && isset($New[$i]))
366 $PrintArray[] = array_merge($New[$i],array("type" => $this->aMessages["new"]));
368 if(isset($Cache[$i]) && isset($New[$i])){
369 if($Cache[$i] != $New[$i]){
371 $PrintArray[] = array_merge($New[$i],array("type" => $this->aMessages["changed"]));
373 $PrintArray[] = array_merge($New[$i],array("type" => $this->aMessages["same"]));