public function getGetPost($index = null, $filter = null, $flags = null)
	{
		// Use $_GET directly here, since filter_has_var only
		// checks the initial GET data, not anything that might
		// have been added since.
		return isset($_GET[$index]) ? $this->getGet($index, $filter, $flags) : $this->getPost($index, $filter, $flags);
	}
public function getGetPost($index = null, $filter = null, $flags = null)
	{
		// Use $_GET directly here, since filter_has_var only
		// checks the initial GET data, not anything that might
		// have been added since.
		return isset($_GET[$index]) ? $this->getGet($index, $filter, $flags) : $this->getPost($index, $filter, $flags);
	}
public function getGetPost ( $ index = null , $ filter = null , $ flags = null ) { // Use $_GET directly here, since filter_has_var only // checks the initial GET data, not anything that might // have been added since. return isset ( $ _GET [ $ index ] ) ? $ this -> getGet ( $ index , $ filter , $ flags ) : $ this -> getPost ( $ index , $ filter , $ flags ) ; }
Fetch an item from GET data with fallback to POST.

@param string|array|null $index  Index for item to be fetched from $_GET or $_POST
@param integer|null      $filter A filter name to apply
@param mixed             $flags

@return mixed
Fetch an item from GET data with fallback to POST .