How to use apidoc to generate technical documentation in yii2

How to use apidoc to generate technical documentation in yii2

Yii2 must first install the apidoc extension. If the extension is not installed, first install phpdocumentor/reflection-docblock, and then install the following extensions cebe/markdown and yiisoft/yii2-apidoc to generate technical documents.

Dec 30, 2019 am 10:53 AM
yii2
Where is yii2 strong?

Where is yii2 strong?

Yii2 is easy to install, uses modern technology, is highly scalable, encourages testing, simplifies security, shortens development time, and is easily tuned for optimal performance. Yii is a pure OOP framework that takes full advantage of some of PHP's more advanced features, including delayed static binding, SPL classes and interfaces, and anonymous functions.

Dec 30, 2019 am 10:34 AM
yii2
How to prevent repeated form submission in yii2

How to prevent repeated form submission in yii2

Yii2 uses csrf to prevent repeated submission of forms. By default, Yii2's csrf verification uses cookies to save token verification. To prevent repeated submission of forms, you must first change this method to session.

Dec 30, 2019 am 10:22 AM
yii2
How to configure yii2

How to configure yii2

Configuration is widely used to create new objects or initialize existing objects in Yii. The configuration usually contains the class name of the object to be created and a set of initial values ​​​​of the properties that will be assigned to the object. The properties here are Yii2 properties. You can also bind event handlers to events on an object, or attach behaviors to the object.

Dec 30, 2019 am 10:13 AM
yii2
How to use gii in yii framework

How to use gii in yii framework

First, add 'allowedIPs' => ['*'] to main-local.php in the config file of the Yii framework. Enter index.php?r=gii in the address bar. The gii login interface will open. Enter the password set in the previous step.

Dec 30, 2019 am 10:05 AM
yii
How to implement rbac in yii2

How to implement rbac in yii2

Yii2 implements a general hierarchical RBAC and follows the NIST RBAC model. Yii2's permission management implementation supports two carriers: file and db. The core of the db-based implementation is four tables: a table for storing roles or permissions, a table for upper and lower levels of permissions and roles, an allocation table for users and permissions (roles), Rule table

Dec 30, 2019 am 09:42 AM
yii2
How to create applications in yii framework

How to create applications in yii framework

The yii framework uses the powerful yiic tool to create applications. Run yiic on the command line, such as: % YiiRoot/framework/yiic webapp WebRoot/testdrive.

Dec 30, 2019 am 09:31 AM
yii
How to use module in yii2

How to use module in yii2

Modules are organized into a directory called base path. In this directory, there are subdirectories such as controllers, models, and views, which correspond to controllers, models, views, and other codes respectively, very similar to applications.

Dec 30, 2019 am 09:17 AM
yii2
What projects is the yii framework suitable for?

What projects is the yii framework suitable for?

Yii is a general web programming framework that can be used to develop various web applications built with PHP. Because of its component-based framework structure and well-designed caching support, it is particularly suitable for developing large-scale applications, such as portals, communities, content management systems (CMS), e-commerce projects, etc.

Dec 27, 2019 pm 04:25 PM
yii
What does yii2.0 framework mean?

What does yii2.0 framework mean?

Yii is a high-performance PHP5 web application development framework, and yii2.0 is the 2.0 version of the Yii framework. Because the Yii2.0 version framework is completely rewritten, there are quite a few differences between the 1.1 and 2.0 versions.

Dec 27, 2019 pm 04:16 PM
yii
what is yii filter

what is yii filter

A Yii filter is an object that is executed before or after a controller action is executed. Filters can contain pre-filtering (filtering logic before the action), post-filtering (filtering logic after the action), or both.

Dec 27, 2019 pm 02:49 PM
yii
The difference between yii2 basic version and advanced version

The difference between yii2 basic version and advanced version

The difference between the basic version and the advanced version of yii2: The basic version is suitable for those who are new to the Yii framework. It provides simple functions and a single application. However, this single application can also be turned into multiple applications. The advanced version is suitable for those who know the Yii framework. It has multiple applications and is divided into front and backends. It is similar to the basic version. However, it may be a little more complicated for children who have not come into contact with the Yii framework.

Dec 27, 2019 am 10:07 AM
yii2
Yii2.0 implements hiding the label label in the form

Yii2.0 implements hiding the label label in the form

The method to hide the label label in the form in yii2.0 is: [<?=$form->field($model, 'ee_type')->dropDownList(YiiLib::loadDDList())->label(false)?> 】.

Dec 24, 2019 pm 02:54 PM
yii2.0 实现 隐藏 form label 标签
How to customize public classes in yii2

How to customize public classes in yii2

The method to customize public classes in yii2 is: 1. First create a new folder in the YII root directory, such as [wechat]; 2. Then create a new file in the folder, such as [wechat.php]; 3. Finally Just introduce the [wechat.php] file to call the controller.

Dec 24, 2019 pm 02:37 PM
yii2 自定义 公共类

Hot tools Tags

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)

vc9-vc14 (32+64 bit) runtime library collection (link below)

Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit

VC9 32-bit

VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version

PHP programmer toolbox full version

Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit

VC11 32-bit

VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Hot Topics

Java Tutorial
1655
14
PHP Tutorial
1252
29
C# Tutorial
1226
24