HABTM round trip query

2013-02-10 Thread crouch...@googlemail.com
Hi all, If this topic is covered, sorry, but I don't really know what to search under and all my searches resulted in nothing. Background: Developing a site for a voice over company. Requirement: Voice artists can have several different languages and languages can have several different voice

User Model changes to AppModel

2012-12-29 Thread crouch...@googlemail.com
Hello, I really need help in trouble shooting or understanding what I am doing wrong. What I am trying to do call /system/user Condition (This is a generic over) beforeFilter() - User model = Object(User) { ... } index() - User model = Object(AppModel) { ... } What I have done: in

Re: User Model changes to AppModel

2012-12-29 Thread crouch...@googlemail.com
Have done some troubleshooting. If in beforeFilter(), I place $u = $this-User In index() debug($this-User) = object(User) { ... } However, in all cases, $this-Role has been removed -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Model not fully loading

2011-08-07 Thread crouch...@googlemail.com
Hello, I am having a weird problem that I am not able to figure out and am not fully able to describe in a brief statement. So here I go. I have create a controller file: class XController extends PluginAppController { var $uses = array('Y'); function index() { debug($this-Y);