src/SmartFactory/MessageManager.php
public function getActiveTab()
    {
        if (empty(self::$session_vars["active_tab"])) {
            return "";
        }
        
        $atab = self::$session_vars["active_tab"];
        
        unset(self::$session_vars["active_tab"]);
        
        return $atab;
    }
public function getActiveTab()
    {
        if (empty(self::$session_vars["active_tab"])) {
            return "";
        }
        
        $atab = self::$session_vars["active_tab"];
        
        unset(self::$session_vars["active_tab"]);
        
        return $atab;
    }
public function getActiveTab ( ) { if ( empty ( self :: $ session_vars [ "active_tab" ] ) ) { return "" ; } $ atab = self :: $ session_vars [ "active_tab" ] ; unset ( self :: $ session_vars [ "active_tab" ] ) ; return $ atab ; }
Returns the tab to be activated.

When this method is called, it is assumed that the tab will be activated. Thus,
the stored active tab is cleared to avoid activating of the same tab twice.

@return string
Returns the ID of the tab to be activated.

@see setActiveTab()

@author Oleg Schildt
Returns the tab to be activated .