Exemplo n.º 1
0
 public function nextPath()
 {
     if ($this->getRequest()->hasParameter('skip') || $this->getRequest()->isMutation()) {
         $successor = $this->getParent()->getSuccessor($this);
         return $successor ? $successor->getIdentifier() : 'Review';
     }
     return parent::nextPath();
 }
Exemplo n.º 2
0
 public function nextPath()
 {
     if ($this->isAuthNeeded) {
         return 'Authenticate';
     } elseif ($this->reloadPage) {
         return FALSE;
     }
     return parent::nextPath();
 }
Exemplo n.º 3
0
 public function nextPath()
 {
     if ($this->getRequest()->hasParameter('redirect')) {
         return '/' . $this->redirectModule;
     }
     return parent::nextPath();
 }
Exemplo n.º 4
0
 public function nextPath()
 {
     if ($this->getRequest()->isMutation()) {
         return './Modules';
     }
     return parent::nextPath();
 }
 public function nextPath()
 {
     return $this->getRequest()->isMutation() ? 'Backup' : parent::nextPath();
 }
Exemplo n.º 6
0
 public function nextPath()
 {
     if ($this->isAuthNeeded) {
         return 'Authenticate';
     }
     return parent::nextPath();
 }