This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\modules\admin\models; | |
use Yii; | |
use yii\base\Model; | |
/** | |
* LoginForm is the model behind the login form. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\modules\admin\models; | |
use Yii; | |
use \yii\db\ActiveRecord; | |
use \yii\web\IdentityInterface; | |
use \yii\base\NotSupportedException; | |
use \yii\behaviors\TimestampBehavior; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* @var $this \yii\web\View */ | |
/* @var $content string */ | |
use yii\helpers\Html; | |
use yii\bootstrap\Nav; | |
use yii\bootstrap\NavBar; | |
use yii\widgets\Breadcrumbs; | |
use app\assets\AdminAsset; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\modules\admin\models; | |
use Yii; | |
use \yii\db\ActiveRecord; | |
use \yii\web\IdentityInterface; | |
use \yii\base\NotSupportedException; | |
use \yii\behaviors\TimestampBehavior; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\helpers\Html; | |
use yii\widgets\ActiveForm; | |
/* @var $this yii\web\View */ | |
/* @var $model app\modules\admin\models\Category */ | |
/* @var $form yii\widgets\ActiveForm */ | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\modules\admin\models; | |
use Yii; | |
use yii\behaviors\TimestampBehavior; | |
/** | |
* This is the model class for table "categories". | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\modules\admin\models; | |
use Yii; | |
use yii\base\Model; | |
use yii\data\ActiveDataProvider; | |
use app\modules\admin\models\Category; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\helpers\Html; | |
use yii\grid\GridView; | |
use yii\widgets\Pjax; | |
use yii\jui\DatePicker; | |
/* @var $this yii\web\View */ | |
/* @var $searchModel app\modules\admin\models\CategorySearch */ | |
/* @var $dataProvider yii\data\ActiveDataProvider */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use yii\helpers\Html; | |
use yii\widgets\DetailView; | |
/* @var $this yii\web\View */ | |
/* @var $model app\modules\admin\models\Category */ | |
$this->title = $model->name; | |
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Categories'), 'url' => ['index']]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace app\modules\admin\models; | |
use Yii; | |
use yii\behaviors\TimestampBehavior; | |
use yii\helpers\ArrayHelper; | |
/** | |
* This is the model class for table "categories". |