src/Core.php
/**
     * Sets a variable to the sepcified default if it is not set within the 
     * $_REQUEST superglobal. You can think of this as overriding the default 
     * if it is set in the $_REQUEST superglobal. 
     * 
     * @param string $varName - the name of the variable if it would appear 
     *                          within the $_REQUEST
     * @param mixed $defaultValue - the value to set if the var is not set 
     *                              within $_REQUEST
     * 
     * @return mixed - the resulting value. (default value if not set) 
     */
Sets a variable to the sepcified default if it is not set within the
$_REQUEST superglobal. You can think of this as overriding the default
if it is set in the $_REQUEST superglobal.

@param string $varName - the name of the variable if it would appear
within the $_REQUEST
@param mixed $defaultValue - the value to set if the var is not set
within $_REQUEST

@return mixed - the resulting value. (default value if not set)
Sets a variable to the sepcified default if it is not set within the $_REQUEST superglobal . You can think of this as overriding the default if it is set in the $_REQUEST superglobal . @param string $varName - the name of the variable if it would appear within the $_REQUEST @param mixed $defaultValue - the value to set if the var is not set within $_REQUEST @return mixed - the resulting value . ( default value if not set )
public static function overrideIfSet($varName, $defaultValue)
    {
        $returnVar = $defaultValue;
        if (isset($_REQUEST[$varName]))
        {
            $returnVar = $_REQUEST[$varName];
        }
        return $returnVar;
    }
public static function overrideIfSet ( $ varName , $ defaultValue ) { $ returnVar = $ defaultValue ; if ( isset ( $ _REQUEST [ $ varName ] ) ) { $ returnVar = $ _REQUEST [ $ varName ] ; } return $ returnVar ; }
Sets a variable to the sepcified default if it is not set within the
 $_REQUEST superglobal.
Sets a variable to the sepcified default if it is not set within the $_REQUEST superglobal .