query($method, $params, $this) references what?

2011-11-22 Thread Dennis Dix
In the cake model class (model.php) and the call_ function the
statement:

$return = $db-query($method, $params, $this);

references what function/method?

It doesn't appear to call the function query() inside model.php.

Is the function it calls a cakephp function or just a php function? I
can't seem to find any information anywhere about it.

(The reason I'm asking is I'm trying to track down what happens when
you use the statement findById or something similar.)

Thanks for any help


-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


query($method, $params, $this) references what?

2011-11-22 Thread Dennis Dix
In the cake model class (model.php) and the call_ function the
statement:

$return = $db-query($method, $params, $this);

references what function/method?

It doesn't appear to call the function query() inside model.php.

Is the function it calls a cakephp function or just a php function? I
can't seem to find any information anywhere about it.

(The reason I'm asking is I'm trying to track down what happens when
you use the statement findById or something similar.)

Thanks for any help

(Note: I tried posting this earlier but it never made it to the forum.)

-- 
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
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php