SimonLove Posted February 17, 2013 Share Posted February 17, 2013 Hi I've been following along with the introductory tutorial for yii written by Larry. I've got to step 6—Basic model edits in yii. I'm not sure which file I'm meant to add the suggested code to? The tutorial so far has been very explicit but now I'm confused. Any help much appreciated. Simon Link to comment Share on other sites More sharing options...
Jonathon Posted February 17, 2013 Share Posted February 17, 2013 From the tutorial series? As in http://www.larryullman.com/2009/11/10/basic-model-edits-in-yii/ ? Which part of code? The rules() method is inside your model. If this is the right article then it's your Employee Model. 1 Link to comment Share on other sites More sharing options...
Recommended Posts