yiisoft/yii2-app-basic API Documentation 2.0

This is the API Documentation for the yiisoft/yii2-app-basic extension. Here you will find detailed information about all classes provided by this extension. Below you find a list of the existing classes, interfaces, and traits, ordered by their fully qualified name (including the namespace). Each of them has a dedicated page which contains a description about the purpose of the class, a list of the available methods, properties and constants, and detailed description on how to use each of them.

On this page you find all the classes included in version 2.0 of the extension. You can use the dropdown menu on the top right to switch between versions.

Class Description
app\assets\AppAsset Main application asset bundle.
app\commands\HelloController This command echoes the first argument that you have entered.
app\models\ContactForm ContactForm is the model behind the contact form.
app\models\LoginForm LoginForm is the model behind the login form.
app\widgets\Alert Alert widget renders a message from session flash. All flash messages are displayed in the sequence they were assigned using setFlash. You can set message as following: