Re: Reserved Word Issue? Just need confirmation.
if php only was case-sensitive^^ On 14 Jan., 02:47, Miles J wrote: > Ya reserved words can be annoying. Just rename it to Listing. > > On Jan 13, 3:07 pm, SonnyBurnette wrote: > > > So even creating a class named "List" causes issues I take it. I guess > > I can fake the name with routing. > > > On Jan 13, 5:22 pm, mike karthauser wrote: > > > > List is indeed a reserved > > > wordhttp://www.php.net/manual/en/reserved.keywords.php > > > > Mike Karthauser > > > Brightstorm limited > > > Tel: 07939252144 > > > > On 13 Jan 2010, at 22:06, SonnyBurnette wrote: > > > > > I am trying to create a model called "List" but I keep getting "Parse > > > > error: syntax error, unexpected T_LIST, expecting T_STRING" for the > > > > line of code "class List extends AppModel {" > > > > > I haven't had this issue with my other models so I am assuming that > > > > this is a reserved word issue. Is that correct? > > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp > > > > others with their CakePHP related questions. > > > > > 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 athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
Re: Reserved Word Issue? Just need confirmation.
Ya reserved words can be annoying. Just rename it to Listing. On Jan 13, 3:07 pm, SonnyBurnette wrote: > So even creating a class named "List" causes issues I take it. I guess > I can fake the name with routing. > > On Jan 13, 5:22 pm, mike karthauser wrote: > > > List is indeed a reserved > > wordhttp://www.php.net/manual/en/reserved.keywords.php > > > Mike Karthauser > > Brightstorm limited > > Tel: 07939252144 > > > On 13 Jan 2010, at 22:06, SonnyBurnette wrote: > > > > I am trying to create a model called "List" but I keep getting "Parse > > > error: syntax error, unexpected T_LIST, expecting T_STRING" for the > > > line of code "class List extends AppModel {" > > > > I haven't had this issue with my other models so I am assuming that > > > this is a reserved word issue. Is that correct? > > > Check out the new CakePHP Questions sitehttp://cakeqs.organdhelp > > > others with their CakePHP related questions. > > > > 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 athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
Re: Reserved Word Issue? Just need confirmation.
So even creating a class named "List" causes issues I take it. I guess I can fake the name with routing. On Jan 13, 5:22 pm, mike karthauser wrote: > List is indeed a reserved > wordhttp://www.php.net/manual/en/reserved.keywords.php > > Mike Karthauser > Brightstorm limited > Tel: 07939252144 > > On 13 Jan 2010, at 22:06, SonnyBurnette wrote: > > > I am trying to create a model called "List" but I keep getting "Parse > > error: syntax error, unexpected T_LIST, expecting T_STRING" for the > > line of code "class List extends AppModel {" > > > I haven't had this issue with my other models so I am assuming that > > this is a reserved word issue. Is that correct? > > Check out the new CakePHP Questions sitehttp://cakeqs.organd help > > others with their CakePHP related questions. > > > 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 athttp://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
Re: Reserved Word Issue? Just need confirmation.
List is indeed a reserved word http://www.php.net/manual/en/reserved.keywords.php Mike Karthauser Brightstorm limited Tel: 07939252144 On 13 Jan 2010, at 22:06, SonnyBurnette wrote: I am trying to create a model called "List" but I keep getting "Parse error: syntax error, unexpected T_LIST, expecting T_STRING" for the line of code "class List extends AppModel {" I haven't had this issue with my other models so I am assuming that this is a reserved word issue. Is that correct? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
Reserved Word Issue? Just need confirmation.
I am trying to create a model called "List" but I keep getting "Parse error: syntax error, unexpected T_LIST, expecting T_STRING" for the line of code "class List extends AppModel {" I haven't had this issue with my other models so I am assuming that this is a reserved word issue. Is that correct? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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