model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : FilterGroup
$className string active record class name.
리턴 FilterGroup the static model class
예제 #1
0
 public function actionIndex()
 {
     $filterGroups = FilterGroup::model()->findAll();
     $this->render('index', array('filterGroups' => $filterGroups));
 }