Knowledge ing of various Thinkphp methods and thinkphp knowledge ing

Source: Internet
Author: User

Knowledge ing of various Thinkphp methods and thinkphp knowledge ing

AMethod:Used to instantiate a controller

ThinkPHP Function Description: Method

Method B: Execute an action.

I method (its name is from the English Input ):Supports filtering and default value for retrieving input parameters

ThinkPHP function details: I Method

D method:D function is used to instantiate the model class format [Resource: //] [module/] Model

ThinkPHP Function Description: D Method

M method:The M function is used to instantiate a Model without a Model file.

ThinkPHP function details: M METHOD

U method:URL Assembly supports different URL Modes

ThinkPHP Function Description: U Method

Method C: Read and set configuration parameters

ThinkPHP Function Description: C method

E method: throw an exception

 

G method: Record and count time (microseconds) and memory usage

Gorgeous upgrades of the G Method

LMethod:Get and set language definitions (Case Insensitive)

ThinkPHP functions: L Method

TMethod:Get Template File Format resources: // module @ topic/controller/Operation

 

NMethod:Set and obtain statistics

 

RMethod:How to remotely call the Controller

 

WMethod:Rendering output Widget

 

SMethod:Cache Management

 

FMethod:Fast File Data Reading and savingFor simple data strings and Arrays

ThinkPHP function details: F Method

More information see http://www.jb51.net/Special/129.htm

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.