set emptyLink class in Component php not in tpl