예제 #1
0
<?php

include_once "config/include.php";
include_once "application/model/xml_conversion_model.php";
include_once "application/model/workflow_model.php";
include_once "application/model/tasks_model.php";
include_once "application/model/xmltoxml_model.php";
$taskObj = new Tasks();
$selDes = $taskObj->getXmlDestination();
$selSou = $taskObj->getXmlSource();
// Get Configuration List Dropdown
$wfObj = new ConversionModel();
$selOpt = $wfObj->getConfigurationList();
$xmlObj = new XmlConversionModel();
$selOpt1 = $xmlObj->getxmlConfigurationList();
// Work Flow Id
if (isset($_GET['id']) and is_numeric($_GET['id'])) {
    $wfId['id'] = $_GET['id'];
    $workFlow = new WorkFlow();
    $wfData = $workFlow->getWFById($wfId);
}
// Task ID
if (isset($_GET['tid']) and is_numeric($_GET['tid'])) {
    $wftId = $_GET['tid'];
    $tID = '&tid=' . $wftId;
    // Task Class Object
    $wfTaskObj = new Tasks();
    $wfTaskList = $wfTaskObj->getWFTaskById($wftId);
}
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Now determine in which directory to operate