Method | Description | |
---|---|---|
getGetParams ( ) : array | Return the $_GET | |
getIp ( ) : string | Return the request ip | |
getMethod ( ) : string | Return the request method | |
getParams ( ) : Array | Return all the params | |
getPostParams ( ) : array | Return the $_POST | |
getSegment ( $key = null, $offset, array $segmentsArr = null ) : mixed | Segements are part of the URL separated by / ie: /gummy/bear/?q=hello 'gummy' and 'bear' are segments. | |
getUrlSegments ( ) : array | Return segments of the URL Segments are part of the URL separated by a slash / | |
is ( string $method = "POST" ) | To check the request Method | |
isAjax ( ) : boolean | Verify is the access is from ajax. |
public static getGetParams ( ) : array | ||
return | array |
public static getParams ( ) : Array | ||
return | Array |
public static getPostParams ( ) : array | ||
return | array |
public static getSegment ( $key = null, $offset, array $segmentsArr = null ) : mixed | ||
$segmentsArr | array | the array segments to use |
return | mixed |
public static getUrlSegments ( ) : array | ||
return | array |