Passing instance objects between controller and model |
in order to prevent include_once calls we made a pre controller Hook which autoloads those classes
and all classes are stored within a new folder called objects inside the application directory PHP Code: class AppAutoLoadObjects { and the hook in your hooks.php is very simple PHP Code: $hook['pre_system'][] = array( |
Messages In This Thread |
Passing instance objects between controller and model - by Shawn - 03-20-2016, 09:20 AM
RE: Passing instance objects between controller and model - by Wouter60 - 03-20-2016, 10:53 AM
RE: Passing instance objects between controller and model - by cartalot - 03-20-2016, 12:38 PM
RE: Passing instance objects between controller and model - by kilishan - 03-20-2016, 04:14 PM
RE: Passing instance objects between controller and model - by sintakonte - 03-23-2016, 06:01 AM
|