public function actionAdhtml($media_type = 0) { $model = new Ad(); echo $model->media_type_html($media_type); }