I am creating a controller, Mainewap, in Zend and it is creating the view script directory and index as it should. However, in another controller, I am getting the state, Maine, and trying to append 'wap' to the end of the name, to handle information specific to low income programs. However, when I append "wap" to the end of the state name, Zend decides to split it up randomly with a dash, so it may come out as main-ewap, and won't find the directory. Is there any way to ensure that when I create the state's second view script of information, it doesn't put a random dash in the name?
I'm not sure if I explained the problem well enough, but i basically want to create the name of an existing controller in another file, and redirect to the properly named view script directory associated with the controller. No random dashes. Is this possible?
Regards,
Thomas
没有评论:
发表评论