Import Permissons Cases notes with groups SOLVED

Import Permissons Cases notes with groups
This commit is contained in:
Brayan Osmar Pereyra Suxo
2012-12-17 12:44:10 -04:00
parent 8d0e0b1dbe
commit ab2f0a9088

View File

@@ -2070,7 +2070,7 @@ class Processes
* @param string $sProUid
* @return $aDynaform array
*/
public function getObjectPermissionRows ($sProUid)
public function getObjectPermissionRows ($sProUid, &$oData)
{
// by erik
try {
@@ -2084,6 +2084,9 @@ class Processes
while ($aRow = $oDataset->getRow()) {
$o = new ObjectPermission();
$oPermissions[] = $o->Load( $aRow['OP_UID'] );
$oGroupwf = new Groupwf();
$oData->groupwfs[] = $oGroupwf->Load( $aRow['USR_UID'] );
$oDataset->next();
}
return $oPermissions;
@@ -2570,7 +2573,7 @@ class Processes
$oData->reportTables = $this->getReportTablesRows( $sProUid );
$oData->reportTablesVars = $this->getReportTablesVarsRows( $sProUid );
$oData->stepSupervisor = $this->getStepSupervisorRows( $sProUid );
$oData->objectPermissions = $this->getObjectPermissionRows( $sProUid );
$oData->objectPermissions = $this->getObjectPermissionRows( $sProUid, $oData);
$oData->subProcess = $this->getSubProcessRow( $sProUid );
$oData->caseTracker = $this->getCaseTrackerRow( $sProUid );
$oData->caseTrackerObject = $this->getCaseTrackerObjectRow( $sProUid );