Codeigniter Generator Code