frontend/controllers/UserController.php
/**
    * Renders User Dashboard Supported payment methods page
    *
    * @return mixed
    */
Renders User Dashboard Supported payment methods page
@return mixed
Renders User Dashboard Supported payment methods page @return mixed
public function actionSupportedPaymentMethods ()
    {
        $this->layout = 'main';
        $title = $this->pages->getPageTitle($this->param);
        $meta = $this->pages->getPageMetaData($this->param);
        $url_lang = explode('-', Yii::$app->language);
        $lang_path = $url_lang[0];
        $hosts = $this->hosts->getAllHosts();
        return $this->render('supported-payment',['hosts'=>$hosts,'lang'=>$lang_path,'title'=>$title,'meta'=>$meta]);
    }
public function actionSupportedPaymentMethods ( ) { $ this -> layout = 'main' ; $ title = $ this -> pages -> getPageTitle ( $ this -> param ) ; $ meta = $ this -> pages -> getPageMetaData ( $ this -> param ) ; $ url_lang = explode ( '-' , Yii :: $ app -> language ) ; $ lang_path = $ url_lang [ 0 ] ; $ hosts = $ this -> hosts -> getAllHosts ( ) ; return $ this -> render ( 'supported-payment' , [ 'hosts' => $ hosts , 'lang' => $ lang_path , 'title' => $ title , 'meta' => $ meta ] ) ; }
Renders User Dashboard Supported payment methods page
 @return mixed
Renders User Dashboard Supported payment methods page @return mixed