Метод |
Описание |
|
__construct ( $array ) |
|
|
current ( ) |
Return the current array element, filtered. Implements ArrayIterator::current() |
|
escape ( mixed $index ) : mixed |
Return the raw, escaped value of the requested index. |
|
filter_keys ( ) : SuperGlobal |
Filters this SuperGlobal based on an array or arrays of keys |
|
getArrayCopy ( ) |
Return a copy of the filtered array. Implments ArrayIterator::getArrayCopy() |
|
get_array_copy_raw ( ) |
Return a copy of the unfiltered array. |
|
map ( callback $fn ) : SuperGlobal |
Apply a map function to this array, like array_map() |
|
merge ( ) : SuperGlobal |
Merges the contents of one or more arrays or ArrayObjects with this SuperGlobal |
|
offsetGet ( mixed $index ) : mixed |
Return the value of an array offset. Allows the values to be filtered |
|
offsetSet ( mixed $index, mixed $value ) |
Set the value of the array, clear caches for that index |
|
process_c ( ) |
Convert $_COOKIE into SuperGlobal instance |
|
process_gps ( ) |
Convert $_GET, $_POST and $_SERVER into SuperGlobal instances, also kill $_REQUEST |
|
raw ( mixed $index ) : mixed |
Return the raw, unfiltered value of the requested index |
|
rekey ( string $replacement = '{\$$0}', string $search_regex = '/^.*$/' ) : SuperGlobal |
Use a regular expression replacement to change the keys in an array |
|