public get ([mixed $name], [mixed $filters], [mixed $defaultValue], [mixed $notAllowEmpty], [mixed $noRecursive])
Gets a variable from the $_REQUEST superglobal applying filters if needed. If no parameters are given the $_REQUEST superglobal is returned
1 2 3 4 5 | //Returns value from $_REQUEST["user_email"] without sanitizing $userEmail = $request ->get( "user_email" ); //Returns value from $_REQUEST["user_email"] with sanitizing $userEmail = $request ->get( "user_email" , "email" ); |
Please login to continue.