Commit 7e5d7d1b authored by waltermazza's avatar waltermazza
Browse files

Arter namespace

parent 77181785
......@@ -61,15 +61,15 @@ Here is a summary of commands to run to install the example Wizflow application.
composer global require "fxp/composer-asset-plugin:~1.2.2"
composer create-project yiisoft/yii2-app-basic wizflow 2.0.9
cd wizflow
composer require elitedivision/amos-wizflow:@dev
cp vendor/elitedivision/amos-wizflow/example/* .
composer require arter/amos-wizflow:@dev
cp vendor/arter/amos-wizflow/example/* .
```
To install this demo app you must :
- create a new yii2 application based on the **basic** template. To do so, follow [Yii2 installation guide](http://www.yiiframework.com/download/)
- install the *amos-wizflow* extension
- override all folders at the root of your yii2 app with the ones provided in `vendor/elitedivision/amos-wizflow/example`
- override all folders at the root of your yii2 app with the ones provided in `vendor/arter/amos-wizflow/example`
If you already have a running Yii2 application based on the *basic* template, here are the steps you can perform manually:
......@@ -78,7 +78,7 @@ If you already have a running Yii2 application based on the *basic* template, he
```php
'components' => [
'wizflowManager' => [
'class' => '\elitedivision\amos\wizflow\WizflowManager'
'class' => '\arter\amos\wizflow\WizflowManager'
],
// etc ...
```
......@@ -102,7 +102,7 @@ public function actions()
return [
// other actions ...
'wizflow' => [
'class' => '\elitedivision\amos\wizflow\WizardPlayAction'
'class' => '\arter\amos\wizflow\WizardPlayAction'
],
];
}
......
......@@ -21,7 +21,7 @@
},
"autoload": {
"psr-4": {
"elitedivision\\amos\\wizflow\\": "src"
"arter\\amos\\wizflow\\": "src"
}
},
"require-dev": {
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -20,7 +20,7 @@ $config = [
'class' => 'raoul2000\workflow\source\file\WorkflowFileSource'
],
'wizflowManager' => [
'class' => '\elitedivision\amos\wizflow\WizflowManager',
'class' => '\arter\amos\wizflow\WizflowManager',
'workflowSourceName' => 'workflowSource'
],
'request' => [
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -23,7 +23,7 @@ class SiteController extends Controller
'class' => 'yii\web\ErrorAction',
],
'wizflow' => [
'class' => '\elitedivision\amos\wizflow\WizardPlayAction'
'class' => '\arter\amos\wizflow\WizardPlayAction'
]
];
}
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -17,7 +17,7 @@ use yii\helpers\Html;
/**
* ContactForm is the model behind the contact form.
*/
class BlueForm extends Model implements \elitedivision\amos\wizflow\WizflowModelInterface
class BlueForm extends Model implements \arter\amos\wizflow\WizflowModelInterface
{
public $blueStuff;
public $status;
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -16,7 +16,7 @@ use yii\base\Model;
/**
* ContactForm is the model behind the contact form.
*/
class FinalForm extends Model implements \elitedivision\amos\wizflow\WizflowModelInterface
class FinalForm extends Model implements \arter\amos\wizflow\WizflowModelInterface
{
public $rate;
public $status;
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -17,7 +17,7 @@ use yii\helpers\Html;
/**
* ContactForm is the model behind the contact form.
*/
class GreenForm extends Model implements \elitedivision\amos\wizflow\WizflowModelInterface
class GreenForm extends Model implements \arter\amos\wizflow\WizflowModelInterface
{
public $greenStuff;
public $status;
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -17,7 +17,7 @@ use yii\base\Model;
/**
* ContactForm is the model behind the contact form.
*/
class Step1Form extends Model implements \elitedivision\amos\wizflow\WizflowModelInterface
class Step1Form extends Model implements \arter\amos\wizflow\WizflowModelInterface
{
public $favoriteColor;
public $status;
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......@@ -18,7 +18,7 @@ use yii\helpers\Html;
/**
* ContactForm is the model behind the contact form.
*/
class WelcomeForm extends Model implements \elitedivision\amos\wizflow\WizflowModelInterface
class WelcomeForm extends Model implements \arter\amos\wizflow\WizflowModelInterface
{
public $name;
public $email;
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -4,7 +4,7 @@
* Art-ER Attrattività, ricerca e territorio dell’Emilia-Romagna
* OPEN 2.0
*
* @package Open20Package
* @package arter
* @category CategoryName
* @author Elite Division S.r.l.
*/
......
......@@ -5,12 +5,12 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\wizflow
* @package arter\amos\wizflow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\wizflow;
namespace arter\amos\wizflow;
use Yii;
use yii\base\Model;
......@@ -20,7 +20,7 @@ use yii\web\UploadedFile;
/**
* Class WizardPlayAction
* @package elitedivision\amos\wizflow
* @package arter\amos\wizflow
*/
class WizardPlayAction extends \yii\base\Action
{
......
......@@ -5,12 +5,12 @@
* OPEN 2.0
*
*
* @package elitedivision\amos\wizflow
* @package arter\amos\wizflow
* @category CategoryName
* @author Elite Division S.r.l.
*/
namespace elitedivision\amos\wizflow;
namespace arter\amos\wizflow;
use raoul2000\workflow\base\Status;
use raoul2000\workflow\source\IWorkflowSource;
......@@ -22,7 +22,7 @@ use yii\base\Model;
/**
* Class WizflowManager
* Implement the Wizard UI design pattern using yii2-workflow.
* @package elitedivision\amos\wizflow
* @package arter\amos\wizflow
*/
class WizflowManager extends \yii\base\BaseObject
{
......
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