OEModule\OphCoCvi\models\OphCoCvi_ClericalInfo_PatientFactor::model PHP 메소드

model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : the
리턴 the static model class
    public static function model($className = __CLASS__)
    {
        return parent::model($className);
    }

Usage Example

예제 #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();
 }