Welcome Guest, Not a member yet? Register   Sign In
Calling Model Function
#10

It's not much too it, it's a PHP class you place inside app/libraries (or any other folder works). So you don't get any in-depth description of it in the user guide itself.

Here are an example if you are using the core modules strategy.
https://codeigniter.com/user_guide/gener...#libraries

Or if you place it in your app folder.

PHP Code:
// app/Libraries/Widget.php
$widget = new \App\Libraries\Widget(); 

Thanks! That's what we are striving for. Now we need to just put the word out to the rest of the world! I have made two websites with OpenCart, never modified it myself. But the QC on the plugins aren't that great, I mostly bought translations and it where mostly just using Google Translate. :-(
Reply


Messages In This Thread
Calling Model Function - by 68thorby68 - 04-28-2020, 06:45 AM
RE: Calling Model Function - by kilishan - 04-28-2020, 07:02 AM
RE: Calling Model Function - by InsiteFX - 04-28-2020, 08:08 AM
RE: Calling Model Function - by jreklund - 04-28-2020, 09:53 AM
RE: Calling Model Function - by 68thorby68 - 04-29-2020, 01:57 AM
RE: Calling Model Function - by jreklund - 04-29-2020, 10:55 AM
RE: Calling Model Function - by 68thorby68 - 04-30-2020, 04:13 AM
RE: Calling Model Function - by jreklund - 05-01-2020, 09:03 AM
RE: Calling Model Function - by 68thorby68 - 05-03-2020, 02:22 AM
RE: Calling Model Function - by jreklund - 05-03-2020, 03:01 AM
RE: Calling Model Function - by 68thorby68 - 05-03-2020, 03:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB