PHP Class Newscoop\Services\InputManipulator

Datei anzeigen Open project: sourcefabric/newscoop

Public Methods

Method Description
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.

Method Details

cleanMagicQuotes() public static method

cleanMagicQuotes
public static cleanMagicQuotes ( array $array ) : array
$array array object to clean from quotes
return array $gpcList cleaned object

getVar() public static method

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
return string | integer | boolean the variable found or a bool with checkIfExists