my Codeigniter common helper