diff --git a/ActiveDataProvider.php b/ActiveDataProvider.php index bee1d0d..5883d4c 100644 --- a/ActiveDataProvider.php +++ b/ActiveDataProvider.php @@ -5,10 +5,10 @@ * @license http://hiqdev.com/yii2-hiar/license */ -namespace frontend\components\hiresource; +namespace hiqdev\hiar; class ActiveDataProvider extends \yii\data\ActiveDataProvider { -} \ No newline at end of file +} diff --git a/ActiveQuery.php b/ActiveQuery.php index 4ab280e..c672b05 100644 --- a/ActiveQuery.php +++ b/ActiveQuery.php @@ -5,7 +5,7 @@ * @license http://hiqdev.com/yii2-hiar/license */ -namespace frontend\components\hiresource; +namespace hiqdev\hiar; use frontend\components\Re; use yii\db\ActiveQueryInterface; @@ -231,4 +231,4 @@ public function getList ($as_array = true, $db = null, $options = []) { // return $this->createCommand($db)->getList($options); return $as_array ? ArrayHelper::map($result, 'gl_key', function ($o) { return Re::l($o->gl_value); }) : $result; } -} \ No newline at end of file +}