Referencia de la Clase Event


Métodos públicos estáticos

static has_handler ($event)
static bind ($event, $handler)
static before ($event, $handler1, $handler2)
static after ($event, $handler1, $handler2)
static unbind ($event, $handler=false)
static replace ($event, $handler1, $handler2)
static trigger ($event, $args=array())

Atributos públicos estáticos

static $data = null

Atributos protegidos estáticos

static $_events = array()

Descripción detallada

Definición en la línea 34 del archivo event.php.


Documentación de las funciones miembro

static after ( event,
handler1,
handler2 
) [static]

Enlaza en el evento el handler2 despues del handler1

Parámetros:
string $event evento
mixed $handler1
mixed $handler2

Definición en la línea 97 del archivo event.php.

static before ( event,
handler1,
handler2 
) [static]

Enlaza en el evento el handler2 antes del handler1

Parámetros:
string $event evento
mixed $handler1
mixed $handler2

Definición en la línea 78 del archivo event.php.

static bind ( event,
handler 
) [static]

Enlaza un handler con un evento

Parámetros:
string $event evento
mixed $handler retrollamada

Definición en la línea 64 del archivo event.php.

static has_handler ( event  )  [static]

Verifica si un evento ya tiene manejador

Parámetros:
string $event
Devuelve:
boolean

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

static replace ( event,
handler1,
handler2 
) [static]

Remplaza un handler por otro

Parámetros:
string $event evento
mixed $handler1 handler a remplazar
mixed $handler2 nuevo handler

Definición en la línea 132 del archivo event.php.

static trigger ( event,
args = array() 
) [static]

Ejecuta los handlers asociados al evento

Parámetros:
string $event evento
array $args argumentos
Devuelve:
mixed

Definición en la línea 150 del archivo event.php.

static unbind ( event,
handler = false 
) [static]

Desenlaza los manejadores

Parámetros:
string $event evento
mixed $handler manejador

Definición en la línea 115 del archivo event.php.


Documentación de los campos

$_events = array() [static, protected]

Definición en la línea 47 del archivo event.php.

$data = null [static]

Definición en la línea 41 del archivo event.php.


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

Generado el Fri Jun 12 09:36:52 2009 para KumbiaPHP por  doxygen 1.5.8