@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use nkostadinov\taxonomy\models\TaxonomyDefSearch; |
| 9 | 9 | use yii\base\InvalidConfigException; |
| 10 | 10 | use yii\data\ActiveDataProvider; |
| 11 | -use yii\helpers\Url; |
|
| 12 | 11 | use yii\web\Controller; |
| 13 | 12 | use yii\web\NotFoundHttpException; |
| 14 | 13 | use yii\filters\VerbFilter; |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace nkostadinov\taxonomy\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | 5 | use yii\base\Model; |
| 7 | 6 | use yii\data\ActiveDataProvider; |
| 8 | 7 | use nkostadinov\taxonomy\models\TaxonomyDef; |
@@ -2,11 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace nkostadinov\taxonomy\behaviors; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 5 | +use Yii; |
|
| 6 | 6 | use yii\base\Behavior; |
| 7 | -use yii\base\Event; |
|
| 8 | -use yii\db\ActiveRecord; |
|
| 9 | -use yii\db\AfterSaveEvent; |
|
| 10 | 7 | |
| 11 | 8 | /** |
| 12 | 9 | * @author Nikolay Traykov |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace nkostadinov\taxonomy\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | - |
|
| 7 | 5 | /** |
| 8 | 6 | * This is the model class for table "taxonomy". |
| 9 | 7 | * |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace nkostadinov\taxonomy\models; |
| 4 | 4 | |
| 5 | -use Yii; |
|
| 6 | - |
|
| 7 | 5 | /** |
| 8 | 6 | * This is the model class for table "taxonomy_terms". |
| 9 | 7 | * |
@@ -13,12 +13,9 @@ |
||
| 13 | 13 | use nkostadinov\taxonomy\components\terms\PropertyTerm; |
| 14 | 14 | use nkostadinov\taxonomy\components\terms\TagTerm; |
| 15 | 15 | use nkostadinov\taxonomy\models\TaxonomyDef; |
| 16 | -use nkostadinov\taxonomy\models\TaxonomyTerms; |
|
| 17 | 16 | use yii\base\Component; |
| 18 | 17 | use yii\base\InvalidConfigException; |
| 19 | 18 | use yii\db\Connection; |
| 20 | -use yii\db\Migration; |
|
| 21 | -use yii\db\Schema; |
|
| 22 | 19 | use yii\log\Logger; |
| 23 | 20 | |
| 24 | 21 | class Taxonomy extends Component |