Core Class
View Source on Trac ↗
Core Class
InputValidator
class InputValidator
// Constructor: function Object() { [native code] } Input validation utilities.
Methods 6 methods
| Method / Return | Description |
|---|---|
| is_string_or_stringable() bool | Verify that a received input parameter is of type string or is "stringable".
Parameters: $input: mixed |
| is_numeric_array_key() bool | Verify whether a received input parameter is usable as an integer array key.
Parameters: $input: mixed |
| is_stringable_object() bool | Verify whether a received input parameter is "stringable".
Parameters: $input: mixed |
| has_array_access() bool | Verify whether a received input parameter is _accessible as if it were an array_.
Parameters: $input: mixed |
| is_iterable() bool | Verify whether a received input parameter is "iterable".
Parameters: $input: mixed |
| is_curl_handle() bool | Verify whether a received input parameter is a Curl handle.
Parameters: $input: mixed |
Class Information
Source File
wp-includes/Requests/src/Utility/InputValidator.php
Advertisement