[ Index ]
 

Code source de eGroupWare 1.2.106-2

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

title

Body

[fermer]

/workflow/inc/engine/compiler/ -> switch_pre.php (source)

   1  <?php
   2  //Code to be executed before a switch activity
   3  
   4  $this->runtime->StartRun();
   5  
   6  //tests for access rights and lock some rows--------------------------
   7  if (!($this->runtime->checkUserRun($GLOBALS['user'])))
   8  {
   9    return $this->runtime->fail(lang('You have not permission to execute this activity'), true);
  10  }
  11  
  12  if (!($GLOBALS['workflow']['__leave_activity']))
  13  {
  14    // Set the current user for this activity
  15      $this->runtime->setActivityUser();
  16  }
  17  $this->runtime->EndStartRun();
  18  ?>


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