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, 17 May 2013

view this page in

GearmanClient::setCreatedCallback

(PECL gearman >= 0.5.0)

GearmanClient::setCreatedCallbackDéfinit une fonction de rappel à appeler lorsqu'une tâche est placée dans la file d'attente

Description

public bool GearmanClient::setCreatedCallback ( string $callback )

Définit une fonction de rappel à appeler lorsqu'une tâche est placée dans la file d'attente du serveur de travaux gearman. La fonction de rappel doit accepter un seul argument, un objet GearmanClient.

Liste de paramètres

callback

Une fonction à appeler

Valeurs de retour

Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.

Voir aussi



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 | sitemap | contact | advertising | mirror sites