OEModule\OphCoCvi\models\OphCoCvi_ClinicalInfo_Disorder_Section::model PHP Method

model() public static method

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

Usage Example

Example #1
0
 /**
  * Simple wrapper to get the disorder sections that should be rendered in the event form.
  *
  * @return mixed
  */
 public function getDisorderSections()
 {
     return models\OphCoCvi_ClinicalInfo_Disorder_Section::model()->active()->findAll();
 }