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

search for in the

GearmanClient::setOptions> <GearmanClient::setExceptionCallback
[edit] Last updated: Fri, 24 May 2013

view this page in

GearmanClient::setFailCallback

(PECL gearman >= 0.5.0)

GearmanClient::setFailCallbackDéfinit une fonction de rappel à appeler lorsqu'un travail échoue

Description

public bool GearmanClient::setFailCallback ( callable $callback )

Définit une fonction de rappel à utiliser lorsqu'une tâche échoue. La fonction doit accepter un seul argument, un objet GearmanTask.

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::setFailCallback - [0 notes]
There are no user contributed notes for this page.

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