Allows to fetch the variable value requested from the
appropiate input method.
public static GetVar ( string $p_varName, mixed $p_defaultValue = null, string $p_reqMethod = 'default', string $p_dataType = null ) : mixed | ||
$p_varName | string | The name of the variable to be fetched. |
$p_defaultValue | mixed | The default value to be fetched for the given variable |
$p_reqMethod | string | The requested input method, default is REQUEST |
$p_dataType | string | TODO to be implemented |
리턴 | mixed | $var The value of the requested variable |