add collections to backend
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
<?php
|
||||
namespace frontend\components;
|
||||
|
||||
use yii\base\Widget;
|
||||
|
||||
class AccountStatisticWidget extends Widget{
|
||||
|
||||
public $totals;
|
||||
|
||||
|
||||
public $viewFile = '//common/_account_statistic';
|
||||
|
||||
public function init(){
|
||||
parent::init();
|
||||
|
||||
|
||||
}
|
||||
|
||||
public function run(){
|
||||
echo $this->render($this->viewFile,[ 'model' => $this ]);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user