Commit ccf80faa authored by waltermazza's avatar waltermazza
Browse files

Arter namespace

parent dc13e863
......@@ -6,14 +6,14 @@
"yii2",
"slideshow"
],
"homepage": "http://git.elitedivision.it/elitedivision/amos-slideshow",
"homepage": "http://git.arter.it/arter/amos-slideshow",
"type": "component",
"license": "BSD-3-Clause",
"support": {
"issues": "http://git.elitedivision.it/elitedivision/amos-slideshow/issues",
"issues": "http://git.arter.it/arter/amos-slideshow/issues",
"forum": "http://www.example.com/forum/",
"wiki": "http://git.elitedivision.it/elitedivision/amos-slideshow/wikis/home",
"source": "http://git.elitedivision.it/elitedivision/amos-slideshow/tree/master"
"wiki": "http://git.arter.it/arter/amos-slideshow/wikis/home",
"source": "http://git.arter.it/arter/amos-slideshow/tree/master"
},
"require": {
"php": ">=5.4.0",
......@@ -24,7 +24,7 @@
},
"autoload": {
"psr-4": {
"elitedivision\\amos\\slideshow\\": "src"
"arter\\amos\\slideshow\\": "src"
}
}
}
\ No newline at end of file
......@@ -5,22 +5,22 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow;
namespace arter\amos\slideshow;
use elitedivision\amos\core\module\AmosModule;
use elitedivision\amos\core\module\ModuleInterface;
use elitedivision\amos\slideshow\widgets\icons\WidgetIconSlideshow;
use elitedivision\amos\slideshow\widgets\icons\WidgetIconSlideshowConf;
use arter\amos\core\module\AmosModule;
use arter\amos\core\module\ModuleInterface;
use arter\amos\slideshow\widgets\icons\WidgetIconSlideshow;
use arter\amos\slideshow\widgets\icons\WidgetIconSlideshowConf;
use Yii;
/**
* Class AmosSlideshow
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
*/
class AmosSlideshow extends AmosModule implements ModuleInterface
{
......@@ -43,7 +43,7 @@ class AmosSlideshow extends AmosModule implements ModuleInterface
{
parent::init();
\Yii::setAlias('@elitedivision/amos/' . static::getModuleName() . '/controllers/', __DIR__ . '/controllers/');
\Yii::setAlias('@arter/amos/' . static::getModuleName() . '/controllers/', __DIR__ . '/controllers/');
// initialize the module with the configuration loaded from config.php
Yii::configure($this, require(__DIR__ . DIRECTORY_SEPARATOR . self::$CONFIG_FOLDER . DIRECTORY_SEPARATOR . 'config.php'));
}
......
......@@ -5,22 +5,22 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\assets;
namespace arter\amos\slideshow\assets;
use yii\web\AssetBundle;
/**
* Class ModuleSlideshowAsset
* @package elitedivision\amos\slideshow\assets
* @package arter\amos\slideshow\assets
*/
class ModuleSlideshowAsset extends AssetBundle
{
public $sourcePath = '@vendor/elitedivision/amos-slideshow/src/assets/web';
public $sourcePath = '@vendor/arter/amos-slideshow/src/assets/web';
public $css = [
'less/slideshow.less'
......@@ -34,9 +34,9 @@ class ModuleSlideshowAsset extends AssetBundle
{
$moduleL = \Yii::$app->getModule('layout');
if(!empty($moduleL))
{ $this->depends [] = 'elitedivision\amos\layout\assets\BaseAsset'; }
{ $this->depends [] = 'arter\amos\layout\assets\BaseAsset'; }
else
{ $this->depends [] = 'elitedivision\amos\core\views\assets\AmosCoreAsset'; }
{ $this->depends [] = 'arter\amos\core\views\assets\AmosCoreAsset'; }
parent::init(); // TODO: Change the autogenerated stub
}
}
/**
IMPORT AMOS-LAYOUT VARIABLES
*/
@import (optional) "../../vendor/elitedivision/amos-layout/src/assets/resources/base/less/variables.less";
@import (optional) "../../vendor/elitedivision/amos-layout/src/assets/resources/base/less/utility.less";
@import (optional) "../../vendor/arter/amos-layout/src/assets/resources/base/less/variables.less";
@import (optional) "../../vendor/arter/amos-layout/src/assets/resources/base/less/utility.less";
/**
IMPORT STYLE-CUSTOM
*/
......
......@@ -5,7 +5,7 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -5,7 +5,7 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -5,19 +5,19 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers;
namespace arter\amos\slideshow\controllers;
use elitedivision\amos\dashboard\controllers\base\DashboardController;
use arter\amos\dashboard\controllers\base\DashboardController;
use yii\helpers\Url;
/**
* Class DefaultController
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
*/
class DefaultController extends DashboardController
{
......
......@@ -5,15 +5,15 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers;
namespace arter\amos\slideshow\controllers;
use elitedivision\amos\slideshow\models\SlideshowRoute;
use elitedivision\amos\slideshow\models\SlideshowUserflag;
use arter\amos\slideshow\models\SlideshowRoute;
use arter\amos\slideshow\models\SlideshowUserflag;
use yii\filters\AccessControl;
use yii\filters\VerbFilter;
use yii\helpers\ArrayHelper;
......@@ -21,11 +21,11 @@ use yii\helpers\Json;
/**
* Class SlideshowController
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
*
* This is the class for controller "SlideshowController".
*/
class SlideshowController extends \elitedivision\amos\slideshow\controllers\base\SlideshowController
class SlideshowController extends \arter\amos\slideshow\controllers\base\SlideshowController
{
/**
* @inheritdoc
......
......@@ -4,17 +4,17 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers;
namespace arter\amos\slideshow\controllers;
use elitedivision\amos\slideshow\AmosSlideshow;
use elitedivision\amos\slideshow\controllers\base\SlideshowPageController as BaseSlideshowPageController;
use elitedivision\amos\slideshow\models\Slideshow;
use elitedivision\amos\slideshow\models\SlideshowPage;
use arter\amos\slideshow\AmosSlideshow;
use arter\amos\slideshow\controllers\base\SlideshowPageController as BaseSlideshowPageController;
use arter\amos\slideshow\models\Slideshow;
use arter\amos\slideshow\models\SlideshowPage;
use Yii;
use yii\filters\AccessControl;
use yii\filters\AccessRule;
......@@ -28,7 +28,7 @@ use yii\helpers\Url;
*
* This is the class for controller "SlideshowPageController".
*
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
*/
class SlideshowPageController extends BaseSlideshowPageController
{
......
......@@ -5,19 +5,19 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers;
namespace arter\amos\slideshow\controllers;
/**
* Class SlideshowRouteController
* This is the class for controller "SlideshowRouteController".
* @package elitedivision\amos\slideshow\controllers
* @package arter\amos\slideshow\controllers
*/
class SlideshowRouteController extends \elitedivision\amos\slideshow\controllers\base\SlideshowRouteController
class SlideshowRouteController extends \arter\amos\slideshow\controllers\base\SlideshowRouteController
{
}
......@@ -5,20 +5,20 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers\api;
namespace arter\amos\slideshow\controllers\api;
/**
* Class SlideshowController
* @package elitedivision\amos\slideshow\controllers\api
* @package arter\amos\slideshow\controllers\api
*
* This is the class for REST controller "SlideshowController".
*/
class SlideshowController extends \yii\rest\ActiveController
{
public $modelClass = 'elitedivision\amos\slideshow\models\Slideshow';
public $modelClass = 'arter\amos\slideshow\models\Slideshow';
}
......@@ -5,21 +5,21 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers\api;
namespace arter\amos\slideshow\controllers\api;
/**
* Class SlideshowPageController
*
* This is the class for REST controller "SlideshowPageController".
*
* @package elitedivision\amos\slideshow\controllers\api
* @package arter\amos\slideshow\controllers\api
*/
class SlideshowPageController extends \yii\rest\ActiveController
{
public $modelClass = 'elitedivision\amos\slideshow\models\SlideshowPage';
public $modelClass = 'arter\amos\slideshow\models\SlideshowPage';
}
......@@ -5,20 +5,20 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers\api;
namespace arter\amos\slideshow\controllers\api;
/**
* Class SlideshowRouteController
* @package elitedivision\amos\slideshow\controllers\api
* @package arter\amos\slideshow\controllers\api
*
* This is the class for REST controller "SlideshowRouteController".
*/
class SlideshowRouteController extends \yii\rest\ActiveController
{
public $modelClass = 'elitedivision\amos\slideshow\models\SlideshowRoute';
public $modelClass = 'arter\amos\slideshow\models\SlideshowRoute';
}
......@@ -5,21 +5,21 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers\base
* @package arter\amos\slideshow\controllers\base
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers\base;
namespace arter\amos\slideshow\controllers\base;
use elitedivision\amos\core\controllers\CrudController;
use elitedivision\amos\core\helpers\Html;
use elitedivision\amos\core\icons\AmosIcons;
use elitedivision\amos\slideshow\AmosSlideshow;
use elitedivision\amos\slideshow\models\search\SlideshowSearch;
use elitedivision\amos\slideshow\models\Slideshow;
use elitedivision\amos\slideshow\models\SlideshowRoute;
use elitedivision\amos\slideshow\models\SlideshowUserflag;
use arter\amos\core\controllers\CrudController;
use arter\amos\core\helpers\Html;
use arter\amos\core\icons\AmosIcons;
use arter\amos\slideshow\AmosSlideshow;
use arter\amos\slideshow\models\search\SlideshowSearch;
use arter\amos\slideshow\models\Slideshow;
use arter\amos\slideshow\models\SlideshowRoute;
use arter\amos\slideshow\models\SlideshowUserflag;
use Yii;
use yii\helpers\Url;
use yii\web\NotFoundHttpException;
......@@ -29,9 +29,9 @@ use yii\web\NotFoundHttpException;
*
* SlideshowController implements the CRUD actions for Slideshow model.
*
* @property \elitedivision\amos\slideshow\models\Slideshow $model
* @property \arter\amos\slideshow\models\Slideshow $model
*
* @package elitedivision\amos\slideshow\controllers\base
* @package arter\amos\slideshow\controllers\base
*/
class SlideshowController extends CrudController
{
......
......@@ -5,19 +5,19 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers\base
* @package arter\amos\slideshow\controllers\base
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers\base;
namespace arter\amos\slideshow\controllers\base;
use elitedivision\amos\core\controllers\CrudController;
use elitedivision\amos\core\helpers\Html;
use elitedivision\amos\core\icons\AmosIcons;
use elitedivision\amos\slideshow\AmosSlideshow;
use elitedivision\amos\slideshow\models\search\SlideshowPageSearch;
use elitedivision\amos\slideshow\models\SlideshowPage;
use arter\amos\core\controllers\CrudController;
use arter\amos\core\helpers\Html;
use arter\amos\core\icons\AmosIcons;
use arter\amos\slideshow\AmosSlideshow;
use arter\amos\slideshow\models\search\SlideshowPageSearch;
use arter\amos\slideshow\models\SlideshowPage;
use Yii;
use yii\helpers\Url;
use yii\web\NotFoundHttpException;
......@@ -27,9 +27,9 @@ use yii\web\NotFoundHttpException;
*
* SlideshowPageController implements the CRUD actions for SlideshowPage model.
*
* @property \elitedivision\amos\slideshow\models\SlideshowPage $model
* @property \arter\amos\slideshow\models\SlideshowPage $model
*
* @package elitedivision\amos\slideshow\controllers\base
* @package arter\amos\slideshow\controllers\base
*/
class SlideshowPageController extends CrudController
{
......
......@@ -5,19 +5,19 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\controllers\base
* @package arter\amos\slideshow\controllers\base
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\slideshow\controllers\base;
namespace arter\amos\slideshow\controllers\base;
use elitedivision\amos\core\controllers\CrudController;
use elitedivision\amos\core\helpers\Html;
use elitedivision\amos\core\icons\AmosIcons;
use elitedivision\amos\slideshow\AmosSlideshow;
use elitedivision\amos\slideshow\models\search\SlideshowRouteSearch;
use elitedivision\amos\slideshow\models\SlideshowRoute;
use arter\amos\core\controllers\CrudController;
use arter\amos\core\helpers\Html;
use arter\amos\core\icons\AmosIcons;
use arter\amos\slideshow\AmosSlideshow;
use arter\amos\slideshow\models\search\SlideshowRouteSearch;
use arter\amos\slideshow\models\SlideshowRoute;
use Yii;
use yii\helpers\Url;
use yii\web\NotFoundHttpException;
......@@ -27,9 +27,9 @@ use yii\web\NotFoundHttpException;
*
* SlideshowRouteController implements the CRUD actions for SlideshowRoute model.
*
* @property \elitedivision\amos\slideshow\models\SlideshowRoute $model
* @property \arter\amos\slideshow\models\SlideshowRoute $model
*
* @package elitedivision\amos\slideshow\controllers\base
* @package arter\amos\slideshow\controllers\base
*/
class SlideshowRouteController extends CrudController
{
......
......@@ -5,7 +5,7 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\i18n\en-GB
* @package arter\amos\slideshow\i18n\en-GB
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -5,7 +5,7 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\i18n\en-US
* @package arter\amos\slideshow\i18n\en-US
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -5,7 +5,7 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow\i18n\it-IT
* @package arter\amos\slideshow\i18n\it-IT
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -5,7 +5,7 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\slideshow
* @package arter\amos\slideshow
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment