src/SmartFactory/MessageManager.php
public function getFocusElement()
    {
        if (empty(self::$session_vars["focus_element"])) {
            return "";
        }
        
        $felm = self::$session_vars["focus_element"];
        
        unset(self::$session_vars["focus_element"]);
        
        return $felm;
    }
public function getFocusElement()
    {
        if (empty(self::$session_vars["focus_element"])) {
            return "";
        }
        
        $felm = self::$session_vars["focus_element"];
        
        unset(self::$session_vars["focus_element"]);
        
        return $felm;
    }
public function getFocusElement ( ) { if ( empty ( self :: $ session_vars [ "focus_element" ] ) ) { return "" ; } $ felm = self :: $ session_vars [ "focus_element" ] ; unset ( self :: $ session_vars [ "focus_element" ] ) ; return $ felm ; }
Returns the element to be focused.

When this method is called, it is assumed that the element will be focused. Thus,
the stored element is cleared to avoid focusing of the same element twice.

@return string
Returns the ID of the element to be focused.

@see getFocusElement()

@author Oleg Schildt
Returns the element to be focused .