mySQL stored procedure generator for Codeigniter helper