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);
die;
}
}
I have a model file:
class Y extends PluginAppController {
var $virtualFields = array('Y'=>'sum(Y.field_name)');
}
The output states the following:
AppModel Object
(
...
[virtualFields] = {It is blank}
...
)
this happens for everything that I put on the php file.
Basically, what I gather is happening is that it is instantiating a
generic model class.
How can I better research this?
Thanks,
Jay
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php