PHP Class Newscoop\Services\InputManipulator

Afficher le fichier Open project: sourcefabric/newscoop

Méthodes publiques

Méthode 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 méthode

cleanMagicQuotes
public static cleanMagicQuotes ( array $array ) : array
$array array object to clean from quotes
Résultat array $gpcList cleaned object

getVar() public static méthode

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