Go to the source code of this file.
◆ base()
Definition at line 3 of file base.php.
References $DIC, Vendor\Package\$f, and $steps.
7 $f = $DIC->ui()->factory()->listing()->workflow();
8 $renderer = $DIC->ui()->renderer();
11 $step =
$f->step(
'',
'');
13 $f->step(
'step 1',
'available, successfully completed')
14 ->withAvailability($step::AVAILABLE)->withStatus($step::SUCCESSFULLY),
15 $f->step(
'step 2',
'available, successfully completed')
16 ->withAvailability($step::AVAILABLE)->withStatus($step::SUCCESSFULLY),
17 $f->step(
'step 3',
'available, in progress, active ')
18 ->withAvailability($step::AVAILABLE)->withStatus($step::IN_PROGRESS),
19 $f->step(
'step 4',
'not available, not started')
20 ->withAvailability($step::NOT_AVAILABLE)->withStatus($step::NOT_STARTED),
21 $f->step(
'step 5',
'not available, not started')
22 ->withAvailability($step::NOT_AVAILABLE)->withStatus($step::NOT_STARTED)
26 $wf =
$f->linear(
'Linear Workflow',
$steps)
30 return $renderer->render($wf);