Tag Archive
The following is a list of all entries tagged with AR:
Using Our Models To Do Basic Queries On The DB
Filed in tutorials, 23/06/2011, 22:37The application has an auto-generated model, Gii kindly provides the model once the database is created. 01<?php02class Product extends CActiveRecord03{04 /**05 * The followings are the available columns in table ‘Product’:06 * @var integer $id07 * @var integer $brandId08 * @var string $name09 * @var string $price10 */11 12 /**13 * Returns the static model of [...]
YiiFramework adding functions to your models
Filed in tutorials, , 22:16MVC has some principals to it, like the fat model principal that I’ll show in this tutorial and which is used in a lot of frameworks. I’m going to show how to add and use functions that can be added to a model. There are a few ways to add to a models that increase [...]
Register & Yii projects
Filed in myself and me,Projects,Technology, 24/09/2009, 23:09So, I think ti’s time for some updates on the website. I has been a bit wild the last 3 weeks. School has started yet again and I had a project to finish not to mention that i’m starting to see through the Yii framework structure. I’ve been writing diagrams for different project that I [...]