Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: __get in libraries
Post: __get in libraries

Hey, I've read a tutorial somewhere to use the following PHP Code: -- private function __get($var) {  return get_instance()->$var; } -- rather than having to do this PHP Code: -- func...
8,733 Views
0 Replies
12-11-2014, 02:21 AM
kylevorster
    Thread: Custom Controller
Post: RE: Custom Controller

That must have been the most dumpest post I've ever made in my entire life, please ignore kylevorster Wrote: (11-27-2014, 09:19 AM) -- Thank you for that code Hobbes, I think that's exactly what I...
11,347 Views
0 Replies
11-27-2014, 09:24 AM
kylevorster
    Thread: Custom Controller
Post: RE: Custom Controller

Thank you for that code Hobbes, I think that's exactly what I will do. Correct me if I'm wrong but should the include not read. PHP Code: -- if ( class_exists('SH_Shopping')) { require_once...
11,347 Views
0 Replies
11-27-2014, 09:19 AM
kylevorster
    Thread: Custom Controller
Post: Custom Controller

Hey there, I'm having no luck with a custom controller I'm trying to use, I've got two, the first one works 100% but the second one is giving me problems. Here's my setup. My Working Controller ...
11,347 Views
0 Replies
11-27-2014, 07:43 AM
kylevorster
    Thread: Undefined variable: mimes
Post: Undefined variable: mimes

Hey, I upgrade my CI installation from 2 to 3 and got the following php notice error when opening one of my existing controllers. Message: Undefined variable: mimes Filename: core/Output.php L...
10,984 Views
0 Replies
11-27-2014, 07:31 AM
kylevorster

Theme © iAndrew 2016 - Forum software by © MyBB