Blog Archives

Points to Remember in Yii


1)Yii application is build using Model-View-Controller(MVC) architecture. 2) Yii implements two kinds of model form model (CFormModel class) and active records(CActiveRecord class),which are extended by same base class cmodel. 3)form model represent the logic for form fields validation and bussiness logic.

Tagged with: , , , , , ,
Posted in php, yii framework

yii onchange ajax validation issue(cleared)


I was working the yii project in which i have update form ,where the data are  populated from controller to view allow model data to controller render function in yii.I had reset button in which default worked ,but as i

Tagged with: , , , , , , , , , , , ,
Posted in yii framwork

Using Yii2 RBAC PHP Auth Manager without having to use assign()


Originally posted on Sammaye's Blog:
I had a problem recently where, after upgrading Yii2 to latest, I had to give auth assignments where previous I did not. I found this cumbersome, mainly since it would mean adding 100,000 entries…

Tagged with: ,
Posted in yii framwork

Integration of CKEditor in Yii Framework


Originally posted on Rakesh Kumar:
1. Download CKEditor extension here 2. Put it in your app/protected/extensions/ 3. In your form, write this code <?php   $this->widget(‘application.extensions.ckeditor.CKEditor’, array(                          ‘model’=>$model,   …

Tagged with: , , ,
Posted in php

create mvc structure with existing database in yii using gii tool


Originally posted on php tutorial:
I am totally beginners to yii framework and sharing my yii code and methods that worked for me.So yii is very easy and flexible to learn and write web application. To start gii tool set…

Tagged with: , , , , , , , ,
Posted in php
Follow php tutorial on WordPress.com
categories
Calendar
March 2017
M T W T F S S
« Sep    
 12345
6789101112
13141516171819
20212223242526
2728293031  
Follow me on Twitter
Blog Stats
  • 72,827 hits