class views_workflow { public $id; public $style; public $style_table_width; public $style_left; public $results; public function __construct($context) { $this->id = $context['id']; $this->style = $context['style']; } public function set() { global $database; $results = common_workflow::get_details($this->id); $this->results =& $results; return $this; } public function details() { extract($this->results); ?>
Type: | |
Action Name: | |
Description: | |
Stage: | |
Tasks | |
$task_template_html = '
';
$task_template_html .= ' ';
echo $task_template_html;
foreach($tasks AS $task)
{
$task_template_html = 'Name ';
$task_template_html .= 'Groups ';
$task_template_html .= 'Departments ';
$task_template_html .= '';
$task_template_html .= ' ';
echo $task_template_html;
}
?>
';
$task_template_html .= $task['name'];
$task_template_html .= ' ';
$task_template_html .= '';
foreach($task['groups'] AS $group)
$task_template_html .= $group['name']." ';
$task_template_html .= '"; $task_template_html .= ' ';
foreach($task['departments'] AS $department)
$task_template_html .= $department['name']." ';
$task_template_html .= '';
$task_template_html .= '"; $task_template_html .= ' |
|