Home >Backend Development >PHP Tutorial >ThinkPHP function detailed explanation series thinkphp3.1 laravel thinkphp if

ThinkPHP function detailed explanation series thinkphp3.1 laravel thinkphp if

WBOY
WBOYOriginal
2016-07-29 08:52:201109browse

In order to make it easier for everyone to learn and master, here is a summary of the classic function usage in ThinkPHP

A function: instantiate the controller
R function: directly call the controller's operation method
C function: set and get configuration parameters
L function : Set and get language variables
D Function: Instantiate model
M Function: Instantiate model (no need to define model class)
N Function: Counter
G Function: Debug statistics
U Function: URL address generation
I Function: Secure acquisition System input variables
S function: cache setting and access
F function: fast cache setting and access
session function: Session operation
cookie function: Cookie operation
import function: class library import

The above introduces the detailed explanation series of ThinkPHP functions, including the content of thinkphp. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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