1. Go to this page and download the library: Download open20/amos-wizflow library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
'components' => [
'workflowSource' => [
// use default settings : workflow definition is stored in an object and can be
// retrieved with the getDefinition() method
'class' => '\raoul2000\workflow\source\file\WorkflowFileSource'
],
// etc ...
public function actions()
{
return [
// other actions ...
'wizflow' => [
'class' => '\open20\amos\wizflow\WizardPlayAction'
],
];
}
public function actionFinish()
{
return $this->render('finish',[
'path' => Yii::$app->wizflowManager->getPath()
]);
}
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.