public static model ( $className = __CLASS__ ) : |
||
Résultat | the static model class |
public static function model($className = __CLASS__)
{
return parent::model($className);
}
public function actionGetScaleForInstrument() { if ($instrument = models\OphCiExamination_Instrument::model()->findByPk(@$_GET['instrument_id'])) { if ($scale = $instrument->scale) { $value = new models\OphCiExamination_IntraocularPressure_Value(); $this->renderPartial('_qualitative_scale', array('value' => $value, 'scale' => $scale, 'side' => @$_GET['side'], 'index' => @$_GET['index'])); } } }