public function actionIndex()
 {
     $model = new ShopPaymentMethod('search');
     if (!empty($_GET['ShopDeliveryMethod'])) {
         $model->attributes = $_GET['ShopPaymentMethod'];
     }
     $dataProvider = $model->search();
     $this->pageName = Yii::t('CartModule.admin', 'PAYMENTS');
     $this->breadcrumbs = array(Yii::t('CartModule.default', 'MODULE_NAME') => array('/admin/shop'), $this->pageName);
     $this->topButtons = array(array('label' => Yii::t('CartModule.admin', 'CREATE_PAYMENT'), 'url' => $this->createUrl('create'), 'htmlOptions' => array('class' => 'btn btn-success')));
     $this->render('index', array('model' => $model, 'dataProvider' => $dataProvider));
 }