I have noticed that my model files do not get read by Cake -AT ALL-. I put
garbage characters into one file and it didn't impact the running at all.
Obviously if the file was readin I would have got a syntax error. Could
someone please enlighten me as to what is going on here?

The program is able to read in correctly from the segments table independent
of what i put in the file. If this file is not read in and not used, why
create it?

Cheers,

Brendan

------
ajax_controller.php
------

class AjaxController extends AppController {
    var $name = "Ajax";
    var $uses = array("Segment","Comment");


    //don't use the view and layout files
    var $autoRender = false;


        function getAllLines() {


------
segment_model.php   ("asdfasdfasdf" at the end intentional to demonstrate
the file is not read)
------

class Segments extends AppModel {
        var $useTable = "segments";

        var $recursive = 2;

                as
}asdfasdfasdf
-- 
View this message in context: 
http://www.nabble.com/Model-Files-do-not-get-read-in-by-the-system.-tp25787023p25787023.html
Sent from the CakePHP mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to