CGridView is one of Zii Components There is other than CGridView, CDetailView, CListView. Look here. CGridView use DataProvider which define in controller CGridView display data in tables. Supports paginating, sorting, searching. Also support view, update, delete method Define our data provider in controller like this [php] /** * Lists all models. */ public function actionIndex()…
Technology
-
Basicly, Yii basic skeleton already come with aunthentication system which is very simple by checking username and password both admin or demo. The default authentication files is UserIdentity.php LoginForm.php SiteController.php Login.php
-
In this tutorial we discuss about the basic principal of MVC using Yii Framework. How to create Model extends from CFormModel which we collect data from it, to create related Controller and finishing at View. 1. Generate webapp from Command Prompt yiic webapp myapps 2. Uncomment gii on myapps/protected/config/main.php. Set your prefered password. This allow us…
-
Im internet addict. I spent lot of time online. Usually on business purpose, programming, teaching, social networks etc. But sometimes, accidently i land on a place not suppose to be. You should see this to know how strong they are. Their strategy on cyberworld. Take care of your close family and friends. I hope one…
-