Merged in qronald/processmaker/PM-3984 (pull request #3151)

PM-3984
This commit is contained in:
Julio Cesar Laura Avendaño
2015-11-11 16:16:42 -04:00
2 changed files with 186 additions and 123 deletions

View File

@@ -93,6 +93,12 @@ abstract class BaseProcess extends BaseObject implements Persistent
*/ */
protected $pro_subprocess = 0; protected $pro_subprocess = 0;
/**
* The value for the pro_tri_open field.
* @var string
*/
protected $pro_tri_open = '';
/** /**
* The value for the pro_tri_deleted field. * The value for the pro_tri_deleted field.
* @var string * @var string
@@ -366,6 +372,17 @@ abstract class BaseProcess extends BaseObject implements Persistent
return $this->pro_subprocess; return $this->pro_subprocess;
} }
/**
* Get the [pro_tri_open] column value.
*
* @return string
*/
public function getProTriOpen()
{
return $this->pro_tri_open;
}
/** /**
* Get the [pro_tri_deleted] column value. * Get the [pro_tri_deleted] column value.
* *
@@ -897,6 +914,28 @@ abstract class BaseProcess extends BaseObject implements Persistent
} // setProSubprocess() } // setProSubprocess()
/**
* Set the value of [pro_tri_open] column.
*
* @param string $v new value
* @return void
*/
public function setProTriOpen($v)
{
// Since the native PHP type for this column is string,
// we will cast the input to a string (if it is not).
if ($v !== null && !is_string($v)) {
$v = (string) $v;
}
if ($this->pro_tri_open !== $v || $v === '') {
$this->pro_tri_open = $v;
$this->modifiedColumns[] = ProcessPeer::PRO_TRI_OPEN;
}
} // setProTriOpen()
/** /**
* Set the value of [pro_tri_deleted] column. * Set the value of [pro_tri_deleted] column.
* *
@@ -1450,58 +1489,60 @@ abstract class BaseProcess extends BaseObject implements Persistent
$this->pro_subprocess = $rs->getInt($startcol + 10); $this->pro_subprocess = $rs->getInt($startcol + 10);
$this->pro_tri_deleted = $rs->getString($startcol + 11); $this->pro_tri_open = $rs->getString($startcol + 11);
$this->pro_tri_canceled = $rs->getString($startcol + 12); $this->pro_tri_deleted = $rs->getString($startcol + 12);
$this->pro_tri_paused = $rs->getString($startcol + 13); $this->pro_tri_canceled = $rs->getString($startcol + 13);
$this->pro_tri_reassigned = $rs->getString($startcol + 14); $this->pro_tri_paused = $rs->getString($startcol + 14);
$this->pro_tri_unpaused = $rs->getString($startcol + 15); $this->pro_tri_reassigned = $rs->getString($startcol + 15);
$this->pro_type_process = $rs->getString($startcol + 16); $this->pro_tri_unpaused = $rs->getString($startcol + 16);
$this->pro_show_delegate = $rs->getInt($startcol + 17); $this->pro_type_process = $rs->getString($startcol + 17);
$this->pro_show_dynaform = $rs->getInt($startcol + 18); $this->pro_show_delegate = $rs->getInt($startcol + 18);
$this->pro_category = $rs->getString($startcol + 19); $this->pro_show_dynaform = $rs->getInt($startcol + 19);
$this->pro_sub_category = $rs->getString($startcol + 20); $this->pro_category = $rs->getString($startcol + 20);
$this->pro_industry = $rs->getInt($startcol + 21); $this->pro_sub_category = $rs->getString($startcol + 21);
$this->pro_update_date = $rs->getTimestamp($startcol + 22, null); $this->pro_industry = $rs->getInt($startcol + 22);
$this->pro_create_date = $rs->getTimestamp($startcol + 23, null); $this->pro_update_date = $rs->getTimestamp($startcol + 23, null);
$this->pro_create_user = $rs->getString($startcol + 24); $this->pro_create_date = $rs->getTimestamp($startcol + 24, null);
$this->pro_height = $rs->getInt($startcol + 25); $this->pro_create_user = $rs->getString($startcol + 25);
$this->pro_width = $rs->getInt($startcol + 26); $this->pro_height = $rs->getInt($startcol + 26);
$this->pro_title_x = $rs->getInt($startcol + 27); $this->pro_width = $rs->getInt($startcol + 27);
$this->pro_title_y = $rs->getInt($startcol + 28); $this->pro_title_x = $rs->getInt($startcol + 28);
$this->pro_debug = $rs->getInt($startcol + 29); $this->pro_title_y = $rs->getInt($startcol + 29);
$this->pro_dynaforms = $rs->getString($startcol + 30); $this->pro_debug = $rs->getInt($startcol + 30);
$this->pro_derivation_screen_tpl = $rs->getString($startcol + 31); $this->pro_dynaforms = $rs->getString($startcol + 31);
$this->pro_cost = $rs->getFloat($startcol + 32); $this->pro_derivation_screen_tpl = $rs->getString($startcol + 32);
$this->pro_unit_cost = $rs->getString($startcol + 33); $this->pro_cost = $rs->getFloat($startcol + 33);
$this->pro_unit_cost = $rs->getString($startcol + 34);
$this->resetModified(); $this->resetModified();
$this->setNew(false); $this->setNew(false);
// FIXME - using NUM_COLUMNS may be clearer. // FIXME - using NUM_COLUMNS may be clearer.
return $startcol + 34; // 34 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS). return $startcol + 35; // 35 = ProcessPeer::NUM_COLUMNS - ProcessPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) { } catch (Exception $e) {
throw new PropelException("Error populating Process object", $e); throw new PropelException("Error populating Process object", $e);
@@ -1739,72 +1780,75 @@ abstract class BaseProcess extends BaseObject implements Persistent
return $this->getProSubprocess(); return $this->getProSubprocess();
break; break;
case 11: case 11:
return $this->getProTriDeleted(); return $this->getProTriOpen();
break; break;
case 12: case 12:
return $this->getProTriCanceled(); return $this->getProTriDeleted();
break; break;
case 13: case 13:
return $this->getProTriPaused(); return $this->getProTriCanceled();
break; break;
case 14: case 14:
return $this->getProTriReassigned(); return $this->getProTriPaused();
break; break;
case 15: case 15:
return $this->getProTriUnpaused(); return $this->getProTriReassigned();
break; break;
case 16: case 16:
return $this->getProTypeProcess(); return $this->getProTriUnpaused();
break; break;
case 17: case 17:
return $this->getProShowDelegate(); return $this->getProTypeProcess();
break; break;
case 18: case 18:
return $this->getProShowDynaform(); return $this->getProShowDelegate();
break; break;
case 19: case 19:
return $this->getProCategory(); return $this->getProShowDynaform();
break; break;
case 20: case 20:
return $this->getProSubCategory(); return $this->getProCategory();
break; break;
case 21: case 21:
return $this->getProIndustry(); return $this->getProSubCategory();
break; break;
case 22: case 22:
return $this->getProUpdateDate(); return $this->getProIndustry();
break; break;
case 23: case 23:
return $this->getProCreateDate(); return $this->getProUpdateDate();
break; break;
case 24: case 24:
return $this->getProCreateUser(); return $this->getProCreateDate();
break; break;
case 25: case 25:
return $this->getProHeight(); return $this->getProCreateUser();
break; break;
case 26: case 26:
return $this->getProWidth(); return $this->getProHeight();
break; break;
case 27: case 27:
return $this->getProTitleX(); return $this->getProWidth();
break; break;
case 28: case 28:
return $this->getProTitleY(); return $this->getProTitleX();
break; break;
case 29: case 29:
return $this->getProDebug(); return $this->getProTitleY();
break; break;
case 30: case 30:
return $this->getProDynaforms(); return $this->getProDebug();
break; break;
case 31: case 31:
return $this->getProDerivationScreenTpl(); return $this->getProDynaforms();
break; break;
case 32: case 32:
return $this->getProCost(); return $this->getProDerivationScreenTpl();
break; break;
case 33: case 33:
return $this->getProCost();
break;
case 34:
return $this->getProUnitCost(); return $this->getProUnitCost();
break; break;
default: default:
@@ -1838,29 +1882,30 @@ abstract class BaseProcess extends BaseObject implements Persistent
$keys[8] => $this->getProShowMap(), $keys[8] => $this->getProShowMap(),
$keys[9] => $this->getProShowMessage(), $keys[9] => $this->getProShowMessage(),
$keys[10] => $this->getProSubprocess(), $keys[10] => $this->getProSubprocess(),
$keys[11] => $this->getProTriDeleted(), $keys[11] => $this->getProTriOpen(),
$keys[12] => $this->getProTriCanceled(), $keys[12] => $this->getProTriDeleted(),
$keys[13] => $this->getProTriPaused(), $keys[13] => $this->getProTriCanceled(),
$keys[14] => $this->getProTriReassigned(), $keys[14] => $this->getProTriPaused(),
$keys[15] => $this->getProTriUnpaused(), $keys[15] => $this->getProTriReassigned(),
$keys[16] => $this->getProTypeProcess(), $keys[16] => $this->getProTriUnpaused(),
$keys[17] => $this->getProShowDelegate(), $keys[17] => $this->getProTypeProcess(),
$keys[18] => $this->getProShowDynaform(), $keys[18] => $this->getProShowDelegate(),
$keys[19] => $this->getProCategory(), $keys[19] => $this->getProShowDynaform(),
$keys[20] => $this->getProSubCategory(), $keys[20] => $this->getProCategory(),
$keys[21] => $this->getProIndustry(), $keys[21] => $this->getProSubCategory(),
$keys[22] => $this->getProUpdateDate(), $keys[22] => $this->getProIndustry(),
$keys[23] => $this->getProCreateDate(), $keys[23] => $this->getProUpdateDate(),
$keys[24] => $this->getProCreateUser(), $keys[24] => $this->getProCreateDate(),
$keys[25] => $this->getProHeight(), $keys[25] => $this->getProCreateUser(),
$keys[26] => $this->getProWidth(), $keys[26] => $this->getProHeight(),
$keys[27] => $this->getProTitleX(), $keys[27] => $this->getProWidth(),
$keys[28] => $this->getProTitleY(), $keys[28] => $this->getProTitleX(),
$keys[29] => $this->getProDebug(), $keys[29] => $this->getProTitleY(),
$keys[30] => $this->getProDynaforms(), $keys[30] => $this->getProDebug(),
$keys[31] => $this->getProDerivationScreenTpl(), $keys[31] => $this->getProDynaforms(),
$keys[32] => $this->getProCost(), $keys[32] => $this->getProDerivationScreenTpl(),
$keys[33] => $this->getProUnitCost(), $keys[33] => $this->getProCost(),
$keys[34] => $this->getProUnitCost(),
); );
return $result; return $result;
} }
@@ -1926,72 +1971,75 @@ abstract class BaseProcess extends BaseObject implements Persistent
$this->setProSubprocess($value); $this->setProSubprocess($value);
break; break;
case 11: case 11:
$this->setProTriDeleted($value); $this->setProTriOpen($value);
break; break;
case 12: case 12:
$this->setProTriCanceled($value); $this->setProTriDeleted($value);
break; break;
case 13: case 13:
$this->setProTriPaused($value); $this->setProTriCanceled($value);
break; break;
case 14: case 14:
$this->setProTriReassigned($value); $this->setProTriPaused($value);
break; break;
case 15: case 15:
$this->setProTriUnpaused($value); $this->setProTriReassigned($value);
break; break;
case 16: case 16:
$this->setProTypeProcess($value); $this->setProTriUnpaused($value);
break; break;
case 17: case 17:
$this->setProShowDelegate($value); $this->setProTypeProcess($value);
break; break;
case 18: case 18:
$this->setProShowDynaform($value); $this->setProShowDelegate($value);
break; break;
case 19: case 19:
$this->setProCategory($value); $this->setProShowDynaform($value);
break; break;
case 20: case 20:
$this->setProSubCategory($value); $this->setProCategory($value);
break; break;
case 21: case 21:
$this->setProIndustry($value); $this->setProSubCategory($value);
break; break;
case 22: case 22:
$this->setProUpdateDate($value); $this->setProIndustry($value);
break; break;
case 23: case 23:
$this->setProCreateDate($value); $this->setProUpdateDate($value);
break; break;
case 24: case 24:
$this->setProCreateUser($value); $this->setProCreateDate($value);
break; break;
case 25: case 25:
$this->setProHeight($value); $this->setProCreateUser($value);
break; break;
case 26: case 26:
$this->setProWidth($value); $this->setProHeight($value);
break; break;
case 27: case 27:
$this->setProTitleX($value); $this->setProWidth($value);
break; break;
case 28: case 28:
$this->setProTitleY($value); $this->setProTitleX($value);
break; break;
case 29: case 29:
$this->setProDebug($value); $this->setProTitleY($value);
break; break;
case 30: case 30:
$this->setProDynaforms($value); $this->setProDebug($value);
break; break;
case 31: case 31:
$this->setProDerivationScreenTpl($value); $this->setProDynaforms($value);
break; break;
case 32: case 32:
$this->setProCost($value); $this->setProDerivationScreenTpl($value);
break; break;
case 33: case 33:
$this->setProCost($value);
break;
case 34:
$this->setProUnitCost($value); $this->setProUnitCost($value);
break; break;
} // switch() } // switch()
@@ -2062,95 +2110,99 @@ abstract class BaseProcess extends BaseObject implements Persistent
} }
if (array_key_exists($keys[11], $arr)) { if (array_key_exists($keys[11], $arr)) {
$this->setProTriDeleted($arr[$keys[11]]); $this->setProTriOpen($arr[$keys[11]]);
} }
if (array_key_exists($keys[12], $arr)) { if (array_key_exists($keys[12], $arr)) {
$this->setProTriCanceled($arr[$keys[12]]); $this->setProTriDeleted($arr[$keys[12]]);
} }
if (array_key_exists($keys[13], $arr)) { if (array_key_exists($keys[13], $arr)) {
$this->setProTriPaused($arr[$keys[13]]); $this->setProTriCanceled($arr[$keys[13]]);
} }
if (array_key_exists($keys[14], $arr)) { if (array_key_exists($keys[14], $arr)) {
$this->setProTriReassigned($arr[$keys[14]]); $this->setProTriPaused($arr[$keys[14]]);
} }
if (array_key_exists($keys[15], $arr)) { if (array_key_exists($keys[15], $arr)) {
$this->setProTriUnpaused($arr[$keys[15]]); $this->setProTriReassigned($arr[$keys[15]]);
} }
if (array_key_exists($keys[16], $arr)) { if (array_key_exists($keys[16], $arr)) {
$this->setProTypeProcess($arr[$keys[16]]); $this->setProTriUnpaused($arr[$keys[16]]);
} }
if (array_key_exists($keys[17], $arr)) { if (array_key_exists($keys[17], $arr)) {
$this->setProShowDelegate($arr[$keys[17]]); $this->setProTypeProcess($arr[$keys[17]]);
} }
if (array_key_exists($keys[18], $arr)) { if (array_key_exists($keys[18], $arr)) {
$this->setProShowDynaform($arr[$keys[18]]); $this->setProShowDelegate($arr[$keys[18]]);
} }
if (array_key_exists($keys[19], $arr)) { if (array_key_exists($keys[19], $arr)) {
$this->setProCategory($arr[$keys[19]]); $this->setProShowDynaform($arr[$keys[19]]);
} }
if (array_key_exists($keys[20], $arr)) { if (array_key_exists($keys[20], $arr)) {
$this->setProSubCategory($arr[$keys[20]]); $this->setProCategory($arr[$keys[20]]);
} }
if (array_key_exists($keys[21], $arr)) { if (array_key_exists($keys[21], $arr)) {
$this->setProIndustry($arr[$keys[21]]); $this->setProSubCategory($arr[$keys[21]]);
} }
if (array_key_exists($keys[22], $arr)) { if (array_key_exists($keys[22], $arr)) {
$this->setProUpdateDate($arr[$keys[22]]); $this->setProIndustry($arr[$keys[22]]);
} }
if (array_key_exists($keys[23], $arr)) { if (array_key_exists($keys[23], $arr)) {
$this->setProCreateDate($arr[$keys[23]]); $this->setProUpdateDate($arr[$keys[23]]);
} }
if (array_key_exists($keys[24], $arr)) { if (array_key_exists($keys[24], $arr)) {
$this->setProCreateUser($arr[$keys[24]]); $this->setProCreateDate($arr[$keys[24]]);
} }
if (array_key_exists($keys[25], $arr)) { if (array_key_exists($keys[25], $arr)) {
$this->setProHeight($arr[$keys[25]]); $this->setProCreateUser($arr[$keys[25]]);
} }
if (array_key_exists($keys[26], $arr)) { if (array_key_exists($keys[26], $arr)) {
$this->setProWidth($arr[$keys[26]]); $this->setProHeight($arr[$keys[26]]);
} }
if (array_key_exists($keys[27], $arr)) { if (array_key_exists($keys[27], $arr)) {
$this->setProTitleX($arr[$keys[27]]); $this->setProWidth($arr[$keys[27]]);
} }
if (array_key_exists($keys[28], $arr)) { if (array_key_exists($keys[28], $arr)) {
$this->setProTitleY($arr[$keys[28]]); $this->setProTitleX($arr[$keys[28]]);
} }
if (array_key_exists($keys[29], $arr)) { if (array_key_exists($keys[29], $arr)) {
$this->setProDebug($arr[$keys[29]]); $this->setProTitleY($arr[$keys[29]]);
} }
if (array_key_exists($keys[30], $arr)) { if (array_key_exists($keys[30], $arr)) {
$this->setProDynaforms($arr[$keys[30]]); $this->setProDebug($arr[$keys[30]]);
} }
if (array_key_exists($keys[31], $arr)) { if (array_key_exists($keys[31], $arr)) {
$this->setProDerivationScreenTpl($arr[$keys[31]]); $this->setProDynaforms($arr[$keys[31]]);
} }
if (array_key_exists($keys[32], $arr)) { if (array_key_exists($keys[32], $arr)) {
$this->setProCost($arr[$keys[32]]); $this->setProDerivationScreenTpl($arr[$keys[32]]);
} }
if (array_key_exists($keys[33], $arr)) { if (array_key_exists($keys[33], $arr)) {
$this->setProUnitCost($arr[$keys[33]]); $this->setProCost($arr[$keys[33]]);
}
if (array_key_exists($keys[34], $arr)) {
$this->setProUnitCost($arr[$keys[34]]);
} }
} }
@@ -2208,6 +2260,10 @@ abstract class BaseProcess extends BaseObject implements Persistent
$criteria->add(ProcessPeer::PRO_SUBPROCESS, $this->pro_subprocess); $criteria->add(ProcessPeer::PRO_SUBPROCESS, $this->pro_subprocess);
} }
if ($this->isColumnModified(ProcessPeer::PRO_TRI_OPEN)) {
$criteria->add(ProcessPeer::PRO_TRI_OPEN, $this->pro_tri_open);
}
if ($this->isColumnModified(ProcessPeer::PRO_TRI_DELETED)) { if ($this->isColumnModified(ProcessPeer::PRO_TRI_DELETED)) {
$criteria->add(ProcessPeer::PRO_TRI_DELETED, $this->pro_tri_deleted); $criteria->add(ProcessPeer::PRO_TRI_DELETED, $this->pro_tri_deleted);
} }
@@ -2374,6 +2430,8 @@ abstract class BaseProcess extends BaseObject implements Persistent
$copyObj->setProSubprocess($this->pro_subprocess); $copyObj->setProSubprocess($this->pro_subprocess);
$copyObj->setProTriOpen($this->pro_tri_open);
$copyObj->setProTriDeleted($this->pro_tri_deleted); $copyObj->setProTriDeleted($this->pro_tri_deleted);
$copyObj->setProTriCanceled($this->pro_tri_canceled); $copyObj->setProTriCanceled($this->pro_tri_canceled);

View File

@@ -25,7 +25,7 @@ abstract class BaseProcessPeer
const CLASS_DEFAULT = 'classes.model.Process'; const CLASS_DEFAULT = 'classes.model.Process';
/** The total number of columns. */ /** The total number of columns. */
const NUM_COLUMNS = 34; const NUM_COLUMNS = 35;
/** The number of lazy-loaded columns. */ /** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0; const NUM_LAZY_LOAD_COLUMNS = 0;
@@ -64,6 +64,9 @@ abstract class BaseProcessPeer
/** the column name for the PRO_SUBPROCESS field */ /** the column name for the PRO_SUBPROCESS field */
const PRO_SUBPROCESS = 'PROCESS.PRO_SUBPROCESS'; const PRO_SUBPROCESS = 'PROCESS.PRO_SUBPROCESS';
/** the column name for the PRO_TRI_OPEN field */
const PRO_TRI_OPEN = 'PROCESS.PRO_TRI_OPEN';
/** the column name for the PRO_TRI_DELETED field */ /** the column name for the PRO_TRI_DELETED field */
const PRO_TRI_DELETED = 'PROCESS.PRO_TRI_DELETED'; const PRO_TRI_DELETED = 'PROCESS.PRO_TRI_DELETED';
@@ -144,10 +147,10 @@ abstract class BaseProcessPeer
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id' * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
*/ */
private static $fieldNames = array ( private static $fieldNames = array (
BasePeer::TYPE_PHPNAME => array ('ProUid', 'ProParent', 'ProTime', 'ProTimeunit', 'ProStatus', 'ProTypeDay', 'ProType', 'ProAssignment', 'ProShowMap', 'ProShowMessage', 'ProSubprocess', 'ProTriDeleted', 'ProTriCanceled', 'ProTriPaused', 'ProTriReassigned', 'ProTriUnpaused', 'ProTypeProcess', 'ProShowDelegate', 'ProShowDynaform', 'ProCategory', 'ProSubCategory', 'ProIndustry', 'ProUpdateDate', 'ProCreateDate', 'ProCreateUser', 'ProHeight', 'ProWidth', 'ProTitleX', 'ProTitleY', 'ProDebug', 'ProDynaforms', 'ProDerivationScreenTpl', 'ProCost', 'ProUnitCost', ), BasePeer::TYPE_PHPNAME => array ('ProUid', 'ProParent', 'ProTime', 'ProTimeunit', 'ProStatus', 'ProTypeDay', 'ProType', 'ProAssignment', 'ProShowMap', 'ProShowMessage', 'ProSubprocess', 'ProTriOpen', 'ProTriDeleted', 'ProTriCanceled', 'ProTriPaused', 'ProTriReassigned', 'ProTriUnpaused', 'ProTypeProcess', 'ProShowDelegate', 'ProShowDynaform', 'ProCategory', 'ProSubCategory', 'ProIndustry', 'ProUpdateDate', 'ProCreateDate', 'ProCreateUser', 'ProHeight', 'ProWidth', 'ProTitleX', 'ProTitleY', 'ProDebug', 'ProDynaforms', 'ProDerivationScreenTpl', 'ProCost', 'ProUnitCost', ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID, ProcessPeer::PRO_PARENT, ProcessPeer::PRO_TIME, ProcessPeer::PRO_TIMEUNIT, ProcessPeer::PRO_STATUS, ProcessPeer::PRO_TYPE_DAY, ProcessPeer::PRO_TYPE, ProcessPeer::PRO_ASSIGNMENT, ProcessPeer::PRO_SHOW_MAP, ProcessPeer::PRO_SHOW_MESSAGE, ProcessPeer::PRO_SUBPROCESS, ProcessPeer::PRO_TRI_DELETED, ProcessPeer::PRO_TRI_CANCELED, ProcessPeer::PRO_TRI_PAUSED, ProcessPeer::PRO_TRI_REASSIGNED, ProcessPeer::PRO_TRI_UNPAUSED, ProcessPeer::PRO_TYPE_PROCESS, ProcessPeer::PRO_SHOW_DELEGATE, ProcessPeer::PRO_SHOW_DYNAFORM, ProcessPeer::PRO_CATEGORY, ProcessPeer::PRO_SUB_CATEGORY, ProcessPeer::PRO_INDUSTRY, ProcessPeer::PRO_UPDATE_DATE, ProcessPeer::PRO_CREATE_DATE, ProcessPeer::PRO_CREATE_USER, ProcessPeer::PRO_HEIGHT, ProcessPeer::PRO_WIDTH, ProcessPeer::PRO_TITLE_X, ProcessPeer::PRO_TITLE_Y, ProcessPeer::PRO_DEBUG, ProcessPeer::PRO_DYNAFORMS, ProcessPeer::PRO_DERIVATION_SCREEN_TPL, ProcessPeer::PRO_COST, ProcessPeer::PRO_UNIT_COST, ), BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID, ProcessPeer::PRO_PARENT, ProcessPeer::PRO_TIME, ProcessPeer::PRO_TIMEUNIT, ProcessPeer::PRO_STATUS, ProcessPeer::PRO_TYPE_DAY, ProcessPeer::PRO_TYPE, ProcessPeer::PRO_ASSIGNMENT, ProcessPeer::PRO_SHOW_MAP, ProcessPeer::PRO_SHOW_MESSAGE, ProcessPeer::PRO_SUBPROCESS, ProcessPeer::PRO_TRI_OPEN, ProcessPeer::PRO_TRI_DELETED, ProcessPeer::PRO_TRI_CANCELED, ProcessPeer::PRO_TRI_PAUSED, ProcessPeer::PRO_TRI_REASSIGNED, ProcessPeer::PRO_TRI_UNPAUSED, ProcessPeer::PRO_TYPE_PROCESS, ProcessPeer::PRO_SHOW_DELEGATE, ProcessPeer::PRO_SHOW_DYNAFORM, ProcessPeer::PRO_CATEGORY, ProcessPeer::PRO_SUB_CATEGORY, ProcessPeer::PRO_INDUSTRY, ProcessPeer::PRO_UPDATE_DATE, ProcessPeer::PRO_CREATE_DATE, ProcessPeer::PRO_CREATE_USER, ProcessPeer::PRO_HEIGHT, ProcessPeer::PRO_WIDTH, ProcessPeer::PRO_TITLE_X, ProcessPeer::PRO_TITLE_Y, ProcessPeer::PRO_DEBUG, ProcessPeer::PRO_DYNAFORMS, ProcessPeer::PRO_DERIVATION_SCREEN_TPL, ProcessPeer::PRO_COST, ProcessPeer::PRO_UNIT_COST, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'PRO_PARENT', 'PRO_TIME', 'PRO_TIMEUNIT', 'PRO_STATUS', 'PRO_TYPE_DAY', 'PRO_TYPE', 'PRO_ASSIGNMENT', 'PRO_SHOW_MAP', 'PRO_SHOW_MESSAGE', 'PRO_SUBPROCESS', 'PRO_TRI_DELETED', 'PRO_TRI_CANCELED', 'PRO_TRI_PAUSED', 'PRO_TRI_REASSIGNED', 'PRO_TRI_UNPAUSED', 'PRO_TYPE_PROCESS', 'PRO_SHOW_DELEGATE', 'PRO_SHOW_DYNAFORM', 'PRO_CATEGORY', 'PRO_SUB_CATEGORY', 'PRO_INDUSTRY', 'PRO_UPDATE_DATE', 'PRO_CREATE_DATE', 'PRO_CREATE_USER', 'PRO_HEIGHT', 'PRO_WIDTH', 'PRO_TITLE_X', 'PRO_TITLE_Y', 'PRO_DEBUG', 'PRO_DYNAFORMS', 'PRO_DERIVATION_SCREEN_TPL', 'PRO_COST', 'PRO_UNIT_COST', ), BasePeer::TYPE_FIELDNAME => array ('PRO_UID', 'PRO_PARENT', 'PRO_TIME', 'PRO_TIMEUNIT', 'PRO_STATUS', 'PRO_TYPE_DAY', 'PRO_TYPE', 'PRO_ASSIGNMENT', 'PRO_SHOW_MAP', 'PRO_SHOW_MESSAGE', 'PRO_SUBPROCESS', 'PRO_TRI_OPEN', 'PRO_TRI_DELETED', 'PRO_TRI_CANCELED', 'PRO_TRI_PAUSED', 'PRO_TRI_REASSIGNED', 'PRO_TRI_UNPAUSED', 'PRO_TYPE_PROCESS', 'PRO_SHOW_DELEGATE', 'PRO_SHOW_DYNAFORM', 'PRO_CATEGORY', 'PRO_SUB_CATEGORY', 'PRO_INDUSTRY', 'PRO_UPDATE_DATE', 'PRO_CREATE_DATE', 'PRO_CREATE_USER', 'PRO_HEIGHT', 'PRO_WIDTH', 'PRO_TITLE_X', 'PRO_TITLE_Y', 'PRO_DEBUG', 'PRO_DYNAFORMS', 'PRO_DERIVATION_SCREEN_TPL', 'PRO_COST', 'PRO_UNIT_COST', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, ) BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, )
); );
/** /**
@@ -157,10 +160,10 @@ abstract class BaseProcessPeer
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0 * e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
*/ */
private static $fieldKeys = array ( private static $fieldKeys = array (
BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'ProParent' => 1, 'ProTime' => 2, 'ProTimeunit' => 3, 'ProStatus' => 4, 'ProTypeDay' => 5, 'ProType' => 6, 'ProAssignment' => 7, 'ProShowMap' => 8, 'ProShowMessage' => 9, 'ProSubprocess' => 10, 'ProTriDeleted' => 11, 'ProTriCanceled' => 12, 'ProTriPaused' => 13, 'ProTriReassigned' => 14, 'ProTriUnpaused' => 15, 'ProTypeProcess' => 16, 'ProShowDelegate' => 17, 'ProShowDynaform' => 18, 'ProCategory' => 19, 'ProSubCategory' => 20, 'ProIndustry' => 21, 'ProUpdateDate' => 22, 'ProCreateDate' => 23, 'ProCreateUser' => 24, 'ProHeight' => 25, 'ProWidth' => 26, 'ProTitleX' => 27, 'ProTitleY' => 28, 'ProDebug' => 29, 'ProDynaforms' => 30, 'ProDerivationScreenTpl' => 31, 'ProCost' => 32, 'ProUnitCost' => 33, ), BasePeer::TYPE_PHPNAME => array ('ProUid' => 0, 'ProParent' => 1, 'ProTime' => 2, 'ProTimeunit' => 3, 'ProStatus' => 4, 'ProTypeDay' => 5, 'ProType' => 6, 'ProAssignment' => 7, 'ProShowMap' => 8, 'ProShowMessage' => 9, 'ProSubprocess' => 10, 'ProTriOpen' => 11, 'ProTriDeleted' => 12, 'ProTriCanceled' => 13, 'ProTriPaused' => 14, 'ProTriReassigned' => 15, 'ProTriUnpaused' => 16, 'ProTypeProcess' => 17, 'ProShowDelegate' => 18, 'ProShowDynaform' => 19, 'ProCategory' => 20, 'ProSubCategory' => 21, 'ProIndustry' => 22, 'ProUpdateDate' => 23, 'ProCreateDate' => 24, 'ProCreateUser' => 25, 'ProHeight' => 26, 'ProWidth' => 27, 'ProTitleX' => 28, 'ProTitleY' => 29, 'ProDebug' => 30, 'ProDynaforms' => 31, 'ProDerivationScreenTpl' => 32, 'ProCost' => 33, 'ProUnitCost' => 34, ),
BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID => 0, ProcessPeer::PRO_PARENT => 1, ProcessPeer::PRO_TIME => 2, ProcessPeer::PRO_TIMEUNIT => 3, ProcessPeer::PRO_STATUS => 4, ProcessPeer::PRO_TYPE_DAY => 5, ProcessPeer::PRO_TYPE => 6, ProcessPeer::PRO_ASSIGNMENT => 7, ProcessPeer::PRO_SHOW_MAP => 8, ProcessPeer::PRO_SHOW_MESSAGE => 9, ProcessPeer::PRO_SUBPROCESS => 10, ProcessPeer::PRO_TRI_DELETED => 11, ProcessPeer::PRO_TRI_CANCELED => 12, ProcessPeer::PRO_TRI_PAUSED => 13, ProcessPeer::PRO_TRI_REASSIGNED => 14, ProcessPeer::PRO_TRI_UNPAUSED => 15, ProcessPeer::PRO_TYPE_PROCESS => 16, ProcessPeer::PRO_SHOW_DELEGATE => 17, ProcessPeer::PRO_SHOW_DYNAFORM => 18, ProcessPeer::PRO_CATEGORY => 19, ProcessPeer::PRO_SUB_CATEGORY => 20, ProcessPeer::PRO_INDUSTRY => 21, ProcessPeer::PRO_UPDATE_DATE => 22, ProcessPeer::PRO_CREATE_DATE => 23, ProcessPeer::PRO_CREATE_USER => 24, ProcessPeer::PRO_HEIGHT => 25, ProcessPeer::PRO_WIDTH => 26, ProcessPeer::PRO_TITLE_X => 27, ProcessPeer::PRO_TITLE_Y => 28, ProcessPeer::PRO_DEBUG => 29, ProcessPeer::PRO_DYNAFORMS => 30, ProcessPeer::PRO_DERIVATION_SCREEN_TPL => 31, ProcessPeer::PRO_COST => 32, ProcessPeer::PRO_UNIT_COST => 33, ), BasePeer::TYPE_COLNAME => array (ProcessPeer::PRO_UID => 0, ProcessPeer::PRO_PARENT => 1, ProcessPeer::PRO_TIME => 2, ProcessPeer::PRO_TIMEUNIT => 3, ProcessPeer::PRO_STATUS => 4, ProcessPeer::PRO_TYPE_DAY => 5, ProcessPeer::PRO_TYPE => 6, ProcessPeer::PRO_ASSIGNMENT => 7, ProcessPeer::PRO_SHOW_MAP => 8, ProcessPeer::PRO_SHOW_MESSAGE => 9, ProcessPeer::PRO_SUBPROCESS => 10, ProcessPeer::PRO_TRI_OPEN => 11, ProcessPeer::PRO_TRI_DELETED => 12, ProcessPeer::PRO_TRI_CANCELED => 13, ProcessPeer::PRO_TRI_PAUSED => 14, ProcessPeer::PRO_TRI_REASSIGNED => 15, ProcessPeer::PRO_TRI_UNPAUSED => 16, ProcessPeer::PRO_TYPE_PROCESS => 17, ProcessPeer::PRO_SHOW_DELEGATE => 18, ProcessPeer::PRO_SHOW_DYNAFORM => 19, ProcessPeer::PRO_CATEGORY => 20, ProcessPeer::PRO_SUB_CATEGORY => 21, ProcessPeer::PRO_INDUSTRY => 22, ProcessPeer::PRO_UPDATE_DATE => 23, ProcessPeer::PRO_CREATE_DATE => 24, ProcessPeer::PRO_CREATE_USER => 25, ProcessPeer::PRO_HEIGHT => 26, ProcessPeer::PRO_WIDTH => 27, ProcessPeer::PRO_TITLE_X => 28, ProcessPeer::PRO_TITLE_Y => 29, ProcessPeer::PRO_DEBUG => 30, ProcessPeer::PRO_DYNAFORMS => 31, ProcessPeer::PRO_DERIVATION_SCREEN_TPL => 32, ProcessPeer::PRO_COST => 33, ProcessPeer::PRO_UNIT_COST => 34, ),
BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'PRO_PARENT' => 1, 'PRO_TIME' => 2, 'PRO_TIMEUNIT' => 3, 'PRO_STATUS' => 4, 'PRO_TYPE_DAY' => 5, 'PRO_TYPE' => 6, 'PRO_ASSIGNMENT' => 7, 'PRO_SHOW_MAP' => 8, 'PRO_SHOW_MESSAGE' => 9, 'PRO_SUBPROCESS' => 10, 'PRO_TRI_DELETED' => 11, 'PRO_TRI_CANCELED' => 12, 'PRO_TRI_PAUSED' => 13, 'PRO_TRI_REASSIGNED' => 14, 'PRO_TRI_UNPAUSED' => 15, 'PRO_TYPE_PROCESS' => 16, 'PRO_SHOW_DELEGATE' => 17, 'PRO_SHOW_DYNAFORM' => 18, 'PRO_CATEGORY' => 19, 'PRO_SUB_CATEGORY' => 20, 'PRO_INDUSTRY' => 21, 'PRO_UPDATE_DATE' => 22, 'PRO_CREATE_DATE' => 23, 'PRO_CREATE_USER' => 24, 'PRO_HEIGHT' => 25, 'PRO_WIDTH' => 26, 'PRO_TITLE_X' => 27, 'PRO_TITLE_Y' => 28, 'PRO_DEBUG' => 29, 'PRO_DYNAFORMS' => 30, 'PRO_DERIVATION_SCREEN_TPL' => 31, 'PRO_COST' => 32, 'PRO_UNIT_COST' => 33, ), BasePeer::TYPE_FIELDNAME => array ('PRO_UID' => 0, 'PRO_PARENT' => 1, 'PRO_TIME' => 2, 'PRO_TIMEUNIT' => 3, 'PRO_STATUS' => 4, 'PRO_TYPE_DAY' => 5, 'PRO_TYPE' => 6, 'PRO_ASSIGNMENT' => 7, 'PRO_SHOW_MAP' => 8, 'PRO_SHOW_MESSAGE' => 9, 'PRO_SUBPROCESS' => 10, 'PRO_TRI_OPEN' => 11, 'PRO_TRI_DELETED' => 12, 'PRO_TRI_CANCELED' => 13, 'PRO_TRI_PAUSED' => 14, 'PRO_TRI_REASSIGNED' => 15, 'PRO_TRI_UNPAUSED' => 16, 'PRO_TYPE_PROCESS' => 17, 'PRO_SHOW_DELEGATE' => 18, 'PRO_SHOW_DYNAFORM' => 19, 'PRO_CATEGORY' => 20, 'PRO_SUB_CATEGORY' => 21, 'PRO_INDUSTRY' => 22, 'PRO_UPDATE_DATE' => 23, 'PRO_CREATE_DATE' => 24, 'PRO_CREATE_USER' => 25, 'PRO_HEIGHT' => 26, 'PRO_WIDTH' => 27, 'PRO_TITLE_X' => 28, 'PRO_TITLE_Y' => 29, 'PRO_DEBUG' => 30, 'PRO_DYNAFORMS' => 31, 'PRO_DERIVATION_SCREEN_TPL' => 32, 'PRO_COST' => 33, 'PRO_UNIT_COST' => 34, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, ) BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, )
); );
/** /**
@@ -283,6 +286,8 @@ abstract class BaseProcessPeer
$criteria->addSelectColumn(ProcessPeer::PRO_SUBPROCESS); $criteria->addSelectColumn(ProcessPeer::PRO_SUBPROCESS);
$criteria->addSelectColumn(ProcessPeer::PRO_TRI_OPEN);
$criteria->addSelectColumn(ProcessPeer::PRO_TRI_DELETED); $criteria->addSelectColumn(ProcessPeer::PRO_TRI_DELETED);
$criteria->addSelectColumn(ProcessPeer::PRO_TRI_CANCELED); $criteria->addSelectColumn(ProcessPeer::PRO_TRI_CANCELED);