public function updateCurrNode($nID = -3)       
    {
        if ($nID > 0) {
            if (!isset($GLOBALS["SL"]->formTree->TreeID)) {
                if (!$this->sessInfo) {
                    $this->createNewSess();
                }
                $this->sessInfo->SessCurrNode = $nID;
                $this->sessInfo->save();
                if ($GLOBALS["SL"]->coreTblAbbr() != '' && isset($this->sessData->dataSets[$GLOBALS["SL"]->coreTbl])) {
                    $this->sessData->currSessData($nID, $GLOBALS["SL"]->coreTbl, 
                        $GLOBALS["SL"]->coreTblAbbr() . 'SubmissionProgress', 'update', $nID);
                }
            }
            $this->currNodeSubTier = $this->loadNodeSubTier($nID);
            $this->loadNodeDataBranch($nID);
        }
        return true;
    }
public function updateCurrNode($nID = -3)       
    {
        if ($nID > 0) {
            if (!isset($GLOBALS["SL"]->formTree->TreeID)) {
                if (!$this->sessInfo) {
                    $this->createNewSess();
                }
                $this->sessInfo->SessCurrNode = $nID;
                $this->sessInfo->save();
                if ($GLOBALS["SL"]->coreTblAbbr() != '' && isset($this->sessData->dataSets[$GLOBALS["SL"]->coreTbl])) {
                    $this->sessData->currSessData($nID, $GLOBALS["SL"]->coreTbl, 
                        $GLOBALS["SL"]->coreTblAbbr() . 'SubmissionProgress', 'update', $nID);
                }
            }
            $this->currNodeSubTier = $this->loadNodeSubTier($nID);
            $this->loadNodeDataBranch($nID);
        }
        return true;
    }
public function updateCurrNode ( $ nID = - 3 ) { if ( $ nID > 0 ) { if ( ! isset ( $ GLOBALS [ "SL" ] -> formTree -> TreeID ) ) { if ( ! $ this -> sessInfo ) { $ this -> createNewSess ( ) ; } $ this -> sessInfo -> SessCurrNode = $ nID ; $ this -> sessInfo -> save ( ) ; if ( $ GLOBALS [ "SL" ] -> coreTblAbbr ( ) != '' && isset ( $ this -> sessData -> dataSets [ $ GLOBALS [ "SL" ] -> coreTbl ] ) ) { $ this -> sessData -> currSessData ( $ nID , $ GLOBALS [ "SL" ] -> coreTbl , $ GLOBALS [ "SL" ] -> coreTblAbbr ( ) . 'SubmissionProgress' , 'update' , $ nID ) ; } } $ this -> currNodeSubTier = $ this -> loadNodeSubTier ( $ nID ) ; $ this -> loadNodeDataBranch ( $ nID ) ; } return true ; }
Updates currNode without checking if this is a branch node
Updates currNode without checking if this is a branch node