public function deleteImages() 
    {		
    	$thumb = false;
    	$img = false;
    	
    	if(file_exists($this->path)) {
			unlink($this->path);
		}
		
		if(file_exists($this->thumbnailPath)) {
			unlink($this->thumbnailPath);
		}
		
		$img = !file_exists($this->path);
		$thumb = !file_exists($this->thumbnailPath);
		
		return $img && $thumb;
    }
public function deleteImages() 
    {		
    	$thumb = false;
    	$img = false;
    	
    	if(file_exists($this->path)) {
			unlink($this->path);
		}
		
		if(file_exists($this->thumbnailPath)) {
			unlink($this->thumbnailPath);
		}
		
		$img = !file_exists($this->path);
		$thumb = !file_exists($this->thumbnailPath);
		
		return $img && $thumb;
    }
public function deleteImages ( ) { $ thumb = false ; $ img = false ; if ( file_exists ( $ this -> path ) ) { unlink ( $ this -> path ) ; } if ( file_exists ( $ this -> thumbnailPath ) ) { unlink ( $ this -> thumbnailPath ) ; } $ img = ! file_exists ( $ this -> path ) ; $ thumb = ! file_exists ( $ this -> thumbnailPath ) ; return $ img && $ thumb ; }
Phisically remove images that are related
to this doument entity.
It does not touch anything on the database!

@return boolean
Phisically remove images that are related to this doument entity . It does not touch anything on the database!