downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

GearmanClient::setData> <GearmanClient::setContext
[edit] Last updated: Fri, 24 May 2013

view this page in

GearmanClient::setCreatedCallback

(PECL gearman >= 0.5.0)

GearmanClient::setCreatedCallbackEstablece una llamada de retornopara cuando se encola una tarea

Descripción

public bool GearmanClient::setCreatedCallback ( string $callback )

Establece una función a ser llamada cuando se recibe una tarea y es encolada por el servidor de trabajos Gearman. La función acepta un único parámetro, un objeto GearmanClient.

Parámetros

callback

Función a llamar

Valores devueltos

Devuelve TRUE en caso de éxito o FALSE en caso de error.

Ver también



add a note add a note User Contributed Notes GearmanClient::setCreatedCallback - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites