Handle object in class helper - Best practice |
i'm not so sure about your way of doing things
i think in general you should avoid calling models within your objects because objects needs to get filled by a model and the model should return the prepared objects to the controller a Library can do that but in this case i think a library is a wrong approach - you need a category wrapper object or something like this |
Messages In This Thread |
Handle object in class helper - Best practice - by sebastianvirlan - 11-10-2015, 02:16 AM
RE: Handle object in class helper - Best practice - by Avenirer - 11-10-2015, 03:48 AM
RE: Handle object in class helper - Best practice - by sebastianvirlan - 11-10-2015, 03:55 AM
RE: Handle object in class helper - Best practice - by sintakonte - 11-10-2015, 04:03 AM
RE: Handle object in class helper - Best practice - by sebastianvirlan - 11-10-2015, 05:07 AM
RE: Handle object in class helper - Best practice - by sintakonte - 11-10-2015, 05:16 AM
RE: Handle object in class helper - Best practice - by sebastianvirlan - 11-10-2015, 07:56 AM
RE: Handle object in class helper - Best practice - by sebastianvirlan - 11-11-2015, 12:39 AM
|