Tag Archives: Yii Framework 2.0 Tutorial

Yii Framework 2 : Gridview

In yiiframework 2.0, The gridview widget is used to display the data like image, text, etc in a grid. It is having a lot features like sorting, pagination, filtering, styling etc. This widgets is mostly used by developers. I added some properties for this Sample Category GridView Gridview Options Table Options Table Row Options Gridview […]

Yii Framework 2 : Validation Rules for model attributes

After submitting the form data, We have to validate the input data information before we start to use. We can validate the inputs by calling the [[yii\base\Model::validate()]] method of yii2.0. Yii2.0 is giving the support for this data validation and also it is very easy way to test the input data. To check validate() of […]

Yii Framework 2 : URL Creation

Yii 2.0 having the url manager to handle and create urls in different way. The URL manager is a built-in application component named urlManager. We can access this component in web and console application via \Yii::$app->urlManager and it is available in framework by default. We can use use yii\helpers\Url; namespace. URL creation using Namespace Application urlManager And Request Redirect […]