data['template']; $actions = \json_decode(\file_get_contents(__DIR__ . '/../../Definitions/actions.json'), true); function renderWorkflow(array $leaf, array $actions) : void { foreach ($leaf as $e) { echo <<
{$actions[(int) $e['id']]['name']}
NEWDOC; foreach ($actions[(int) $e['id']]['settings'] ?? [] as $key => $setting) { echo '
' , '' , '' , '
'; } echo '
' , '' , '' , '
'; if (!empty($e['children'])) { echo ''; } echo ''; } } function renderElements(array $leaf, array $actions) : void { foreach ($leaf as $e) { $name = View::html($actions[(int) $e['id']]['name']); echo <<
{$name}
NEWDOC; \renderElements($e['children'], $actions); } } echo $this->data['nav']->render(); ?> schema)) : $level = $template->schema; ?>
getHtml('Workflow'); ?>
getHtml('Available'); ?>
printHtml($action['name']); ?>
printHtml($action['description'][$this->request->header->l11n->language]); ?>