model() public static méthode

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : TaxRate
$className string active record class name.
Résultat TaxRate the static model class
 public function actionIndex()
 {
     $taxRates = TaxRate::model()->findAll();
     $this->render('index', array('taxRates' => $taxRates));
 }