Blogger Information
Blog 4
fans 0
comment 0
visits 2745
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
控制器与请求对象的功能与用途——5月22号作业
古典的博客
Original
663 people have browsed it

控制器:

1、控制器文件通常放在application/module/controller下面,类名和文件名保持大小写一致,并采用驼峰命名(首字母大写)。

2、控制器本质是一个类

3、用来接收用户请求,并将处理结果返回给调用者


请求对象:

1、通俗的理解就是一个URL地址,也叫URL请求

2、请求对象中提供了大量的方法来获取和设置这些URL中的参数


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post