PHP 클래스 Newscoop\Services\InputManipulator

파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
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