| databse table named "list"? [message #415] |
Wed, 16 November 2005 12:59  |
jbauer Messages: 21 Registered: November 2005 |
Junior Member |
|
|
Is it possible to have a db table named "list"? or am I doing something wrong.
[jbauer@localhost myproject]$ symfony generate-propelcrud todo list List
Parse error: parse error, unexpected T_LIST, expecting T_STRING in /www/jbauer/myproject/lib/model/List.php o n line 17
List.php:
<?php
require_once 'model/om/BaseList.php';
/**
* Skeleton subclass for representing a row from the 'todo_list' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package model
*/
class List extends BaseList {
} // List
(this doesn't validate in Zend IDE) says "Expecting:Indentifier" for the "class Lists... " line.
|
|
|
|
|
| Re: databse table named "list"? [message #423 is a reply to message #422 ] |
Wed, 16 November 2005 18:00   |
Ian Messages: 383 Registered: October 2005 Location: Boulder, CO (USA) |
Faithful Member |
|
|
| jbauer wrote on Wed, 16 November 2005 11:55 | Got it. I guess a Feature Request then would be for the CLI to gracefully fail and check against a list of keywords, warning the user they cannot use Keywords.
|
I second that. I had this problem yesterday with 'Case'
Ian
█ Join us on IRC for LIVE support!
█ Report bugs here.
|
|
|
| Re: databse table named "list"? [message #426 is a reply to message #415 ] |
Wed, 16 November 2005 20:10   |
jbauer Messages: 21 Registered: November 2005 |
Junior Member |
|
|
|
Opened a trac ticket. marked as "enhancement"
[Updated on: Wed, 16 November 2005 20:10]
|
|
|
|
| Re: databse table named "list"? [message #435 is a reply to message #427 ] |
Thu, 17 November 2005 07:21  |
fabien Messages: 484 Registered: October 2005 |
Faithful Member Administrator |
|
|
I agree with RoVeRT. I close the ticket about this.
|
|
|