Home > Backend Development > PHP Tutorial > 请问一下zend框架的URL格式的有关问题

请问一下zend框架的URL格式的有关问题

WBOY
Release: 2016-06-13 13:49:04
Original
773 people have browsed it

请教一下zend框架的URL格式的问题
比如我现在想通过GET方法传一个值(比如就是a=12),那是不是URL地址应该这样写:xx/xx/a/12 ?

多谢!

------解决方案--------------------
是的,第一个xx是控制器,第二个xx是方法,第三个是参数名,第四个是数值。
------解决方案--------------------
yes ,you got it girl.
------解决方案--------------------
是的,通常在ZF中通过GET方式传值的时候和常规一样;
URL地址:xx/xx/a/12
url地址;控制器/方法/变量名1/变量值1/变量名2/变量值2/.../...

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template