Web Entry compatibility fixes with Designer 1.1

This commit is contained in:
Enrique Ponce de Leon
2011-03-03 21:24:42 +00:00
parent 1ec5c0fde8
commit 4f17add70d
2 changed files with 70 additions and 62 deletions

View File

@@ -2,7 +2,7 @@
class webEntryProxy extends HttpProxyController
{
//Delete Web Entry
function deleteWebEntry($params){
function delete($params){
require_once 'classes/model/Event.php';
$pro_uid = $params->PRO_UID;
$filename = $params->FILE_NAME;
@@ -108,7 +108,7 @@ class webEntryProxy extends HttpProxyController
$this->msg = $message;
}
//Save New WebEntry
function saveWebEntry($params){
function save($params){
require_once 'classes/model/Event.php';
global $G_FORM;
$sPRO_UID = $params->pro_uid;
@@ -235,4 +235,13 @@ class webEntryProxy extends HttpProxyController
$this->DYN_TITLE = $dynTitle;
$this->USR_UID = $sWS_USER;
}
function load($params){
G::LoadClass('processMap');
$oProcessMap = new processMap(new DBConnection);
$PRO_UID = $params->PRO_UID;
$EVN_UID = $params->EVN_UID;
$sOutput = $oProcessMap->listNewWebEntry($PRO_UID,$EVN_UID);
return $sOutput;
}
} //End webEntryProxy