You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					24 lines
				
				329 B
			
		
		
			
		
	
	
					24 lines
				
				329 B
			| 
								 
											8 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								/**
							 | 
						||
| 
								 | 
							
								 * Created by Error202
							 | 
						||
| 
								 | 
							
								 * Date: 10.02.2018
							 | 
						||
| 
								 | 
							
								 */
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace frontend\widgets\general;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								use core\forms\SubscribeForm;
							 | 
						||
| 
								 | 
							
								use yii\base\Widget;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class SubscribeWidget extends Widget
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
									public $view;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
									public function run() {
							 | 
						||
| 
								 | 
							
										$form = new SubscribeForm();
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
										return $this->render($this->view, [
							 | 
						||
| 
								 | 
							
											'model' => $form,
							 | 
						||
| 
								 | 
							
										]);
							 | 
						||
| 
								 | 
							
									}
							 | 
						||
| 
								 | 
							
								}
							 |