6.X/traits/routing.php
/**
     * Import URL variables from $GET/$POST
     *
     * Checks if any of the variables whose names are defined in EMPS_VARS exist in $GET or $POST arrays and loads them
     * to the appropriate global variables, if found. Effecively this is a filtered track-vars.
     */
Import URL variables from $GET/$POST
Checks if any of the variables whose names are defined in EMPS_VARS exist in $GET or $POST arrays and loads them
to the appropriate global variables, if found. Effecively this is a filtered track-vars.
Import URL variables from $GET / $POST Checks if any of the variables whose names are defined in EMPS_VARS exist in $GET or $POST arrays and loads them to the appropriate global variables if found . Effecively this is a filtered track - vars .
private function import_vars()
    {
        foreach ($this->emps_vars as $v) {
            if (!isset($GLOBALS[$v])) {
                $GLOBALS[$v] = '';
            }
            if (isset($_GET[$v])) {
                $GLOBALS[$v] = $_GET[$v];
            }
            if (isset($_POST[$v])) {
                $GLOBALS[$v] = $_POST[$v];
            }
        }
    }
private function import_vars ( ) { foreach ( $ this -> emps_vars as $ v ) { if ( ! isset ( $ GLOBALS [ $ v ] ) ) { $ GLOBALS [ $ v ] = '' ; } if ( isset ( $ _GET [ $ v ] ) ) { $ GLOBALS [ $ v ] = $ _GET [ $ v ] ; } if ( isset ( $ _POST [ $ v ] ) ) { $ GLOBALS [ $ v ] = $ _POST [ $ v ] ; } } }
Import URL variables from $GET/$POST
 Checks if any of the variables whose names are defined in EMPS_VARS exist in $GET or $POST arrays and loads them
 to the appropriate global variables, if found.
Import URL variables from $GET / $POST Checks if any of the variables whose names are defined in EMPS_VARS exist in $GET or $POST arrays and loads them to the appropriate global variables if found .