Now I'm trying CakePHP and I can not work my app because CakePHP "thinks" my model name is 'Tach' when it's actually in 'Tache'
Why this?
My controller is defined as: app / controller / taches_controller.php
class TachesController enhances AppController {function index () {$ AllTaches = $ This- & gt; Tech- & gt; Search ('All'); $ This- & gt; Set ('taches', $ allTaches); } }
And here's my model: AP / Modal / Tache.fp
Extended to Class Tove App MODEL Is {var $ useTable = 'tash'; }
If I use 'tshe' in my controller, I get an error:
$ allTaches = $ This->; Tache-> It seems ('all'); But if I use 'tech', I do not get any error:
$ allTaches = $ this- & gt; Touch- & gt; Search ('All'); Why can not I use the model name 'Tache'? Am I doing something wrong ? The way I am on PHP 5.3 and my Cake PHP version is 1.3.8
Thanks!
Alex
Comments
Post a Comment