コード例 #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();
 }
コード例 #2
0
ファイル: Index.php プロジェクト: NethServer/nethserver-sssd
 public function nextPath()
 {
     if ($this->isAuthNeeded) {
         return 'Authenticate';
     } elseif ($this->reloadPage) {
         return FALSE;
     }
     return parent::nextPath();
 }
コード例 #3
0
 public function nextPath()
 {
     if ($this->getRequest()->hasParameter('redirect')) {
         return '/' . $this->redirectModule;
     }
     return parent::nextPath();
 }
コード例 #4
0
 public function nextPath()
 {
     if ($this->getRequest()->isMutation()) {
         return './Modules';
     }
     return parent::nextPath();
 }
コード例 #5
0
 public function nextPath()
 {
     return $this->getRequest()->isMutation() ? 'Backup' : parent::nextPath();
 }
コード例 #6
0
 public function nextPath()
 {
     if ($this->isAuthNeeded) {
         return 'Authenticate';
     }
     return parent::nextPath();
 }