$getCurrent

Returns the value of the named current variable.
Syntax
    $getCurrent{var_name}
DocumentationReturns the value of the named current variable:

    Parameters:
      var_name, the name of the current variable whos value is requested.
    Returns:
      the value of the named current variable.
    Throws:
      java.lang.IllegalArgumentException if the named current variable does not exist.
    Note:
      current variables are local variables. They are in scope only within the current template page.
      Their values differ within different template pages. Their values are entries of the URL that
      called the current page. Predefined current variable names (see also $getCurrents) are:
        - 'b', the id of the current branch
        - 'c', the name of the current category
        - 'i', the id of the current account
        - 'l', the id of the language currently in use
        - 'p', the password of the current user
        - 's', the id of the current client-server session
        - 't', the template page currently in use
        - 'u', the name of the current user
Examples
    $setCurrent{e-mail}{info@SITEFORUM.com}
    <A HREF="mailto:$getCurrent{e-mail}">$getCurrent{e-mail}
    $// Result 1: sets current variable with the name "e-mail" to the value "info@SITEFORUM.com", returns current variable "e-mail".
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 2