I don't know how much this will help, but what you set in your bootstrap
has nothing to do with zend tool.
Zend tool operates according its own providers and does not take any
insight from your application
You can try to create the controller manually but I think you will have
only headache if you use underscore in its actual name.
You are better off with using routes to point underscore links to
correct controllers.
regards
Petar
On 03/08/2011 06:53 PM, tkuben wrote:
Hi,
I am trying to create a controller with an underscore. I've added the
specified code to my bootstrap:
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initDoctype()
{
$dispatcher = $front->getDispatcher();
$dispatcher->setWordDelimiter(array('.', '-'))->setPathDelimiter('');
}
}
However, when I do the following: zf create controller press_release
I still get Note:
PHPUnit is required in order to generate controller test stubs.
An Error Has Occurred
Controller names should be camel cased.
Zend Framework Command Line Console Tool v1.11.4
Details for action "Create" and provider "Controller"
Controller
zf create controller name index-action-included[=1] module
Any thoughts.
Thanks.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/underscore-in-URL-tp648359p3341777.html
Sent from the Zend Framework mailing list archive at Nabble.com.