public static function model($className = __CLASS__) { return parent::model($className); }
public function actionIndex() { $groups = CustomerGroup::model()->findAll(); $this->render('index', array('groups' => $groups)); }