model() публичный статический метод

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : CommonSystemicDisorder
Результат CommonSystemicDisorder the static model class
 public function actionDelete($itemId)
 {
     /*
      * We make sure to not allow deleting directly with the URL, user must come from the commondrugs list page
      */
     if (!Yii::app()->request->isAjaxRequest) {
         $this->render("errorpage", array("errorMessage" => "notajaxcall"));
     } else {
         if ($commonSystemicDisorder = CommonSystemicDisorder::model()->findByPk($itemId)) {
             $commonSystemicDisorder->delete();
             echo "success";
         } else {
             $this->render("errorpage", array("errormessage" => "recordmissing"));
         }
     }
 }
 /**
  * @covers CommonSystemicDisorder::model
  */
 public function testModel()
 {
     $this->assertEquals('CommonSystemicDisorder', get_class(CommonSystemicDisorder::model()), 'Class name should match model.');
 }