KumbiaPHP  beta2
Framework PHP
 Todo Estructuras de Datos Namespaces Archivos Funciones Variables Páginas
Métodos públicos estáticos
Referencia de la Clase Input

Métodos públicos estáticos

static is ($method=NULL)
 
static isAjax ()
 
static post ($var)
 
static get ($var=NULL)
 
static request ($var)
 
static hasPost ($var)
 
static hasGet ($var)
 
static hasRequest ($var)
 
static delete ($var=NULL)
 
static userAgent ()
 
static ip ()
 
static filter ($var)
 

Descripción detallada

Definición en la línea 22 del archivo input.php.

Documentación de las funciones miembro

static delete (   $var = NULL)
static

Elimina elemento indicado en $_POST

Parámetros
string$varelemento a verificar
Devuelve
boolean|null

Definición en la línea 127 del archivo input.php.

static filter (   $var)
static

Obtiene y filtra un valor del arreglo $_REQUEST Por defecto, usa SANITIZE

Parámetros
string$var
Devuelve
mixed

Definición en la línea 166 del archivo input.php.

static get (   $var = NULL)
static

Obtiene un valor del arreglo $_GET, aplica el filtro FILTER_SANITIZE_STRING por defecto

Parámetros
string$var
Devuelve
mixed

Definición en la línea 66 del archivo input.php.

static hasGet (   $var)
static

Verifica si existe el elemento indicado en $_GET

Parámetros
string$varelemento a verificar
Devuelve
boolean

Definición en la línea 105 del archivo input.php.

static hasPost (   $var)
static

Verifica si existe el elemento indicado en $_POST

Parámetros
string$varelemento a verificar
Devuelve
boolean

Definición en la línea 94 del archivo input.php.

static hasRequest (   $var)
static

Verifica si existe el elemento indicado en $_REQUEST

Parámetros
string$varelemento a verificar
Devuelve
boolean

Definición en la línea 116 del archivo input.php.

static ip ( )
static

Permite obtene la IP del cliente, aún cuando usa proxy

Devuelve
String

Definición en la línea 148 del archivo input.php.

static is (   $method = NULL)
static

Verifica o obtiene el metodo de la peticion

Parámetros
string$method
Devuelve
mixed

Definición en la línea 30 del archivo input.php.

static isAjax ( )
static

Indica si el request es AJAX

Devuelve
boolean

Definición en la línea 43 del archivo input.php.

static post (   $var)
static

Obtiene un valor del arreglo $_POST

Parámetros
string$var
Devuelve
mixed

Definición en la línea 54 del archivo input.php.

static request (   $var)
static

Obtiene un valor del arreglo $_REQUEST

Parámetros
string$var
Devuelve
mixed

Definición en la línea 83 del archivo input.php.

static userAgent ( )
static

Permite Obtener el Agente de Usuario (User Agent)

Devuelve
String

Definición en la línea 140 del archivo input.php.


La documentación para esta clase fue generada a partir del siguiente fichero: