jasonhinkle / phreeze

Phreeze Framework for PHP
http://phreeze.com/
GNU Lesser General Public License v2.1
377 stars 207 forks source link

Controler filename / classname containing space character(s) #277

Open eelziere opened 6 years ago

eelziere commented 6 years ago

Hi,

In the builder configuration options, you can specify for each table the singular and plural displayed names. If you put space characters in those names, to make them easier to read when displayed (example: table name = parameterType + singular name = Parameter Type + plural name = Parameter Types), you will get the following error when trying to access the list page (example: localhost/myprojectsmanager/parameter types):

( ! ) Parse error: syntax error, unexpected 'TypeController' (T_STRING), expecting '{' in C:\wamp\www\myprojectsmanager\libs\Controller\Parameter TypeController.php on line 17 Call Stack

| Time | Memory | Function | Location

1 | 0.0005 | 143736 | {main}( ) | ...\index.php:0 2 | 0.0258 | 956624 | Dispatcher::Dispatch( ) | ...\index.php:28

Thank you in advance for your help. Regards, Eric