[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
[Code source] [Imprimer] [Statistiques]
Configuration of the Galaxia Workflow Engine for E-Groupware
Poids: | 377 lignes (12 kb) |
Inclus ou requis: | 11 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
galaxia_show_error($msg, $dying = true, $log=true) X-Ref |
Show error messages from the engine param: $msg is the message to show param: $dying is true by default and will launch a terminal die command param: $log is trru by default and will emit a PHP WARNING if set to true |
tra($msg, $m1='', $m2='', $m3='', $m4='') X-Ref |
Pas de description |
galaxia_get_agents_list() X-Ref |
* This function list the agents avaible with your galaxia installation. The name of an agent * is his unique identifier, the priority is an execution order priority * @return an associative array of agents description, each row is an agent description * containing a 'wf_agent_type' key and a 'wf_agent_priority' key |
galaxia_user_can_admin_process() X-Ref |
* @return true if the actual user has access to the processes administration. * ie. he can edit/activate/deactivate/create/destroy processes and activities * warning: dangerous rights, this user can do whatever PHP can do... |
galaxia_user_can_admin_instance() X-Ref |
* @return true if the actual user has access to the instance administration * ie. he can edit and modify all properties, members, assigned users of an instance whatever the state of the instance is * warning: this is clearly an administrator right |
galaxia_user_can_clean_instances() X-Ref |
* @return true if the actual user is granted access to the 'clean instances' and 'clean all instances for a process' functions * warning: theses are dangerous functions! |
galaxia_user_can_clean_aborted_instances() X-Ref |
* @return true if the user is granted access to the 'clean aborted instances' functions |
galaxia_user_can_monitor() X-Ref |
* @return true if the actual user has access to the monitor screens (this is not sufficient for cleanup access) |
galaxia_retrieve_user_groups($user=0) X-Ref |
Pas de description |
galaxia_retrieve_group_users($group, $add_names=false) X-Ref |
* @param $group the group id * @param $add_names false by default, if true we add user names in the result * return an array with all users id or an associative array with names associated with ids if $add_names is true |
galaxia_retrieve_running_user() X-Ref |
* @return the user id of the actual running user. |
galaxia_retrieve_name($user) X-Ref |
* @param $user the user or group id * return the name of the user |
galaxia_execute_activity($activityId = 0, $iid = 0, $auto = 1) X-Ref |
* This function will execute automatic (non-interactive) activities for the engine * @param $activityId (default 0) is the activity_id it should run * @param $iid (default 0) is the instance id it should run for * @param $auto is true by default * @return AN ARRAY, or at least true or false. This array can contain : * a key 'failure' with an error string the engine will retrieve in instance error messages in case of failure (this will mark your execution as Bad), * a key 'debug' with a debug string the engine will retrieve in instance error messages, |
galaxia_get_config_values($parameters=array() X-Ref |
Pas de description |
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |