PHP Класс Newscoop\Services\InputManipulator

Показать файл Открыть проект

Открытые методы

Метод Описание
cleanMagicQuotes ( array $array ) : array cleanMagicQuotes
getVar ( array $parameters = [] ) : string | integer | boolean getVar searches and returns the variable from an array or string in the requested type.

Описание методов

cleanMagicQuotes() публичный статический метод

cleanMagicQuotes
public static cleanMagicQuotes ( array $array ) : array
$array array object to clean from quotes
Результат array $gpcList cleaned object

getVar() публичный статический метод

getVar searches and returns the variable from an array or string in the requested type.
public static getVar ( array $parameters = [] ) : string | integer | boolean
$parameters array
Результат string | integer | boolean the variable found or a bool with checkIfExists