[ Index ]
 

Code source de eGroupWare 1.2.106-2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/workflow/inc/ -> class.ui_agent_mail_smtp.inc.php (sommaire)

* Mail-SMTP Agent : interface layer * * This class connects the workflow agents calls to the mail_smtp agent business layer * * @package workflow * @author regis.leroy@glconseil.com * GPL

Poids: 221 lignes (9 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

ui_agent_mail_smtp:: (6 méthodes):
  ui_agent_mail_smtp()
  showAdminActivityOptions()
  run_activity_pre()
  run_leaving_activity_pre()
  run_activity_completed_pos()
  run_activity_pos()


Classe: ui_agent_mail_smtp  - X-Ref

ui_agent_mail_smtp()   X-Ref
Pas de description

showAdminActivityOptions($template_block_name)   X-Ref
Pas de description

run_activity_pre()   X-Ref
* Function called by the running object (run_activity) after the activity_pre code
* and before the user code. This code is runned only if the $GLOBALS['workflow']['__leave_activity']
* IS NOT set (i.e.: the user is not cancelling his form in case of interactive activity)
* WARNING : on interactive queries the user code is parsed several times and this function is called
* each time you reach the begining of the code, this means at least the first time when you show the form
* and every time you loop on the form + the last time when you complete the code (if the user did not cancel).
* @return true or false, if false the $this->error array should contains error messages


run_leaving_activity_pre()   X-Ref
* Function called by the running object (run_activity) after the activity_pre code
* and before the user code. This code is runned only if the $GLOBALS['workflow']['__leave_activity']
* IS set (i.e.: the user is cancelling his form in case of interactive activity)
* @return true or false, if false the $this->error array should contains error messages


run_activity_completed_pos()   X-Ref
* Function called by the running object (run_activity) after the user code
* and after the activity_pos code. This code is runned only if the $GLOBALS['__activity_completed']
* IS set (i.e.: the user has completing the activity)
* @return true or false, if false the $this->error array should contains error messages


run_activity_pos()   X-Ref
* Function called by the running object (run_activity) after the user code
* and after the activity_pos code. This code is runned only if the $GLOBALS['__activity_completed']
* IS NOT set (i.e.: the user is not yet completing the activity)
* WARNING : on interactive queries the user code is parsed several times and this function is called
* each time you reach the end of the code without completing, this means at least the first time
* and every time you loop on the form.
* This function can call two types of mail sending
*    * sending email on POST queries (usefull for interactive forms), retrieving POSTed values
*    * sending email at each reach of the end of the code (usefull for automatic activities which
*    completes only after execution of user code (sending after completion is not possible). And we
*    musn't retrieve POSTed values in this case because it can concerns previous non-automatic activities
* @return true or false, if false the $this->error array should contains error messages




Généré le : Sun Feb 25 17:20:01 2007 par Balluche grâce à PHPXref 0.7