ThinkPHP project group configuration

Project grouping is an important mechanism of ThinkPHP. the Project grouping function can combine multiple projects in the past into one project and reuse public files, however, each group can have its own configuration files, public files, language

PHP development framework YiiFramework tutorial (44) Zii component-Resizable example

PHP development framework YiiFramework tutorial (44) Zii component-Resizable example CJuiResizable allows the UI components contained in it to support scaling. it encapsulates the JUI Resizable plug-in, The basic usage of CJuiResizable is as follows:

PHP development framework YiiFramework tutorial (40) Zii component-SliderInput example

PHP development framework YiiFramework tutorial (40) Zii component-SliderInput example CJuiSliderInput displays a slide. it also encapsulates the JUI slider plug-in and can be used in Form as the UI component for user input. The basic usage is as

PHP development framework YiiFramework tutorial (38) Zii component-ProgressBar example

PHP development framework YiiFramework tutorial (38) Zii component-ProgressBar example CJuiProgressBar displays a progress bar. It encapsulates the JUI Progressbar plug-in. CJuiProgressBar displays a progress bar. It encapsulates the JUI Progressbar

PHP development framework YiiFramework tutorial (37) Zii component-Dialog example

PHP development framework YiiFramework tutorial (37) Zii component-Dialog example CJuiDialog is used to display a dialog box, a mode or a non-mode dialog box. It encapsulates the JUI Dialog plug-in. The basic usage is as follows: $ This->

PHP development framework YiiFramework tutorial (35) Zii component-Button example

PHP development framework YiiFramework tutorial (35) Zii component-Button example The CJuiButton display button. CJuiButton can be either a Submit button or a normal button. The basic usage of the button is as follows: Widget ('zii. widgets. jui.

PHP development framework YiiFramework tutorial (46) Zii component-Sortable example

PHP development framework YiiFramework tutorial (46) Zii component-Sortable example CJuiSortable displays a list. the list items in the list can be re-adjusted by dragging and dropping. it encapsulates the JUI Sortable plug-in. The basic usage is as

PHP development framework YiiFramework tutorial (45) Zii component-Selectable example

PHP development framework YiiFramework tutorial (45) Zii component-Selectable example CJuiSelectable can display a list. each item in the list supports Select events. it encapsulates the JUI Selectable plug-in. its basic usage is as follows: Yii:

PHP development framework YiiFramework tutorial (32) Zii component-GridView example

PHP development framework YiiFramework tutorial (32) Zii component-GridView example CGridView displays data in a table. CGridView also supports paging and sorting. the most basic usage and ListView type of CGridView are through data provider,

PHP development framework YiiFramework tutorial (22) UI component Zii component introduction

PHP development framework YiiFramework tutorial (22) UI component Zii component introduction Some UI components supported by the Yii Framework are introduced earlier. in addition to the UI components described earlier, the Yii Framework also

PHP development framework YiiFramework tutorial (29) Zii component-Menu example

PHP development framework YiiFramework tutorial (29) Zii component-Menu example In addition to the Yii database interface, this article introduces Zii components, including list view ListView and table view GridView. In addition, it includes some

PHP development framework YiiFramework tutorial (15) UI component MultiFileUpload example

PHP development framework YiiFramework tutorial (15) UI component MultiFileUpload example CMultiFileUpload is used to upload files. multiple files can be uploaded at a time. This UI component is based on the jQuery Multi File Upload plug-in. Many

PHP development framework YiiFramework tutorial (25) database-QueryBuilder example

PHP development framework YiiFramework tutorial (25) database-QueryBuilder example The previous article introduced how to access the database using DAO (database access object interface) in PHP. to use DAO, programmers need to write SQL statements.

CodeIgniter framework Session usage

CodeIgniter framework Session usage To use Session in the CodeIgniter framework, First, open the config. php file in the application/config folder and find:? 1 $ Config ['encryption _ key'] = ''; Set encryption_key, for example,:?

Yii specified controller to process all requests

When upgrading a website, you must specify a controller to process all requests. When upgrading a website, you must specify a controller to process all requests. the Yii settings are as follows: Open the configuration file main. php and add it to

Yii user logon

Yii user logon Protected \ components \ UserIdentity. php file:? 12345678910111213141516171819202122232425262728 ClassUserIdentityextendsCUserIdentity {private $ _ id; publicfunctionauthenticate () {$ record = User: model ()->

Yii uses CGridView

Yii uses CGridView Add the following to the Controller:? 1234567891011 PublicfunctionactionIndex () {$ model = newUser ('search'); $ model-> unsetAttributes (); // clear any default values if (isset ($ _ GET ['user']) $ model->

Yii set Cache

Yii set Cache Add the following in the components array:? 1 'Cache' => array ('class' => 'cfilecache '), Set Cache:? 12 Yii: app ()-> cache-> set ('testcache', array (,); // The default validity period is one year. Yii:

ThinkPHP Statistics Query

We often use statistical data in applications, such as the number of current users (or the number of users meeting certain conditions), the maximum points of all users, and the average score of students, thinkPHP provides a series of built-in

ThinkPHP implements automatic verification and filling when using the M method (without creating model classes)

ThinkPHP automatically verifies and fills ThinkPHP M methods when using the M method (without creating model classes ). In general, we will write the automatic verification and automatic filling rules into the model class, and then use D The method

Total Pages: 12780 1 .... 9236 9237 9238 9239 9240 .... 12780 Go to: GO

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.