⚠ 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

Custom Model full example without Codeigniter



qlieu

qlieu
  • profile picture
  • Member

Posted 21 April 2020 - 21:01 PM

Hello,

 

Is there a full example of creating a custom model without using Codeigniter?  I've read the documentation (https://www.grocerycrud.com/enterprise/examples-3/create-custom-model/) but I am not familiar with Codeigniter.

 

I ran across this thread (/topic/136737-error-when-trying-to-use-this-inside-of-callbacks/) which references https://gist.github.com/scoumbourdis/d296573d2d747d6b3387916c8beb60f6 but that's just a partial example.

 

Thanks,

Q


qlieu

qlieu
  • profile picture
  • Member

Posted 29 April 2020 - 15:23 PM

Anyone have a partial example of a custom model without codeigniter that uses a custom select?  I'd like to use it to view, sort, filter, and export a custom query.