⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Create custom library for common crud methods



crazycondor
  • profile picture
  • Member

Posted 02 May 2012 - 08:45 AM

Hi all,

This is my first post here as i'm a new Codeigniter and Grocery Crud user .

I'm trying to built an app with CI and my question is the following

[b]"How do you handle grocery crud methods that are present in more that one controllers?"[/b]

I don't think inheritance is a good solution cause i have various such methods that are present in various controllers.

I was thinking of making a new custom library for each one of these methods but code that worked doesn't anymore.

Any hints?

Thanks in advance

P.S. Thanks for the amazing library!!