Issues

ZF-7855: wrong creation of module controller with zf.bat tool

Issue Type: Bug Created: 2009-09-16T01:47:14.000+0000 Last Updated: 2009-10-16T22:21:37.000+0000 Status: Resolved Fix version(s): - 1.10.0 (27/Jan/10)

Reporter: Bo?tjan Kristl (bkristl) Assignee: Ralph Schindler (ralph) Tags: - Zend_Tool

Related issues: - ZF-7743

Attachments:

Description

when we create module controller with zf.bat it creates wrong class for controller. It creates only class name without prefix of the module name.

example: zf.bat create controller list 1 blog

it creates in modules/blog/controller/ListController.php class ListController extends Zend_Controller_Action {

public function init() {/* Initialize action controller here */}
public function indexAction(){ // action body}

}

but the right name would be with the prefix of module name class Blog_ListController extends Zend_Controller_Action {

public function init() {/* Initialize action controller here */}
public function indexAction(){ // action body}

}

Comments

Posted by Ralph Schindler (ralph) on 2009-10-16T22:21:23.000+0000

Fixed in r18600 in incubator as part of ZF-6787. Will be included in 1.10 release.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts