public function getSteps(\Nethgui\View\ViewInterface $view, $currentModuleIdentifier)
 {
     $steps = array();
     foreach ($this->getStepList() as $child) {
         $steps[] = array('target' => $view->getUniqueId($child->getIdentifier()), 'title' => $view->getTranslator()->translate($child, $child->getAttributesProvider()->getTitle()), 'description' => $view->getTranslator()->translate($child, $child->getAttributesProvider()->getDescription()), 'current?' => $child->getIdentifier() === $currentModuleIdentifier);
     }
     return $steps;
 }
Example #2
0
 public function getUniqueId($parts = '')
 {
     return $this->view->getUniqueId($parts);
 }