Dynamically Load a Model – CakePHP
Occassionally, I need to load an unrealted model into a controller. There are a number of ways to do this but some are better than others. The following is taken from reply by gwoo to a discussion thread.
Occassionally, I need to load an unrealted model into a controller. There are a number of ways to do this but some are better than others. The following is taken from reply by gwoo to a discussion thread.
Every now and then, I recommit myself to actually writing something on a regular basis. Ideally, I would like to post once every two weeks. Sometimes this gets hard, especially when real life interrupts. Some upcoming posts to look forward to include: