Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ?php $this->beginContent('@app/views/layouts/blocks/cart.php'); ?>
  2. <?php
  3. $form = \yii\bootstrap\ActiveForm::begin([
  4. 'id' => 'shop-stage',
  5. 'layout' => 'horizontal',
  6. ]);
  7.  
  8. $stageView = Yii::getAlias("@app/modules/shop/views/cart/stages/name.php");
  9. if (is_file($stageView)) {
  10. $eventData = empty($eventData) ? [] : $eventData;
  11. /*Подключение менюшки к админке layouts/admin/main.php*/
  12. echo $this->renderFile($stageView,
  13. array_merge($eventData, [
  14. 'form' => $form,
  15. ])
  16. );
  17. }
  18.  
  19. ?>
  20. SSSSSS
  21. <?php \yii\bootstrap\ActiveForm::end();?>
  22. <?php $this->endContent();?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement