model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
리턴 the static model class
예제 #1
0
 /**
  * Simple abstraction wrapper to get the patient factors that should be rendered in the event form.
  *
  * @return mixed
  */
 public function getPatientFactors()
 {
     return models\OphCoCvi_ClericalInfo_PatientFactor::model()->active()->findAll();
 }