public function actionView($message_id, $language)
    {
        if(Yii::$app->request->isAjax)
            return $this->renderAjax('view', [
                'model' => $this->findModel($message_id, $language),
            ]);
        else
            return $this->render('view', [
                'model' => $this->findModel($message_id, $language),
            ]);
    }
public function actionView($message_id, $language)
    {
        if(Yii::$app->request->isAjax)
            return $this->renderAjax('view', [
                'model' => $this->findModel($message_id, $language),
            ]);
        else
            return $this->render('view', [
                'model' => $this->findModel($message_id, $language),
            ]);
    }
public function actionView ( $ message_id , $ language ) { if ( Yii :: $ app -> request -> isAjax ) return $ this -> renderAjax ( 'view' , [ 'model' => $ this -> findModel ( $ message_id , $ language ) , ] ) ; else return $ this -> render ( 'view' , [ 'model' => $ this -> findModel ( $ message_id , $ language ) , ] ) ; }
Displays a single I18nTranslation model.
@param integer $message_id
@param string $language
@return mixed
Displays a single I18nTranslation model .