Sunday, May 31, 2015

Re: Unusual Table name/ Convention Naming issue

Please look after your controller's class name. If you changed your controller's name to "MyCallDatas1sController" then you also have to change the class name in the controller same as the file name. I think that should work.

On Monday, June 1, 2015 at 3:09:13 AM UTC+5:30, Troy White wrote:
Hello I am having a naming convention problem that I would normally just rename the table. However, that is not an option. 

Background info:Table name is myCallDatas1

I am trying to create a controller for this table. I went to http://inflector.cakephp.org/ and it returned myCallDatas1s. I have tried to use this as a controller(MyCallDatas1sController) name and I get the following error message: Error: Create the class MyCallDatas1sController.php. This table can not be renamed(it is attached to mission critical appliances) is there a work around to fix this issue?

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: