Merged in feature/HOR-4480 (pull request #6474)
HOR-4480 Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com> Approved-by: Paula Quispe <paula.quispe@processmaker.com>
This commit is contained in:
@@ -79,16 +79,18 @@ class AppDataChangeLogMapBuilder
|
||||
|
||||
$tMap->addColumn('USR_ID', 'UsrId', 'int', CreoleTypes::INTEGER, false, null);
|
||||
|
||||
$tMap->addColumn('DYN_ID', 'DynId', 'int', CreoleTypes::INTEGER, false, null);
|
||||
$tMap->addColumn('OBJECT_TYPE', 'ObjectType', 'int', CreoleTypes::INTEGER, false, null);
|
||||
|
||||
$tMap->addColumn('SOURCE_ID', 'SourceId', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
$tMap->addColumn('OBJECT_ID', 'ObjectId', 'int', CreoleTypes::INTEGER, false, null);
|
||||
|
||||
$tMap->addColumn('ST_TYPE', 'StType', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
$tMap->addColumn('OBJECT_UID', 'ObjectUid', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('EXECUTED_AT', 'ExecutedAt', 'int', CreoleTypes::INTEGER, false, null);
|
||||
|
||||
$tMap->addColumn('SOURCE_ID', 'SourceId', 'int', CreoleTypes::INTEGER, false, null);
|
||||
|
||||
$tMap->addColumn('DATA', 'Data', 'string', CreoleTypes::LONGVARCHAR, true, null);
|
||||
|
||||
$tMap->addColumn('SOURCE_TO_SAVE', 'SourceToSave', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('SKIN', 'Skin', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
$tMap->addColumn('LANGUAGE', 'Language', 'string', CreoleTypes::VARCHAR, false, 32);
|
||||
|
||||
@@ -63,10 +63,12 @@ class DynaformMapBuilder
|
||||
$tMap = $this->dbMap->addTable('DYNAFORM');
|
||||
$tMap->setPhpName('Dynaform');
|
||||
|
||||
$tMap->setUseIdGenerator(false);
|
||||
$tMap->setUseIdGenerator(true);
|
||||
|
||||
$tMap->addPrimaryKey('DYN_UID', 'DynUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addColumn('DYN_ID', 'DynId', 'int', CreoleTypes::INTEGER, true, null);
|
||||
|
||||
$tMap->addColumn('DYN_TITLE', 'DynTitle', 'string', CreoleTypes::LONGVARCHAR, true, null);
|
||||
|
||||
$tMap->addColumn('DYN_DESCRIPTION', 'DynDescription', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
@@ -63,10 +63,12 @@ class InputDocumentMapBuilder
|
||||
$tMap = $this->dbMap->addTable('INPUT_DOCUMENT');
|
||||
$tMap->setPhpName('InputDocument');
|
||||
|
||||
$tMap->setUseIdGenerator(false);
|
||||
$tMap->setUseIdGenerator(true);
|
||||
|
||||
$tMap->addPrimaryKey('INP_DOC_UID', 'InpDocUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addColumn('INP_DOC_ID', 'InpDocId', 'int', CreoleTypes::INTEGER, true, null);
|
||||
|
||||
$tMap->addColumn('PRO_UID', 'ProUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addColumn('INP_DOC_TITLE', 'InpDocTitle', 'string', CreoleTypes::LONGVARCHAR, true, null);
|
||||
|
||||
@@ -63,10 +63,12 @@ class OutputDocumentMapBuilder
|
||||
$tMap = $this->dbMap->addTable('OUTPUT_DOCUMENT');
|
||||
$tMap->setPhpName('OutputDocument');
|
||||
|
||||
$tMap->setUseIdGenerator(false);
|
||||
$tMap->setUseIdGenerator(true);
|
||||
|
||||
$tMap->addPrimaryKey('OUT_DOC_UID', 'OutDocUid', 'string', CreoleTypes::VARCHAR, true, 32);
|
||||
|
||||
$tMap->addColumn('OUT_DOC_ID', 'OutDocId', 'int', CreoleTypes::INTEGER, true, null);
|
||||
|
||||
$tMap->addColumn('OUT_DOC_TITLE', 'OutDocTitle', 'string', CreoleTypes::LONGVARCHAR, true, null);
|
||||
|
||||
$tMap->addColumn('OUT_DOC_DESCRIPTION', 'OutDocDescription', 'string', CreoleTypes::LONGVARCHAR, false, null);
|
||||
|
||||
@@ -70,22 +70,34 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
protected $usr_id = 0;
|
||||
|
||||
/**
|
||||
* The value for the dyn_id field.
|
||||
* The value for the object_type field.
|
||||
* @var int
|
||||
*/
|
||||
protected $dyn_id = 0;
|
||||
protected $object_type = 0;
|
||||
|
||||
/**
|
||||
* The value for the object_id field.
|
||||
* @var int
|
||||
*/
|
||||
protected $object_id = 0;
|
||||
|
||||
/**
|
||||
* The value for the object_uid field.
|
||||
* @var string
|
||||
*/
|
||||
protected $object_uid = '';
|
||||
|
||||
/**
|
||||
* The value for the executed_at field.
|
||||
* @var int
|
||||
*/
|
||||
protected $executed_at = 0;
|
||||
|
||||
/**
|
||||
* The value for the source_id field.
|
||||
* @var string
|
||||
* @var int
|
||||
*/
|
||||
protected $source_id = '';
|
||||
|
||||
/**
|
||||
* The value for the st_type field.
|
||||
* @var string
|
||||
*/
|
||||
protected $st_type = '';
|
||||
protected $source_id = 0;
|
||||
|
||||
/**
|
||||
* The value for the data field.
|
||||
@@ -93,12 +105,6 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $data;
|
||||
|
||||
/**
|
||||
* The value for the source_to_save field.
|
||||
* @var string
|
||||
*/
|
||||
protected $source_to_save = '';
|
||||
|
||||
/**
|
||||
* The value for the skin field.
|
||||
* @var string
|
||||
@@ -224,20 +230,53 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dyn_id] column value.
|
||||
* Get the [object_type] column value.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getDynId()
|
||||
public function getObjectType()
|
||||
{
|
||||
|
||||
return $this->dyn_id;
|
||||
return $this->object_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [object_id] column value.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getObjectId()
|
||||
{
|
||||
|
||||
return $this->object_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [object_uid] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getObjectUid()
|
||||
{
|
||||
|
||||
return $this->object_uid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [executed_at] column value.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getExecutedAt()
|
||||
{
|
||||
|
||||
return $this->executed_at;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [source_id] column value.
|
||||
*
|
||||
* @return string
|
||||
* @return int
|
||||
*/
|
||||
public function getSourceId()
|
||||
{
|
||||
@@ -245,17 +284,6 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
return $this->source_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [st_type] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getStType()
|
||||
{
|
||||
|
||||
return $this->st_type;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [data] column value.
|
||||
*
|
||||
@@ -267,17 +295,6 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
return $this->data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [source_to_save] column value.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getSourceToSave()
|
||||
{
|
||||
|
||||
return $this->source_to_save;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [skin] column value.
|
||||
*
|
||||
@@ -462,12 +479,12 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
} // setUsrId()
|
||||
|
||||
/**
|
||||
* Set the value of [dyn_id] column.
|
||||
* Set the value of [object_type] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setDynId($v)
|
||||
public function setObjectType($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
@@ -476,57 +493,101 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->dyn_id !== $v || $v === 0) {
|
||||
$this->dyn_id = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::DYN_ID;
|
||||
if ($this->object_type !== $v || $v === 0) {
|
||||
$this->object_type = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::OBJECT_TYPE;
|
||||
}
|
||||
|
||||
} // setDynId()
|
||||
} // setObjectType()
|
||||
|
||||
/**
|
||||
* Set the value of [object_id] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setObjectId($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->object_id !== $v || $v === 0) {
|
||||
$this->object_id = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::OBJECT_ID;
|
||||
}
|
||||
|
||||
} // setObjectId()
|
||||
|
||||
/**
|
||||
* Set the value of [object_uid] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setObjectUid($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->object_uid !== $v || $v === '') {
|
||||
$this->object_uid = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::OBJECT_UID;
|
||||
}
|
||||
|
||||
} // setObjectUid()
|
||||
|
||||
/**
|
||||
* Set the value of [executed_at] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setExecutedAt($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->executed_at !== $v || $v === 0) {
|
||||
$this->executed_at = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::EXECUTED_AT;
|
||||
}
|
||||
|
||||
} // setExecutedAt()
|
||||
|
||||
/**
|
||||
* Set the value of [source_id] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setSourceId($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;
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->source_id !== $v || $v === '') {
|
||||
if ($this->source_id !== $v || $v === 0) {
|
||||
$this->source_id = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::SOURCE_ID;
|
||||
}
|
||||
|
||||
} // setSourceId()
|
||||
|
||||
/**
|
||||
* Set the value of [st_type] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setStType($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->st_type !== $v || $v === '') {
|
||||
$this->st_type = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::ST_TYPE;
|
||||
}
|
||||
|
||||
} // setStType()
|
||||
|
||||
/**
|
||||
* Set the value of [data] column.
|
||||
*
|
||||
@@ -549,28 +610,6 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
|
||||
} // setData()
|
||||
|
||||
/**
|
||||
* Set the value of [source_to_save] column.
|
||||
*
|
||||
* @param string $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setSourceToSave($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->source_to_save !== $v || $v === '') {
|
||||
$this->source_to_save = $v;
|
||||
$this->modifiedColumns[] = AppDataChangeLogPeer::SOURCE_TO_SAVE;
|
||||
}
|
||||
|
||||
} // setSourceToSave()
|
||||
|
||||
/**
|
||||
* Set the value of [skin] column.
|
||||
*
|
||||
@@ -646,26 +685,28 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
|
||||
$this->usr_id = $rs->getInt($startcol + 6);
|
||||
|
||||
$this->dyn_id = $rs->getInt($startcol + 7);
|
||||
$this->object_type = $rs->getInt($startcol + 7);
|
||||
|
||||
$this->source_id = $rs->getString($startcol + 8);
|
||||
$this->object_id = $rs->getInt($startcol + 8);
|
||||
|
||||
$this->st_type = $rs->getString($startcol + 9);
|
||||
$this->object_uid = $rs->getString($startcol + 9);
|
||||
|
||||
$this->data = $rs->getString($startcol + 10);
|
||||
$this->executed_at = $rs->getInt($startcol + 10);
|
||||
|
||||
$this->source_to_save = $rs->getString($startcol + 11);
|
||||
$this->source_id = $rs->getInt($startcol + 11);
|
||||
|
||||
$this->skin = $rs->getString($startcol + 12);
|
||||
$this->data = $rs->getString($startcol + 12);
|
||||
|
||||
$this->language = $rs->getString($startcol + 13);
|
||||
$this->skin = $rs->getString($startcol + 13);
|
||||
|
||||
$this->language = $rs->getString($startcol + 14);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 14; // 14 = AppDataChangeLogPeer::NUM_COLUMNS - AppDataChangeLogPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 15; // 15 = AppDataChangeLogPeer::NUM_COLUMNS - AppDataChangeLogPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating AppDataChangeLog object", $e);
|
||||
@@ -893,24 +934,27 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
return $this->getUsrId();
|
||||
break;
|
||||
case 7:
|
||||
return $this->getDynId();
|
||||
return $this->getObjectType();
|
||||
break;
|
||||
case 8:
|
||||
return $this->getSourceId();
|
||||
return $this->getObjectId();
|
||||
break;
|
||||
case 9:
|
||||
return $this->getStType();
|
||||
return $this->getObjectUid();
|
||||
break;
|
||||
case 10:
|
||||
return $this->getData();
|
||||
return $this->getExecutedAt();
|
||||
break;
|
||||
case 11:
|
||||
return $this->getSourceToSave();
|
||||
return $this->getSourceId();
|
||||
break;
|
||||
case 12:
|
||||
return $this->getSkin();
|
||||
return $this->getData();
|
||||
break;
|
||||
case 13:
|
||||
return $this->getSkin();
|
||||
break;
|
||||
case 14:
|
||||
return $this->getLanguage();
|
||||
break;
|
||||
default:
|
||||
@@ -940,13 +984,14 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
$keys[4] => $this->getProId(),
|
||||
$keys[5] => $this->getTasId(),
|
||||
$keys[6] => $this->getUsrId(),
|
||||
$keys[7] => $this->getDynId(),
|
||||
$keys[8] => $this->getSourceId(),
|
||||
$keys[9] => $this->getStType(),
|
||||
$keys[10] => $this->getData(),
|
||||
$keys[11] => $this->getSourceToSave(),
|
||||
$keys[12] => $this->getSkin(),
|
||||
$keys[13] => $this->getLanguage(),
|
||||
$keys[7] => $this->getObjectType(),
|
||||
$keys[8] => $this->getObjectId(),
|
||||
$keys[9] => $this->getObjectUid(),
|
||||
$keys[10] => $this->getExecutedAt(),
|
||||
$keys[11] => $this->getSourceId(),
|
||||
$keys[12] => $this->getData(),
|
||||
$keys[13] => $this->getSkin(),
|
||||
$keys[14] => $this->getLanguage(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -1000,24 +1045,27 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
$this->setUsrId($value);
|
||||
break;
|
||||
case 7:
|
||||
$this->setDynId($value);
|
||||
$this->setObjectType($value);
|
||||
break;
|
||||
case 8:
|
||||
$this->setSourceId($value);
|
||||
$this->setObjectId($value);
|
||||
break;
|
||||
case 9:
|
||||
$this->setStType($value);
|
||||
$this->setObjectUid($value);
|
||||
break;
|
||||
case 10:
|
||||
$this->setData($value);
|
||||
$this->setExecutedAt($value);
|
||||
break;
|
||||
case 11:
|
||||
$this->setSourceToSave($value);
|
||||
$this->setSourceId($value);
|
||||
break;
|
||||
case 12:
|
||||
$this->setSkin($value);
|
||||
$this->setData($value);
|
||||
break;
|
||||
case 13:
|
||||
$this->setSkin($value);
|
||||
break;
|
||||
case 14:
|
||||
$this->setLanguage($value);
|
||||
break;
|
||||
} // switch()
|
||||
@@ -1072,31 +1120,35 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[7], $arr)) {
|
||||
$this->setDynId($arr[$keys[7]]);
|
||||
$this->setObjectType($arr[$keys[7]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[8], $arr)) {
|
||||
$this->setSourceId($arr[$keys[8]]);
|
||||
$this->setObjectId($arr[$keys[8]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[9], $arr)) {
|
||||
$this->setStType($arr[$keys[9]]);
|
||||
$this->setObjectUid($arr[$keys[9]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[10], $arr)) {
|
||||
$this->setData($arr[$keys[10]]);
|
||||
$this->setExecutedAt($arr[$keys[10]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[11], $arr)) {
|
||||
$this->setSourceToSave($arr[$keys[11]]);
|
||||
$this->setSourceId($arr[$keys[11]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[12], $arr)) {
|
||||
$this->setSkin($arr[$keys[12]]);
|
||||
$this->setData($arr[$keys[12]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[13], $arr)) {
|
||||
$this->setLanguage($arr[$keys[13]]);
|
||||
$this->setSkin($arr[$keys[13]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[14], $arr)) {
|
||||
$this->setLanguage($arr[$keys[14]]);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1138,26 +1190,30 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
$criteria->add(AppDataChangeLogPeer::USR_ID, $this->usr_id);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::DYN_ID)) {
|
||||
$criteria->add(AppDataChangeLogPeer::DYN_ID, $this->dyn_id);
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::OBJECT_TYPE)) {
|
||||
$criteria->add(AppDataChangeLogPeer::OBJECT_TYPE, $this->object_type);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::OBJECT_ID)) {
|
||||
$criteria->add(AppDataChangeLogPeer::OBJECT_ID, $this->object_id);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::OBJECT_UID)) {
|
||||
$criteria->add(AppDataChangeLogPeer::OBJECT_UID, $this->object_uid);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::EXECUTED_AT)) {
|
||||
$criteria->add(AppDataChangeLogPeer::EXECUTED_AT, $this->executed_at);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::SOURCE_ID)) {
|
||||
$criteria->add(AppDataChangeLogPeer::SOURCE_ID, $this->source_id);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::ST_TYPE)) {
|
||||
$criteria->add(AppDataChangeLogPeer::ST_TYPE, $this->st_type);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::DATA)) {
|
||||
$criteria->add(AppDataChangeLogPeer::DATA, $this->data);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::SOURCE_TO_SAVE)) {
|
||||
$criteria->add(AppDataChangeLogPeer::SOURCE_TO_SAVE, $this->source_to_save);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(AppDataChangeLogPeer::SKIN)) {
|
||||
$criteria->add(AppDataChangeLogPeer::SKIN, $this->skin);
|
||||
}
|
||||
@@ -1232,16 +1288,18 @@ abstract class BaseAppDataChangeLog extends BaseObject implements Persistent
|
||||
|
||||
$copyObj->setUsrId($this->usr_id);
|
||||
|
||||
$copyObj->setDynId($this->dyn_id);
|
||||
$copyObj->setObjectType($this->object_type);
|
||||
|
||||
$copyObj->setObjectId($this->object_id);
|
||||
|
||||
$copyObj->setObjectUid($this->object_uid);
|
||||
|
||||
$copyObj->setExecutedAt($this->executed_at);
|
||||
|
||||
$copyObj->setSourceId($this->source_id);
|
||||
|
||||
$copyObj->setStType($this->st_type);
|
||||
|
||||
$copyObj->setData($this->data);
|
||||
|
||||
$copyObj->setSourceToSave($this->source_to_save);
|
||||
|
||||
$copyObj->setSkin($this->skin);
|
||||
|
||||
$copyObj->setLanguage($this->language);
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseAppDataChangeLogPeer
|
||||
const CLASS_DEFAULT = 'classes.model.AppDataChangeLog';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 14;
|
||||
const NUM_COLUMNS = 15;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -52,21 +52,24 @@ abstract class BaseAppDataChangeLogPeer
|
||||
/** the column name for the USR_ID field */
|
||||
const USR_ID = 'APP_DATA_CHANGE_LOG.USR_ID';
|
||||
|
||||
/** the column name for the DYN_ID field */
|
||||
const DYN_ID = 'APP_DATA_CHANGE_LOG.DYN_ID';
|
||||
/** the column name for the OBJECT_TYPE field */
|
||||
const OBJECT_TYPE = 'APP_DATA_CHANGE_LOG.OBJECT_TYPE';
|
||||
|
||||
/** the column name for the OBJECT_ID field */
|
||||
const OBJECT_ID = 'APP_DATA_CHANGE_LOG.OBJECT_ID';
|
||||
|
||||
/** the column name for the OBJECT_UID field */
|
||||
const OBJECT_UID = 'APP_DATA_CHANGE_LOG.OBJECT_UID';
|
||||
|
||||
/** the column name for the EXECUTED_AT field */
|
||||
const EXECUTED_AT = 'APP_DATA_CHANGE_LOG.EXECUTED_AT';
|
||||
|
||||
/** the column name for the SOURCE_ID field */
|
||||
const SOURCE_ID = 'APP_DATA_CHANGE_LOG.SOURCE_ID';
|
||||
|
||||
/** the column name for the ST_TYPE field */
|
||||
const ST_TYPE = 'APP_DATA_CHANGE_LOG.ST_TYPE';
|
||||
|
||||
/** the column name for the DATA field */
|
||||
const DATA = 'APP_DATA_CHANGE_LOG.DATA';
|
||||
|
||||
/** the column name for the SOURCE_TO_SAVE field */
|
||||
const SOURCE_TO_SAVE = 'APP_DATA_CHANGE_LOG.SOURCE_TO_SAVE';
|
||||
|
||||
/** the column name for the SKIN field */
|
||||
const SKIN = 'APP_DATA_CHANGE_LOG.SKIN';
|
||||
|
||||
@@ -84,10 +87,10 @@ abstract class BaseAppDataChangeLogPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('ChangeLogId', 'Date', 'AppNumber', 'DelIndex', 'ProId', 'TasId', 'UsrId', 'DynId', 'SourceId', 'StType', 'Data', 'SourceToSave', 'Skin', 'Language', ),
|
||||
BasePeer::TYPE_COLNAME => array (AppDataChangeLogPeer::CHANGE_LOG_ID, AppDataChangeLogPeer::DATE, AppDataChangeLogPeer::APP_NUMBER, AppDataChangeLogPeer::DEL_INDEX, AppDataChangeLogPeer::PRO_ID, AppDataChangeLogPeer::TAS_ID, AppDataChangeLogPeer::USR_ID, AppDataChangeLogPeer::DYN_ID, AppDataChangeLogPeer::SOURCE_ID, AppDataChangeLogPeer::ST_TYPE, AppDataChangeLogPeer::DATA, AppDataChangeLogPeer::SOURCE_TO_SAVE, AppDataChangeLogPeer::SKIN, AppDataChangeLogPeer::LANGUAGE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('CHANGE_LOG_ID', 'DATE', 'APP_NUMBER', 'DEL_INDEX', 'PRO_ID', 'TAS_ID', 'USR_ID', 'DYN_ID', 'SOURCE_ID', 'ST_TYPE', 'DATA', 'SOURCE_TO_SAVE', 'SKIN', 'LANGUAGE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, )
|
||||
BasePeer::TYPE_PHPNAME => array ('ChangeLogId', 'Date', 'AppNumber', 'DelIndex', 'ProId', 'TasId', 'UsrId', 'ObjectType', 'ObjectId', 'ObjectUid', 'ExecutedAt', 'SourceId', 'Data', 'Skin', 'Language', ),
|
||||
BasePeer::TYPE_COLNAME => array (AppDataChangeLogPeer::CHANGE_LOG_ID, AppDataChangeLogPeer::DATE, AppDataChangeLogPeer::APP_NUMBER, AppDataChangeLogPeer::DEL_INDEX, AppDataChangeLogPeer::PRO_ID, AppDataChangeLogPeer::TAS_ID, AppDataChangeLogPeer::USR_ID, AppDataChangeLogPeer::OBJECT_TYPE, AppDataChangeLogPeer::OBJECT_ID, AppDataChangeLogPeer::OBJECT_UID, AppDataChangeLogPeer::EXECUTED_AT, AppDataChangeLogPeer::SOURCE_ID, AppDataChangeLogPeer::DATA, AppDataChangeLogPeer::SKIN, AppDataChangeLogPeer::LANGUAGE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('CHANGE_LOG_ID', 'DATE', 'APP_NUMBER', 'DEL_INDEX', 'PRO_ID', 'TAS_ID', 'USR_ID', 'OBJECT_TYPE', 'OBJECT_ID', 'OBJECT_UID', 'EXECUTED_AT', 'SOURCE_ID', 'DATA', 'SKIN', 'LANGUAGE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -97,10 +100,10 @@ abstract class BaseAppDataChangeLogPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('ChangeLogId' => 0, 'Date' => 1, 'AppNumber' => 2, 'DelIndex' => 3, 'ProId' => 4, 'TasId' => 5, 'UsrId' => 6, 'DynId' => 7, 'SourceId' => 8, 'StType' => 9, 'Data' => 10, 'SourceToSave' => 11, 'Skin' => 12, 'Language' => 13, ),
|
||||
BasePeer::TYPE_COLNAME => array (AppDataChangeLogPeer::CHANGE_LOG_ID => 0, AppDataChangeLogPeer::DATE => 1, AppDataChangeLogPeer::APP_NUMBER => 2, AppDataChangeLogPeer::DEL_INDEX => 3, AppDataChangeLogPeer::PRO_ID => 4, AppDataChangeLogPeer::TAS_ID => 5, AppDataChangeLogPeer::USR_ID => 6, AppDataChangeLogPeer::DYN_ID => 7, AppDataChangeLogPeer::SOURCE_ID => 8, AppDataChangeLogPeer::ST_TYPE => 9, AppDataChangeLogPeer::DATA => 10, AppDataChangeLogPeer::SOURCE_TO_SAVE => 11, AppDataChangeLogPeer::SKIN => 12, AppDataChangeLogPeer::LANGUAGE => 13, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('CHANGE_LOG_ID' => 0, 'DATE' => 1, 'APP_NUMBER' => 2, 'DEL_INDEX' => 3, 'PRO_ID' => 4, 'TAS_ID' => 5, 'USR_ID' => 6, 'DYN_ID' => 7, 'SOURCE_ID' => 8, 'ST_TYPE' => 9, 'DATA' => 10, 'SOURCE_TO_SAVE' => 11, 'SKIN' => 12, 'LANGUAGE' => 13, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, )
|
||||
BasePeer::TYPE_PHPNAME => array ('ChangeLogId' => 0, 'Date' => 1, 'AppNumber' => 2, 'DelIndex' => 3, 'ProId' => 4, 'TasId' => 5, 'UsrId' => 6, 'ObjectType' => 7, 'ObjectId' => 8, 'ObjectUid' => 9, 'ExecutedAt' => 10, 'SourceId' => 11, 'Data' => 12, 'Skin' => 13, 'Language' => 14, ),
|
||||
BasePeer::TYPE_COLNAME => array (AppDataChangeLogPeer::CHANGE_LOG_ID => 0, AppDataChangeLogPeer::DATE => 1, AppDataChangeLogPeer::APP_NUMBER => 2, AppDataChangeLogPeer::DEL_INDEX => 3, AppDataChangeLogPeer::PRO_ID => 4, AppDataChangeLogPeer::TAS_ID => 5, AppDataChangeLogPeer::USR_ID => 6, AppDataChangeLogPeer::OBJECT_TYPE => 7, AppDataChangeLogPeer::OBJECT_ID => 8, AppDataChangeLogPeer::OBJECT_UID => 9, AppDataChangeLogPeer::EXECUTED_AT => 10, AppDataChangeLogPeer::SOURCE_ID => 11, AppDataChangeLogPeer::DATA => 12, AppDataChangeLogPeer::SKIN => 13, AppDataChangeLogPeer::LANGUAGE => 14, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('CHANGE_LOG_ID' => 0, 'DATE' => 1, 'APP_NUMBER' => 2, 'DEL_INDEX' => 3, 'PRO_ID' => 4, 'TAS_ID' => 5, 'USR_ID' => 6, 'OBJECT_TYPE' => 7, 'OBJECT_ID' => 8, 'OBJECT_UID' => 9, 'EXECUTED_AT' => 10, 'SOURCE_ID' => 11, 'DATA' => 12, 'SKIN' => 13, 'LANGUAGE' => 14, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -215,16 +218,18 @@ abstract class BaseAppDataChangeLogPeer
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::USR_ID);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::DYN_ID);
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::OBJECT_TYPE);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::OBJECT_ID);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::OBJECT_UID);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::EXECUTED_AT);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::SOURCE_ID);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::ST_TYPE);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::DATA);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::SOURCE_TO_SAVE);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::SKIN);
|
||||
|
||||
$criteria->addSelectColumn(AppDataChangeLogPeer::LANGUAGE);
|
||||
|
||||
@@ -33,6 +33,12 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $dyn_uid = '';
|
||||
|
||||
/**
|
||||
* The value for the dyn_id field.
|
||||
* @var int
|
||||
*/
|
||||
protected $dyn_id;
|
||||
|
||||
/**
|
||||
* The value for the dyn_title field.
|
||||
* @var string
|
||||
@@ -112,6 +118,17 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
return $this->dyn_uid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dyn_id] column value.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getDynId()
|
||||
{
|
||||
|
||||
return $this->dyn_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [dyn_title] column value.
|
||||
*
|
||||
@@ -254,6 +271,28 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
|
||||
} // setDynUid()
|
||||
|
||||
/**
|
||||
* Set the value of [dyn_id] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setDynId($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->dyn_id !== $v) {
|
||||
$this->dyn_id = $v;
|
||||
$this->modifiedColumns[] = DynaformPeer::DYN_ID;
|
||||
}
|
||||
|
||||
} // setDynId()
|
||||
|
||||
/**
|
||||
* Set the value of [dyn_title] column.
|
||||
*
|
||||
@@ -478,30 +517,32 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
|
||||
$this->dyn_uid = $rs->getString($startcol + 0);
|
||||
|
||||
$this->dyn_title = $rs->getString($startcol + 1);
|
||||
$this->dyn_id = $rs->getInt($startcol + 1);
|
||||
|
||||
$this->dyn_description = $rs->getString($startcol + 2);
|
||||
$this->dyn_title = $rs->getString($startcol + 2);
|
||||
|
||||
$this->pro_uid = $rs->getString($startcol + 3);
|
||||
$this->dyn_description = $rs->getString($startcol + 3);
|
||||
|
||||
$this->dyn_type = $rs->getString($startcol + 4);
|
||||
$this->pro_uid = $rs->getString($startcol + 4);
|
||||
|
||||
$this->dyn_filename = $rs->getString($startcol + 5);
|
||||
$this->dyn_type = $rs->getString($startcol + 5);
|
||||
|
||||
$this->dyn_content = $rs->getString($startcol + 6);
|
||||
$this->dyn_filename = $rs->getString($startcol + 6);
|
||||
|
||||
$this->dyn_label = $rs->getString($startcol + 7);
|
||||
$this->dyn_content = $rs->getString($startcol + 7);
|
||||
|
||||
$this->dyn_version = $rs->getInt($startcol + 8);
|
||||
$this->dyn_label = $rs->getString($startcol + 8);
|
||||
|
||||
$this->dyn_update_date = $rs->getTimestamp($startcol + 9, null);
|
||||
$this->dyn_version = $rs->getInt($startcol + 9);
|
||||
|
||||
$this->dyn_update_date = $rs->getTimestamp($startcol + 10, null);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 10; // 10 = DynaformPeer::NUM_COLUMNS - DynaformPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 11; // 11 = DynaformPeer::NUM_COLUMNS - DynaformPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating Dynaform object", $e);
|
||||
@@ -709,30 +750,33 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
return $this->getDynUid();
|
||||
break;
|
||||
case 1:
|
||||
return $this->getDynTitle();
|
||||
return $this->getDynId();
|
||||
break;
|
||||
case 2:
|
||||
return $this->getDynDescription();
|
||||
return $this->getDynTitle();
|
||||
break;
|
||||
case 3:
|
||||
return $this->getProUid();
|
||||
return $this->getDynDescription();
|
||||
break;
|
||||
case 4:
|
||||
return $this->getDynType();
|
||||
return $this->getProUid();
|
||||
break;
|
||||
case 5:
|
||||
return $this->getDynFilename();
|
||||
return $this->getDynType();
|
||||
break;
|
||||
case 6:
|
||||
return $this->getDynContent();
|
||||
return $this->getDynFilename();
|
||||
break;
|
||||
case 7:
|
||||
return $this->getDynLabel();
|
||||
return $this->getDynContent();
|
||||
break;
|
||||
case 8:
|
||||
return $this->getDynVersion();
|
||||
return $this->getDynLabel();
|
||||
break;
|
||||
case 9:
|
||||
return $this->getDynVersion();
|
||||
break;
|
||||
case 10:
|
||||
return $this->getDynUpdateDate();
|
||||
break;
|
||||
default:
|
||||
@@ -756,15 +800,16 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
$keys = DynaformPeer::getFieldNames($keyType);
|
||||
$result = array(
|
||||
$keys[0] => $this->getDynUid(),
|
||||
$keys[1] => $this->getDynTitle(),
|
||||
$keys[2] => $this->getDynDescription(),
|
||||
$keys[3] => $this->getProUid(),
|
||||
$keys[4] => $this->getDynType(),
|
||||
$keys[5] => $this->getDynFilename(),
|
||||
$keys[6] => $this->getDynContent(),
|
||||
$keys[7] => $this->getDynLabel(),
|
||||
$keys[8] => $this->getDynVersion(),
|
||||
$keys[9] => $this->getDynUpdateDate(),
|
||||
$keys[1] => $this->getDynId(),
|
||||
$keys[2] => $this->getDynTitle(),
|
||||
$keys[3] => $this->getDynDescription(),
|
||||
$keys[4] => $this->getProUid(),
|
||||
$keys[5] => $this->getDynType(),
|
||||
$keys[6] => $this->getDynFilename(),
|
||||
$keys[7] => $this->getDynContent(),
|
||||
$keys[8] => $this->getDynLabel(),
|
||||
$keys[9] => $this->getDynVersion(),
|
||||
$keys[10] => $this->getDynUpdateDate(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -800,30 +845,33 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
$this->setDynUid($value);
|
||||
break;
|
||||
case 1:
|
||||
$this->setDynTitle($value);
|
||||
$this->setDynId($value);
|
||||
break;
|
||||
case 2:
|
||||
$this->setDynDescription($value);
|
||||
$this->setDynTitle($value);
|
||||
break;
|
||||
case 3:
|
||||
$this->setProUid($value);
|
||||
$this->setDynDescription($value);
|
||||
break;
|
||||
case 4:
|
||||
$this->setDynType($value);
|
||||
$this->setProUid($value);
|
||||
break;
|
||||
case 5:
|
||||
$this->setDynFilename($value);
|
||||
$this->setDynType($value);
|
||||
break;
|
||||
case 6:
|
||||
$this->setDynContent($value);
|
||||
$this->setDynFilename($value);
|
||||
break;
|
||||
case 7:
|
||||
$this->setDynLabel($value);
|
||||
$this->setDynContent($value);
|
||||
break;
|
||||
case 8:
|
||||
$this->setDynVersion($value);
|
||||
$this->setDynLabel($value);
|
||||
break;
|
||||
case 9:
|
||||
$this->setDynVersion($value);
|
||||
break;
|
||||
case 10:
|
||||
$this->setDynUpdateDate($value);
|
||||
break;
|
||||
} // switch()
|
||||
@@ -854,39 +902,43 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[1], $arr)) {
|
||||
$this->setDynTitle($arr[$keys[1]]);
|
||||
$this->setDynId($arr[$keys[1]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[2], $arr)) {
|
||||
$this->setDynDescription($arr[$keys[2]]);
|
||||
$this->setDynTitle($arr[$keys[2]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[3], $arr)) {
|
||||
$this->setProUid($arr[$keys[3]]);
|
||||
$this->setDynDescription($arr[$keys[3]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[4], $arr)) {
|
||||
$this->setDynType($arr[$keys[4]]);
|
||||
$this->setProUid($arr[$keys[4]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[5], $arr)) {
|
||||
$this->setDynFilename($arr[$keys[5]]);
|
||||
$this->setDynType($arr[$keys[5]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[6], $arr)) {
|
||||
$this->setDynContent($arr[$keys[6]]);
|
||||
$this->setDynFilename($arr[$keys[6]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[7], $arr)) {
|
||||
$this->setDynLabel($arr[$keys[7]]);
|
||||
$this->setDynContent($arr[$keys[7]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[8], $arr)) {
|
||||
$this->setDynVersion($arr[$keys[8]]);
|
||||
$this->setDynLabel($arr[$keys[8]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[9], $arr)) {
|
||||
$this->setDynUpdateDate($arr[$keys[9]]);
|
||||
$this->setDynVersion($arr[$keys[9]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[10], $arr)) {
|
||||
$this->setDynUpdateDate($arr[$keys[10]]);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -904,6 +956,10 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
$criteria->add(DynaformPeer::DYN_UID, $this->dyn_uid);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(DynaformPeer::DYN_ID)) {
|
||||
$criteria->add(DynaformPeer::DYN_ID, $this->dyn_id);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(DynaformPeer::DYN_TITLE)) {
|
||||
$criteria->add(DynaformPeer::DYN_TITLE, $this->dyn_title);
|
||||
}
|
||||
@@ -994,6 +1050,8 @@ abstract class BaseDynaform extends BaseObject implements Persistent
|
||||
public function copyInto($copyObj, $deepCopy = false)
|
||||
{
|
||||
|
||||
$copyObj->setDynId($this->dyn_id);
|
||||
|
||||
$copyObj->setDynTitle($this->dyn_title);
|
||||
|
||||
$copyObj->setDynDescription($this->dyn_description);
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseDynaformPeer
|
||||
const CLASS_DEFAULT = 'classes.model.Dynaform';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 10;
|
||||
const NUM_COLUMNS = 11;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -34,6 +34,9 @@ abstract class BaseDynaformPeer
|
||||
/** the column name for the DYN_UID field */
|
||||
const DYN_UID = 'DYNAFORM.DYN_UID';
|
||||
|
||||
/** the column name for the DYN_ID field */
|
||||
const DYN_ID = 'DYNAFORM.DYN_ID';
|
||||
|
||||
/** the column name for the DYN_TITLE field */
|
||||
const DYN_TITLE = 'DYNAFORM.DYN_TITLE';
|
||||
|
||||
@@ -72,10 +75,10 @@ abstract class BaseDynaformPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid', 'DynTitle', 'DynDescription', 'ProUid', 'DynType', 'DynFilename', 'DynContent', 'DynLabel', 'DynVersion', 'DynUpdateDate', ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID, DynaformPeer::DYN_TITLE, DynaformPeer::DYN_DESCRIPTION, DynaformPeer::PRO_UID, DynaformPeer::DYN_TYPE, DynaformPeer::DYN_FILENAME, DynaformPeer::DYN_CONTENT, DynaformPeer::DYN_LABEL, DynaformPeer::DYN_VERSION, DynaformPeer::DYN_UPDATE_DATE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID', 'DYN_TITLE', 'DYN_DESCRIPTION', 'PRO_UID', 'DYN_TYPE', 'DYN_FILENAME', 'DYN_CONTENT', 'DYN_LABEL', 'DYN_VERSION', 'DYN_UPDATE_DATE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, )
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid', 'DynId', 'DynTitle', 'DynDescription', 'ProUid', 'DynType', 'DynFilename', 'DynContent', 'DynLabel', 'DynVersion', 'DynUpdateDate', ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID, DynaformPeer::DYN_ID, DynaformPeer::DYN_TITLE, DynaformPeer::DYN_DESCRIPTION, DynaformPeer::PRO_UID, DynaformPeer::DYN_TYPE, DynaformPeer::DYN_FILENAME, DynaformPeer::DYN_CONTENT, DynaformPeer::DYN_LABEL, DynaformPeer::DYN_VERSION, DynaformPeer::DYN_UPDATE_DATE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID', 'DYN_ID', 'DYN_TITLE', 'DYN_DESCRIPTION', 'PRO_UID', 'DYN_TYPE', 'DYN_FILENAME', 'DYN_CONTENT', 'DYN_LABEL', 'DYN_VERSION', 'DYN_UPDATE_DATE', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -85,10 +88,10 @@ abstract class BaseDynaformPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid' => 0, 'DynTitle' => 1, 'DynDescription' => 2, 'ProUid' => 3, 'DynType' => 4, 'DynFilename' => 5, 'DynContent' => 6, 'DynLabel' => 7, 'DynVersion' => 8, 'DynUpdateDate' => 9, ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID => 0, DynaformPeer::DYN_TITLE => 1, DynaformPeer::DYN_DESCRIPTION => 2, DynaformPeer::PRO_UID => 3, DynaformPeer::DYN_TYPE => 4, DynaformPeer::DYN_FILENAME => 5, DynaformPeer::DYN_CONTENT => 6, DynaformPeer::DYN_LABEL => 7, DynaformPeer::DYN_VERSION => 8, DynaformPeer::DYN_UPDATE_DATE => 9, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID' => 0, 'DYN_TITLE' => 1, 'DYN_DESCRIPTION' => 2, 'PRO_UID' => 3, 'DYN_TYPE' => 4, 'DYN_FILENAME' => 5, 'DYN_CONTENT' => 6, 'DYN_LABEL' => 7, 'DYN_VERSION' => 8, 'DYN_UPDATE_DATE' => 9, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, )
|
||||
BasePeer::TYPE_PHPNAME => array ('DynUid' => 0, 'DynId' => 1, 'DynTitle' => 2, 'DynDescription' => 3, 'ProUid' => 4, 'DynType' => 5, 'DynFilename' => 6, 'DynContent' => 7, 'DynLabel' => 8, 'DynVersion' => 9, 'DynUpdateDate' => 10, ),
|
||||
BasePeer::TYPE_COLNAME => array (DynaformPeer::DYN_UID => 0, DynaformPeer::DYN_ID => 1, DynaformPeer::DYN_TITLE => 2, DynaformPeer::DYN_DESCRIPTION => 3, DynaformPeer::PRO_UID => 4, DynaformPeer::DYN_TYPE => 5, DynaformPeer::DYN_FILENAME => 6, DynaformPeer::DYN_CONTENT => 7, DynaformPeer::DYN_LABEL => 8, DynaformPeer::DYN_VERSION => 9, DynaformPeer::DYN_UPDATE_DATE => 10, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('DYN_UID' => 0, 'DYN_ID' => 1, 'DYN_TITLE' => 2, 'DYN_DESCRIPTION' => 3, 'PRO_UID' => 4, 'DYN_TYPE' => 5, 'DYN_FILENAME' => 6, 'DYN_CONTENT' => 7, 'DYN_LABEL' => 8, 'DYN_VERSION' => 9, 'DYN_UPDATE_DATE' => 10, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -191,6 +194,8 @@ abstract class BaseDynaformPeer
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_UID);
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_ID);
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_TITLE);
|
||||
|
||||
$criteria->addSelectColumn(DynaformPeer::DYN_DESCRIPTION);
|
||||
|
||||
@@ -33,6 +33,12 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $inp_doc_uid = '';
|
||||
|
||||
/**
|
||||
* The value for the inp_doc_id field.
|
||||
* @var int
|
||||
*/
|
||||
protected $inp_doc_id;
|
||||
|
||||
/**
|
||||
* The value for the pro_uid field.
|
||||
* @var string
|
||||
@@ -130,6 +136,17 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
return $this->inp_doc_uid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [inp_doc_id] column value.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getInpDocId()
|
||||
{
|
||||
|
||||
return $this->inp_doc_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [pro_uid] column value.
|
||||
*
|
||||
@@ -284,6 +301,28 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
|
||||
} // setInpDocUid()
|
||||
|
||||
/**
|
||||
* Set the value of [inp_doc_id] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setInpDocId($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->inp_doc_id !== $v) {
|
||||
$this->inp_doc_id = $v;
|
||||
$this->modifiedColumns[] = InputDocumentPeer::INP_DOC_ID;
|
||||
}
|
||||
|
||||
} // setInpDocId()
|
||||
|
||||
/**
|
||||
* Set the value of [pro_uid] column.
|
||||
*
|
||||
@@ -567,36 +606,38 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
|
||||
$this->inp_doc_uid = $rs->getString($startcol + 0);
|
||||
|
||||
$this->pro_uid = $rs->getString($startcol + 1);
|
||||
$this->inp_doc_id = $rs->getInt($startcol + 1);
|
||||
|
||||
$this->inp_doc_title = $rs->getString($startcol + 2);
|
||||
$this->pro_uid = $rs->getString($startcol + 2);
|
||||
|
||||
$this->inp_doc_description = $rs->getString($startcol + 3);
|
||||
$this->inp_doc_title = $rs->getString($startcol + 3);
|
||||
|
||||
$this->inp_doc_form_needed = $rs->getString($startcol + 4);
|
||||
$this->inp_doc_description = $rs->getString($startcol + 4);
|
||||
|
||||
$this->inp_doc_original = $rs->getString($startcol + 5);
|
||||
$this->inp_doc_form_needed = $rs->getString($startcol + 5);
|
||||
|
||||
$this->inp_doc_published = $rs->getString($startcol + 6);
|
||||
$this->inp_doc_original = $rs->getString($startcol + 6);
|
||||
|
||||
$this->inp_doc_versioning = $rs->getInt($startcol + 7);
|
||||
$this->inp_doc_published = $rs->getString($startcol + 7);
|
||||
|
||||
$this->inp_doc_destination_path = $rs->getString($startcol + 8);
|
||||
$this->inp_doc_versioning = $rs->getInt($startcol + 8);
|
||||
|
||||
$this->inp_doc_tags = $rs->getString($startcol + 9);
|
||||
$this->inp_doc_destination_path = $rs->getString($startcol + 9);
|
||||
|
||||
$this->inp_doc_type_file = $rs->getString($startcol + 10);
|
||||
$this->inp_doc_tags = $rs->getString($startcol + 10);
|
||||
|
||||
$this->inp_doc_max_filesize = $rs->getInt($startcol + 11);
|
||||
$this->inp_doc_type_file = $rs->getString($startcol + 11);
|
||||
|
||||
$this->inp_doc_max_filesize_unit = $rs->getString($startcol + 12);
|
||||
$this->inp_doc_max_filesize = $rs->getInt($startcol + 12);
|
||||
|
||||
$this->inp_doc_max_filesize_unit = $rs->getString($startcol + 13);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 13; // 13 = InputDocumentPeer::NUM_COLUMNS - InputDocumentPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 14; // 14 = InputDocumentPeer::NUM_COLUMNS - InputDocumentPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating InputDocument object", $e);
|
||||
@@ -804,39 +845,42 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
return $this->getInpDocUid();
|
||||
break;
|
||||
case 1:
|
||||
return $this->getProUid();
|
||||
return $this->getInpDocId();
|
||||
break;
|
||||
case 2:
|
||||
return $this->getInpDocTitle();
|
||||
return $this->getProUid();
|
||||
break;
|
||||
case 3:
|
||||
return $this->getInpDocDescription();
|
||||
return $this->getInpDocTitle();
|
||||
break;
|
||||
case 4:
|
||||
return $this->getInpDocFormNeeded();
|
||||
return $this->getInpDocDescription();
|
||||
break;
|
||||
case 5:
|
||||
return $this->getInpDocOriginal();
|
||||
return $this->getInpDocFormNeeded();
|
||||
break;
|
||||
case 6:
|
||||
return $this->getInpDocPublished();
|
||||
return $this->getInpDocOriginal();
|
||||
break;
|
||||
case 7:
|
||||
return $this->getInpDocVersioning();
|
||||
return $this->getInpDocPublished();
|
||||
break;
|
||||
case 8:
|
||||
return $this->getInpDocDestinationPath();
|
||||
return $this->getInpDocVersioning();
|
||||
break;
|
||||
case 9:
|
||||
return $this->getInpDocTags();
|
||||
return $this->getInpDocDestinationPath();
|
||||
break;
|
||||
case 10:
|
||||
return $this->getInpDocTypeFile();
|
||||
return $this->getInpDocTags();
|
||||
break;
|
||||
case 11:
|
||||
return $this->getInpDocMaxFilesize();
|
||||
return $this->getInpDocTypeFile();
|
||||
break;
|
||||
case 12:
|
||||
return $this->getInpDocMaxFilesize();
|
||||
break;
|
||||
case 13:
|
||||
return $this->getInpDocMaxFilesizeUnit();
|
||||
break;
|
||||
default:
|
||||
@@ -860,18 +904,19 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
$keys = InputDocumentPeer::getFieldNames($keyType);
|
||||
$result = array(
|
||||
$keys[0] => $this->getInpDocUid(),
|
||||
$keys[1] => $this->getProUid(),
|
||||
$keys[2] => $this->getInpDocTitle(),
|
||||
$keys[3] => $this->getInpDocDescription(),
|
||||
$keys[4] => $this->getInpDocFormNeeded(),
|
||||
$keys[5] => $this->getInpDocOriginal(),
|
||||
$keys[6] => $this->getInpDocPublished(),
|
||||
$keys[7] => $this->getInpDocVersioning(),
|
||||
$keys[8] => $this->getInpDocDestinationPath(),
|
||||
$keys[9] => $this->getInpDocTags(),
|
||||
$keys[10] => $this->getInpDocTypeFile(),
|
||||
$keys[11] => $this->getInpDocMaxFilesize(),
|
||||
$keys[12] => $this->getInpDocMaxFilesizeUnit(),
|
||||
$keys[1] => $this->getInpDocId(),
|
||||
$keys[2] => $this->getProUid(),
|
||||
$keys[3] => $this->getInpDocTitle(),
|
||||
$keys[4] => $this->getInpDocDescription(),
|
||||
$keys[5] => $this->getInpDocFormNeeded(),
|
||||
$keys[6] => $this->getInpDocOriginal(),
|
||||
$keys[7] => $this->getInpDocPublished(),
|
||||
$keys[8] => $this->getInpDocVersioning(),
|
||||
$keys[9] => $this->getInpDocDestinationPath(),
|
||||
$keys[10] => $this->getInpDocTags(),
|
||||
$keys[11] => $this->getInpDocTypeFile(),
|
||||
$keys[12] => $this->getInpDocMaxFilesize(),
|
||||
$keys[13] => $this->getInpDocMaxFilesizeUnit(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -907,39 +952,42 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
$this->setInpDocUid($value);
|
||||
break;
|
||||
case 1:
|
||||
$this->setProUid($value);
|
||||
$this->setInpDocId($value);
|
||||
break;
|
||||
case 2:
|
||||
$this->setInpDocTitle($value);
|
||||
$this->setProUid($value);
|
||||
break;
|
||||
case 3:
|
||||
$this->setInpDocDescription($value);
|
||||
$this->setInpDocTitle($value);
|
||||
break;
|
||||
case 4:
|
||||
$this->setInpDocFormNeeded($value);
|
||||
$this->setInpDocDescription($value);
|
||||
break;
|
||||
case 5:
|
||||
$this->setInpDocOriginal($value);
|
||||
$this->setInpDocFormNeeded($value);
|
||||
break;
|
||||
case 6:
|
||||
$this->setInpDocPublished($value);
|
||||
$this->setInpDocOriginal($value);
|
||||
break;
|
||||
case 7:
|
||||
$this->setInpDocVersioning($value);
|
||||
$this->setInpDocPublished($value);
|
||||
break;
|
||||
case 8:
|
||||
$this->setInpDocDestinationPath($value);
|
||||
$this->setInpDocVersioning($value);
|
||||
break;
|
||||
case 9:
|
||||
$this->setInpDocTags($value);
|
||||
$this->setInpDocDestinationPath($value);
|
||||
break;
|
||||
case 10:
|
||||
$this->setInpDocTypeFile($value);
|
||||
$this->setInpDocTags($value);
|
||||
break;
|
||||
case 11:
|
||||
$this->setInpDocMaxFilesize($value);
|
||||
$this->setInpDocTypeFile($value);
|
||||
break;
|
||||
case 12:
|
||||
$this->setInpDocMaxFilesize($value);
|
||||
break;
|
||||
case 13:
|
||||
$this->setInpDocMaxFilesizeUnit($value);
|
||||
break;
|
||||
} // switch()
|
||||
@@ -970,51 +1018,55 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[1], $arr)) {
|
||||
$this->setProUid($arr[$keys[1]]);
|
||||
$this->setInpDocId($arr[$keys[1]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[2], $arr)) {
|
||||
$this->setInpDocTitle($arr[$keys[2]]);
|
||||
$this->setProUid($arr[$keys[2]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[3], $arr)) {
|
||||
$this->setInpDocDescription($arr[$keys[3]]);
|
||||
$this->setInpDocTitle($arr[$keys[3]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[4], $arr)) {
|
||||
$this->setInpDocFormNeeded($arr[$keys[4]]);
|
||||
$this->setInpDocDescription($arr[$keys[4]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[5], $arr)) {
|
||||
$this->setInpDocOriginal($arr[$keys[5]]);
|
||||
$this->setInpDocFormNeeded($arr[$keys[5]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[6], $arr)) {
|
||||
$this->setInpDocPublished($arr[$keys[6]]);
|
||||
$this->setInpDocOriginal($arr[$keys[6]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[7], $arr)) {
|
||||
$this->setInpDocVersioning($arr[$keys[7]]);
|
||||
$this->setInpDocPublished($arr[$keys[7]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[8], $arr)) {
|
||||
$this->setInpDocDestinationPath($arr[$keys[8]]);
|
||||
$this->setInpDocVersioning($arr[$keys[8]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[9], $arr)) {
|
||||
$this->setInpDocTags($arr[$keys[9]]);
|
||||
$this->setInpDocDestinationPath($arr[$keys[9]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[10], $arr)) {
|
||||
$this->setInpDocTypeFile($arr[$keys[10]]);
|
||||
$this->setInpDocTags($arr[$keys[10]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[11], $arr)) {
|
||||
$this->setInpDocMaxFilesize($arr[$keys[11]]);
|
||||
$this->setInpDocTypeFile($arr[$keys[11]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[12], $arr)) {
|
||||
$this->setInpDocMaxFilesizeUnit($arr[$keys[12]]);
|
||||
$this->setInpDocMaxFilesize($arr[$keys[12]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[13], $arr)) {
|
||||
$this->setInpDocMaxFilesizeUnit($arr[$keys[13]]);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1032,6 +1084,10 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
$criteria->add(InputDocumentPeer::INP_DOC_UID, $this->inp_doc_uid);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(InputDocumentPeer::INP_DOC_ID)) {
|
||||
$criteria->add(InputDocumentPeer::INP_DOC_ID, $this->inp_doc_id);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(InputDocumentPeer::PRO_UID)) {
|
||||
$criteria->add(InputDocumentPeer::PRO_UID, $this->pro_uid);
|
||||
}
|
||||
@@ -1134,6 +1190,8 @@ abstract class BaseInputDocument extends BaseObject implements Persistent
|
||||
public function copyInto($copyObj, $deepCopy = false)
|
||||
{
|
||||
|
||||
$copyObj->setInpDocId($this->inp_doc_id);
|
||||
|
||||
$copyObj->setProUid($this->pro_uid);
|
||||
|
||||
$copyObj->setInpDocTitle($this->inp_doc_title);
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseInputDocumentPeer
|
||||
const CLASS_DEFAULT = 'classes.model.InputDocument';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 13;
|
||||
const NUM_COLUMNS = 14;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -34,6 +34,9 @@ abstract class BaseInputDocumentPeer
|
||||
/** the column name for the INP_DOC_UID field */
|
||||
const INP_DOC_UID = 'INPUT_DOCUMENT.INP_DOC_UID';
|
||||
|
||||
/** the column name for the INP_DOC_ID field */
|
||||
const INP_DOC_ID = 'INPUT_DOCUMENT.INP_DOC_ID';
|
||||
|
||||
/** the column name for the PRO_UID field */
|
||||
const PRO_UID = 'INPUT_DOCUMENT.PRO_UID';
|
||||
|
||||
@@ -81,10 +84,10 @@ abstract class BaseInputDocumentPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('InpDocUid', 'ProUid', 'InpDocTitle', 'InpDocDescription', 'InpDocFormNeeded', 'InpDocOriginal', 'InpDocPublished', 'InpDocVersioning', 'InpDocDestinationPath', 'InpDocTags', 'InpDocTypeFile', 'InpDocMaxFilesize', 'InpDocMaxFilesizeUnit', ),
|
||||
BasePeer::TYPE_COLNAME => array (InputDocumentPeer::INP_DOC_UID, InputDocumentPeer::PRO_UID, InputDocumentPeer::INP_DOC_TITLE, InputDocumentPeer::INP_DOC_DESCRIPTION, InputDocumentPeer::INP_DOC_FORM_NEEDED, InputDocumentPeer::INP_DOC_ORIGINAL, InputDocumentPeer::INP_DOC_PUBLISHED, InputDocumentPeer::INP_DOC_VERSIONING, InputDocumentPeer::INP_DOC_DESTINATION_PATH, InputDocumentPeer::INP_DOC_TAGS, InputDocumentPeer::INP_DOC_TYPE_FILE, InputDocumentPeer::INP_DOC_MAX_FILESIZE, InputDocumentPeer::INP_DOC_MAX_FILESIZE_UNIT, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('INP_DOC_UID', 'PRO_UID', 'INP_DOC_TITLE', 'INP_DOC_DESCRIPTION', 'INP_DOC_FORM_NEEDED', 'INP_DOC_ORIGINAL', 'INP_DOC_PUBLISHED', 'INP_DOC_VERSIONING', 'INP_DOC_DESTINATION_PATH', 'INP_DOC_TAGS', 'INP_DOC_TYPE_FILE', 'INP_DOC_MAX_FILESIZE', 'INP_DOC_MAX_FILESIZE_UNIT', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, )
|
||||
BasePeer::TYPE_PHPNAME => array ('InpDocUid', 'InpDocId', 'ProUid', 'InpDocTitle', 'InpDocDescription', 'InpDocFormNeeded', 'InpDocOriginal', 'InpDocPublished', 'InpDocVersioning', 'InpDocDestinationPath', 'InpDocTags', 'InpDocTypeFile', 'InpDocMaxFilesize', 'InpDocMaxFilesizeUnit', ),
|
||||
BasePeer::TYPE_COLNAME => array (InputDocumentPeer::INP_DOC_UID, InputDocumentPeer::INP_DOC_ID, InputDocumentPeer::PRO_UID, InputDocumentPeer::INP_DOC_TITLE, InputDocumentPeer::INP_DOC_DESCRIPTION, InputDocumentPeer::INP_DOC_FORM_NEEDED, InputDocumentPeer::INP_DOC_ORIGINAL, InputDocumentPeer::INP_DOC_PUBLISHED, InputDocumentPeer::INP_DOC_VERSIONING, InputDocumentPeer::INP_DOC_DESTINATION_PATH, InputDocumentPeer::INP_DOC_TAGS, InputDocumentPeer::INP_DOC_TYPE_FILE, InputDocumentPeer::INP_DOC_MAX_FILESIZE, InputDocumentPeer::INP_DOC_MAX_FILESIZE_UNIT, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('INP_DOC_UID', 'INP_DOC_ID', 'PRO_UID', 'INP_DOC_TITLE', 'INP_DOC_DESCRIPTION', 'INP_DOC_FORM_NEEDED', 'INP_DOC_ORIGINAL', 'INP_DOC_PUBLISHED', 'INP_DOC_VERSIONING', 'INP_DOC_DESTINATION_PATH', 'INP_DOC_TAGS', 'INP_DOC_TYPE_FILE', 'INP_DOC_MAX_FILESIZE', 'INP_DOC_MAX_FILESIZE_UNIT', ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -94,10 +97,10 @@ abstract class BaseInputDocumentPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('InpDocUid' => 0, 'ProUid' => 1, 'InpDocTitle' => 2, 'InpDocDescription' => 3, 'InpDocFormNeeded' => 4, 'InpDocOriginal' => 5, 'InpDocPublished' => 6, 'InpDocVersioning' => 7, 'InpDocDestinationPath' => 8, 'InpDocTags' => 9, 'InpDocTypeFile' => 10, 'InpDocMaxFilesize' => 11, 'InpDocMaxFilesizeUnit' => 12, ),
|
||||
BasePeer::TYPE_COLNAME => array (InputDocumentPeer::INP_DOC_UID => 0, InputDocumentPeer::PRO_UID => 1, InputDocumentPeer::INP_DOC_TITLE => 2, InputDocumentPeer::INP_DOC_DESCRIPTION => 3, InputDocumentPeer::INP_DOC_FORM_NEEDED => 4, InputDocumentPeer::INP_DOC_ORIGINAL => 5, InputDocumentPeer::INP_DOC_PUBLISHED => 6, InputDocumentPeer::INP_DOC_VERSIONING => 7, InputDocumentPeer::INP_DOC_DESTINATION_PATH => 8, InputDocumentPeer::INP_DOC_TAGS => 9, InputDocumentPeer::INP_DOC_TYPE_FILE => 10, InputDocumentPeer::INP_DOC_MAX_FILESIZE => 11, InputDocumentPeer::INP_DOC_MAX_FILESIZE_UNIT => 12, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('INP_DOC_UID' => 0, 'PRO_UID' => 1, 'INP_DOC_TITLE' => 2, 'INP_DOC_DESCRIPTION' => 3, 'INP_DOC_FORM_NEEDED' => 4, 'INP_DOC_ORIGINAL' => 5, 'INP_DOC_PUBLISHED' => 6, 'INP_DOC_VERSIONING' => 7, 'INP_DOC_DESTINATION_PATH' => 8, 'INP_DOC_TAGS' => 9, 'INP_DOC_TYPE_FILE' => 10, 'INP_DOC_MAX_FILESIZE' => 11, 'INP_DOC_MAX_FILESIZE_UNIT' => 12, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, )
|
||||
BasePeer::TYPE_PHPNAME => array ('InpDocUid' => 0, 'InpDocId' => 1, 'ProUid' => 2, 'InpDocTitle' => 3, 'InpDocDescription' => 4, 'InpDocFormNeeded' => 5, 'InpDocOriginal' => 6, 'InpDocPublished' => 7, 'InpDocVersioning' => 8, 'InpDocDestinationPath' => 9, 'InpDocTags' => 10, 'InpDocTypeFile' => 11, 'InpDocMaxFilesize' => 12, 'InpDocMaxFilesizeUnit' => 13, ),
|
||||
BasePeer::TYPE_COLNAME => array (InputDocumentPeer::INP_DOC_UID => 0, InputDocumentPeer::INP_DOC_ID => 1, InputDocumentPeer::PRO_UID => 2, InputDocumentPeer::INP_DOC_TITLE => 3, InputDocumentPeer::INP_DOC_DESCRIPTION => 4, InputDocumentPeer::INP_DOC_FORM_NEEDED => 5, InputDocumentPeer::INP_DOC_ORIGINAL => 6, InputDocumentPeer::INP_DOC_PUBLISHED => 7, InputDocumentPeer::INP_DOC_VERSIONING => 8, InputDocumentPeer::INP_DOC_DESTINATION_PATH => 9, InputDocumentPeer::INP_DOC_TAGS => 10, InputDocumentPeer::INP_DOC_TYPE_FILE => 11, InputDocumentPeer::INP_DOC_MAX_FILESIZE => 12, InputDocumentPeer::INP_DOC_MAX_FILESIZE_UNIT => 13, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('INP_DOC_UID' => 0, 'INP_DOC_ID' => 1, 'PRO_UID' => 2, 'INP_DOC_TITLE' => 3, 'INP_DOC_DESCRIPTION' => 4, 'INP_DOC_FORM_NEEDED' => 5, 'INP_DOC_ORIGINAL' => 6, 'INP_DOC_PUBLISHED' => 7, 'INP_DOC_VERSIONING' => 8, 'INP_DOC_DESTINATION_PATH' => 9, 'INP_DOC_TAGS' => 10, 'INP_DOC_TYPE_FILE' => 11, 'INP_DOC_MAX_FILESIZE' => 12, 'INP_DOC_MAX_FILESIZE_UNIT' => 13, ),
|
||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -200,6 +203,8 @@ abstract class BaseInputDocumentPeer
|
||||
|
||||
$criteria->addSelectColumn(InputDocumentPeer::INP_DOC_UID);
|
||||
|
||||
$criteria->addSelectColumn(InputDocumentPeer::INP_DOC_ID);
|
||||
|
||||
$criteria->addSelectColumn(InputDocumentPeer::PRO_UID);
|
||||
|
||||
$criteria->addSelectColumn(InputDocumentPeer::INP_DOC_TITLE);
|
||||
|
||||
@@ -33,6 +33,12 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
*/
|
||||
protected $out_doc_uid = '';
|
||||
|
||||
/**
|
||||
* The value for the out_doc_id field.
|
||||
* @var int
|
||||
*/
|
||||
protected $out_doc_id;
|
||||
|
||||
/**
|
||||
* The value for the out_doc_title field.
|
||||
* @var string
|
||||
@@ -202,6 +208,17 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
return $this->out_doc_uid;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [out_doc_id] column value.
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getOutDocId()
|
||||
{
|
||||
|
||||
return $this->out_doc_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the [out_doc_title] column value.
|
||||
*
|
||||
@@ -488,6 +505,28 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
|
||||
} // setOutDocUid()
|
||||
|
||||
/**
|
||||
* Set the value of [out_doc_id] column.
|
||||
*
|
||||
* @param int $v new value
|
||||
* @return void
|
||||
*/
|
||||
public function setOutDocId($v)
|
||||
{
|
||||
|
||||
// Since the native PHP type for this column is integer,
|
||||
// we will cast the input value to an int (if it is not).
|
||||
if ($v !== null && !is_int($v) && is_numeric($v)) {
|
||||
$v = (int) $v;
|
||||
}
|
||||
|
||||
if ($this->out_doc_id !== $v) {
|
||||
$this->out_doc_id = $v;
|
||||
$this->modifiedColumns[] = OutputDocumentPeer::OUT_DOC_ID;
|
||||
}
|
||||
|
||||
} // setOutDocId()
|
||||
|
||||
/**
|
||||
* Set the value of [out_doc_title] column.
|
||||
*
|
||||
@@ -1035,60 +1074,62 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
|
||||
$this->out_doc_uid = $rs->getString($startcol + 0);
|
||||
|
||||
$this->out_doc_title = $rs->getString($startcol + 1);
|
||||
$this->out_doc_id = $rs->getInt($startcol + 1);
|
||||
|
||||
$this->out_doc_description = $rs->getString($startcol + 2);
|
||||
$this->out_doc_title = $rs->getString($startcol + 2);
|
||||
|
||||
$this->out_doc_filename = $rs->getString($startcol + 3);
|
||||
$this->out_doc_description = $rs->getString($startcol + 3);
|
||||
|
||||
$this->out_doc_template = $rs->getString($startcol + 4);
|
||||
$this->out_doc_filename = $rs->getString($startcol + 4);
|
||||
|
||||
$this->pro_uid = $rs->getString($startcol + 5);
|
||||
$this->out_doc_template = $rs->getString($startcol + 5);
|
||||
|
||||
$this->out_doc_report_generator = $rs->getString($startcol + 6);
|
||||
$this->pro_uid = $rs->getString($startcol + 6);
|
||||
|
||||
$this->out_doc_landscape = $rs->getInt($startcol + 7);
|
||||
$this->out_doc_report_generator = $rs->getString($startcol + 7);
|
||||
|
||||
$this->out_doc_media = $rs->getString($startcol + 8);
|
||||
$this->out_doc_landscape = $rs->getInt($startcol + 8);
|
||||
|
||||
$this->out_doc_left_margin = $rs->getInt($startcol + 9);
|
||||
$this->out_doc_media = $rs->getString($startcol + 9);
|
||||
|
||||
$this->out_doc_right_margin = $rs->getInt($startcol + 10);
|
||||
$this->out_doc_left_margin = $rs->getInt($startcol + 10);
|
||||
|
||||
$this->out_doc_top_margin = $rs->getInt($startcol + 11);
|
||||
$this->out_doc_right_margin = $rs->getInt($startcol + 11);
|
||||
|
||||
$this->out_doc_bottom_margin = $rs->getInt($startcol + 12);
|
||||
$this->out_doc_top_margin = $rs->getInt($startcol + 12);
|
||||
|
||||
$this->out_doc_generate = $rs->getString($startcol + 13);
|
||||
$this->out_doc_bottom_margin = $rs->getInt($startcol + 13);
|
||||
|
||||
$this->out_doc_type = $rs->getString($startcol + 14);
|
||||
$this->out_doc_generate = $rs->getString($startcol + 14);
|
||||
|
||||
$this->out_doc_current_revision = $rs->getInt($startcol + 15);
|
||||
$this->out_doc_type = $rs->getString($startcol + 15);
|
||||
|
||||
$this->out_doc_field_mapping = $rs->getString($startcol + 16);
|
||||
$this->out_doc_current_revision = $rs->getInt($startcol + 16);
|
||||
|
||||
$this->out_doc_versioning = $rs->getInt($startcol + 17);
|
||||
$this->out_doc_field_mapping = $rs->getString($startcol + 17);
|
||||
|
||||
$this->out_doc_destination_path = $rs->getString($startcol + 18);
|
||||
$this->out_doc_versioning = $rs->getInt($startcol + 18);
|
||||
|
||||
$this->out_doc_tags = $rs->getString($startcol + 19);
|
||||
$this->out_doc_destination_path = $rs->getString($startcol + 19);
|
||||
|
||||
$this->out_doc_pdf_security_enabled = $rs->getInt($startcol + 20);
|
||||
$this->out_doc_tags = $rs->getString($startcol + 20);
|
||||
|
||||
$this->out_doc_pdf_security_open_password = $rs->getString($startcol + 21);
|
||||
$this->out_doc_pdf_security_enabled = $rs->getInt($startcol + 21);
|
||||
|
||||
$this->out_doc_pdf_security_owner_password = $rs->getString($startcol + 22);
|
||||
$this->out_doc_pdf_security_open_password = $rs->getString($startcol + 22);
|
||||
|
||||
$this->out_doc_pdf_security_permissions = $rs->getString($startcol + 23);
|
||||
$this->out_doc_pdf_security_owner_password = $rs->getString($startcol + 23);
|
||||
|
||||
$this->out_doc_open_type = $rs->getInt($startcol + 24);
|
||||
$this->out_doc_pdf_security_permissions = $rs->getString($startcol + 24);
|
||||
|
||||
$this->out_doc_open_type = $rs->getInt($startcol + 25);
|
||||
|
||||
$this->resetModified();
|
||||
|
||||
$this->setNew(false);
|
||||
|
||||
// FIXME - using NUM_COLUMNS may be clearer.
|
||||
return $startcol + 25; // 25 = OutputDocumentPeer::NUM_COLUMNS - OutputDocumentPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
return $startcol + 26; // 26 = OutputDocumentPeer::NUM_COLUMNS - OutputDocumentPeer::NUM_LAZY_LOAD_COLUMNS).
|
||||
|
||||
} catch (Exception $e) {
|
||||
throw new PropelException("Error populating OutputDocument object", $e);
|
||||
@@ -1296,75 +1337,78 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
return $this->getOutDocUid();
|
||||
break;
|
||||
case 1:
|
||||
return $this->getOutDocTitle();
|
||||
return $this->getOutDocId();
|
||||
break;
|
||||
case 2:
|
||||
return $this->getOutDocDescription();
|
||||
return $this->getOutDocTitle();
|
||||
break;
|
||||
case 3:
|
||||
return $this->getOutDocFilename();
|
||||
return $this->getOutDocDescription();
|
||||
break;
|
||||
case 4:
|
||||
return $this->getOutDocTemplate();
|
||||
return $this->getOutDocFilename();
|
||||
break;
|
||||
case 5:
|
||||
return $this->getProUid();
|
||||
return $this->getOutDocTemplate();
|
||||
break;
|
||||
case 6:
|
||||
return $this->getOutDocReportGenerator();
|
||||
return $this->getProUid();
|
||||
break;
|
||||
case 7:
|
||||
return $this->getOutDocLandscape();
|
||||
return $this->getOutDocReportGenerator();
|
||||
break;
|
||||
case 8:
|
||||
return $this->getOutDocMedia();
|
||||
return $this->getOutDocLandscape();
|
||||
break;
|
||||
case 9:
|
||||
return $this->getOutDocLeftMargin();
|
||||
return $this->getOutDocMedia();
|
||||
break;
|
||||
case 10:
|
||||
return $this->getOutDocRightMargin();
|
||||
return $this->getOutDocLeftMargin();
|
||||
break;
|
||||
case 11:
|
||||
return $this->getOutDocTopMargin();
|
||||
return $this->getOutDocRightMargin();
|
||||
break;
|
||||
case 12:
|
||||
return $this->getOutDocBottomMargin();
|
||||
return $this->getOutDocTopMargin();
|
||||
break;
|
||||
case 13:
|
||||
return $this->getOutDocGenerate();
|
||||
return $this->getOutDocBottomMargin();
|
||||
break;
|
||||
case 14:
|
||||
return $this->getOutDocType();
|
||||
return $this->getOutDocGenerate();
|
||||
break;
|
||||
case 15:
|
||||
return $this->getOutDocCurrentRevision();
|
||||
return $this->getOutDocType();
|
||||
break;
|
||||
case 16:
|
||||
return $this->getOutDocFieldMapping();
|
||||
return $this->getOutDocCurrentRevision();
|
||||
break;
|
||||
case 17:
|
||||
return $this->getOutDocVersioning();
|
||||
return $this->getOutDocFieldMapping();
|
||||
break;
|
||||
case 18:
|
||||
return $this->getOutDocDestinationPath();
|
||||
return $this->getOutDocVersioning();
|
||||
break;
|
||||
case 19:
|
||||
return $this->getOutDocTags();
|
||||
return $this->getOutDocDestinationPath();
|
||||
break;
|
||||
case 20:
|
||||
return $this->getOutDocPdfSecurityEnabled();
|
||||
return $this->getOutDocTags();
|
||||
break;
|
||||
case 21:
|
||||
return $this->getOutDocPdfSecurityOpenPassword();
|
||||
return $this->getOutDocPdfSecurityEnabled();
|
||||
break;
|
||||
case 22:
|
||||
return $this->getOutDocPdfSecurityOwnerPassword();
|
||||
return $this->getOutDocPdfSecurityOpenPassword();
|
||||
break;
|
||||
case 23:
|
||||
return $this->getOutDocPdfSecurityPermissions();
|
||||
return $this->getOutDocPdfSecurityOwnerPassword();
|
||||
break;
|
||||
case 24:
|
||||
return $this->getOutDocPdfSecurityPermissions();
|
||||
break;
|
||||
case 25:
|
||||
return $this->getOutDocOpenType();
|
||||
break;
|
||||
default:
|
||||
@@ -1388,30 +1432,31 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
$keys = OutputDocumentPeer::getFieldNames($keyType);
|
||||
$result = array(
|
||||
$keys[0] => $this->getOutDocUid(),
|
||||
$keys[1] => $this->getOutDocTitle(),
|
||||
$keys[2] => $this->getOutDocDescription(),
|
||||
$keys[3] => $this->getOutDocFilename(),
|
||||
$keys[4] => $this->getOutDocTemplate(),
|
||||
$keys[5] => $this->getProUid(),
|
||||
$keys[6] => $this->getOutDocReportGenerator(),
|
||||
$keys[7] => $this->getOutDocLandscape(),
|
||||
$keys[8] => $this->getOutDocMedia(),
|
||||
$keys[9] => $this->getOutDocLeftMargin(),
|
||||
$keys[10] => $this->getOutDocRightMargin(),
|
||||
$keys[11] => $this->getOutDocTopMargin(),
|
||||
$keys[12] => $this->getOutDocBottomMargin(),
|
||||
$keys[13] => $this->getOutDocGenerate(),
|
||||
$keys[14] => $this->getOutDocType(),
|
||||
$keys[15] => $this->getOutDocCurrentRevision(),
|
||||
$keys[16] => $this->getOutDocFieldMapping(),
|
||||
$keys[17] => $this->getOutDocVersioning(),
|
||||
$keys[18] => $this->getOutDocDestinationPath(),
|
||||
$keys[19] => $this->getOutDocTags(),
|
||||
$keys[20] => $this->getOutDocPdfSecurityEnabled(),
|
||||
$keys[21] => $this->getOutDocPdfSecurityOpenPassword(),
|
||||
$keys[22] => $this->getOutDocPdfSecurityOwnerPassword(),
|
||||
$keys[23] => $this->getOutDocPdfSecurityPermissions(),
|
||||
$keys[24] => $this->getOutDocOpenType(),
|
||||
$keys[1] => $this->getOutDocId(),
|
||||
$keys[2] => $this->getOutDocTitle(),
|
||||
$keys[3] => $this->getOutDocDescription(),
|
||||
$keys[4] => $this->getOutDocFilename(),
|
||||
$keys[5] => $this->getOutDocTemplate(),
|
||||
$keys[6] => $this->getProUid(),
|
||||
$keys[7] => $this->getOutDocReportGenerator(),
|
||||
$keys[8] => $this->getOutDocLandscape(),
|
||||
$keys[9] => $this->getOutDocMedia(),
|
||||
$keys[10] => $this->getOutDocLeftMargin(),
|
||||
$keys[11] => $this->getOutDocRightMargin(),
|
||||
$keys[12] => $this->getOutDocTopMargin(),
|
||||
$keys[13] => $this->getOutDocBottomMargin(),
|
||||
$keys[14] => $this->getOutDocGenerate(),
|
||||
$keys[15] => $this->getOutDocType(),
|
||||
$keys[16] => $this->getOutDocCurrentRevision(),
|
||||
$keys[17] => $this->getOutDocFieldMapping(),
|
||||
$keys[18] => $this->getOutDocVersioning(),
|
||||
$keys[19] => $this->getOutDocDestinationPath(),
|
||||
$keys[20] => $this->getOutDocTags(),
|
||||
$keys[21] => $this->getOutDocPdfSecurityEnabled(),
|
||||
$keys[22] => $this->getOutDocPdfSecurityOpenPassword(),
|
||||
$keys[23] => $this->getOutDocPdfSecurityOwnerPassword(),
|
||||
$keys[24] => $this->getOutDocPdfSecurityPermissions(),
|
||||
$keys[25] => $this->getOutDocOpenType(),
|
||||
);
|
||||
return $result;
|
||||
}
|
||||
@@ -1447,75 +1492,78 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
$this->setOutDocUid($value);
|
||||
break;
|
||||
case 1:
|
||||
$this->setOutDocTitle($value);
|
||||
$this->setOutDocId($value);
|
||||
break;
|
||||
case 2:
|
||||
$this->setOutDocDescription($value);
|
||||
$this->setOutDocTitle($value);
|
||||
break;
|
||||
case 3:
|
||||
$this->setOutDocFilename($value);
|
||||
$this->setOutDocDescription($value);
|
||||
break;
|
||||
case 4:
|
||||
$this->setOutDocTemplate($value);
|
||||
$this->setOutDocFilename($value);
|
||||
break;
|
||||
case 5:
|
||||
$this->setProUid($value);
|
||||
$this->setOutDocTemplate($value);
|
||||
break;
|
||||
case 6:
|
||||
$this->setOutDocReportGenerator($value);
|
||||
$this->setProUid($value);
|
||||
break;
|
||||
case 7:
|
||||
$this->setOutDocLandscape($value);
|
||||
$this->setOutDocReportGenerator($value);
|
||||
break;
|
||||
case 8:
|
||||
$this->setOutDocMedia($value);
|
||||
$this->setOutDocLandscape($value);
|
||||
break;
|
||||
case 9:
|
||||
$this->setOutDocLeftMargin($value);
|
||||
$this->setOutDocMedia($value);
|
||||
break;
|
||||
case 10:
|
||||
$this->setOutDocRightMargin($value);
|
||||
$this->setOutDocLeftMargin($value);
|
||||
break;
|
||||
case 11:
|
||||
$this->setOutDocTopMargin($value);
|
||||
$this->setOutDocRightMargin($value);
|
||||
break;
|
||||
case 12:
|
||||
$this->setOutDocBottomMargin($value);
|
||||
$this->setOutDocTopMargin($value);
|
||||
break;
|
||||
case 13:
|
||||
$this->setOutDocGenerate($value);
|
||||
$this->setOutDocBottomMargin($value);
|
||||
break;
|
||||
case 14:
|
||||
$this->setOutDocType($value);
|
||||
$this->setOutDocGenerate($value);
|
||||
break;
|
||||
case 15:
|
||||
$this->setOutDocCurrentRevision($value);
|
||||
$this->setOutDocType($value);
|
||||
break;
|
||||
case 16:
|
||||
$this->setOutDocFieldMapping($value);
|
||||
$this->setOutDocCurrentRevision($value);
|
||||
break;
|
||||
case 17:
|
||||
$this->setOutDocVersioning($value);
|
||||
$this->setOutDocFieldMapping($value);
|
||||
break;
|
||||
case 18:
|
||||
$this->setOutDocDestinationPath($value);
|
||||
$this->setOutDocVersioning($value);
|
||||
break;
|
||||
case 19:
|
||||
$this->setOutDocTags($value);
|
||||
$this->setOutDocDestinationPath($value);
|
||||
break;
|
||||
case 20:
|
||||
$this->setOutDocPdfSecurityEnabled($value);
|
||||
$this->setOutDocTags($value);
|
||||
break;
|
||||
case 21:
|
||||
$this->setOutDocPdfSecurityOpenPassword($value);
|
||||
$this->setOutDocPdfSecurityEnabled($value);
|
||||
break;
|
||||
case 22:
|
||||
$this->setOutDocPdfSecurityOwnerPassword($value);
|
||||
$this->setOutDocPdfSecurityOpenPassword($value);
|
||||
break;
|
||||
case 23:
|
||||
$this->setOutDocPdfSecurityPermissions($value);
|
||||
$this->setOutDocPdfSecurityOwnerPassword($value);
|
||||
break;
|
||||
case 24:
|
||||
$this->setOutDocPdfSecurityPermissions($value);
|
||||
break;
|
||||
case 25:
|
||||
$this->setOutDocOpenType($value);
|
||||
break;
|
||||
} // switch()
|
||||
@@ -1546,99 +1594,103 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[1], $arr)) {
|
||||
$this->setOutDocTitle($arr[$keys[1]]);
|
||||
$this->setOutDocId($arr[$keys[1]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[2], $arr)) {
|
||||
$this->setOutDocDescription($arr[$keys[2]]);
|
||||
$this->setOutDocTitle($arr[$keys[2]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[3], $arr)) {
|
||||
$this->setOutDocFilename($arr[$keys[3]]);
|
||||
$this->setOutDocDescription($arr[$keys[3]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[4], $arr)) {
|
||||
$this->setOutDocTemplate($arr[$keys[4]]);
|
||||
$this->setOutDocFilename($arr[$keys[4]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[5], $arr)) {
|
||||
$this->setProUid($arr[$keys[5]]);
|
||||
$this->setOutDocTemplate($arr[$keys[5]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[6], $arr)) {
|
||||
$this->setOutDocReportGenerator($arr[$keys[6]]);
|
||||
$this->setProUid($arr[$keys[6]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[7], $arr)) {
|
||||
$this->setOutDocLandscape($arr[$keys[7]]);
|
||||
$this->setOutDocReportGenerator($arr[$keys[7]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[8], $arr)) {
|
||||
$this->setOutDocMedia($arr[$keys[8]]);
|
||||
$this->setOutDocLandscape($arr[$keys[8]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[9], $arr)) {
|
||||
$this->setOutDocLeftMargin($arr[$keys[9]]);
|
||||
$this->setOutDocMedia($arr[$keys[9]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[10], $arr)) {
|
||||
$this->setOutDocRightMargin($arr[$keys[10]]);
|
||||
$this->setOutDocLeftMargin($arr[$keys[10]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[11], $arr)) {
|
||||
$this->setOutDocTopMargin($arr[$keys[11]]);
|
||||
$this->setOutDocRightMargin($arr[$keys[11]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[12], $arr)) {
|
||||
$this->setOutDocBottomMargin($arr[$keys[12]]);
|
||||
$this->setOutDocTopMargin($arr[$keys[12]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[13], $arr)) {
|
||||
$this->setOutDocGenerate($arr[$keys[13]]);
|
||||
$this->setOutDocBottomMargin($arr[$keys[13]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[14], $arr)) {
|
||||
$this->setOutDocType($arr[$keys[14]]);
|
||||
$this->setOutDocGenerate($arr[$keys[14]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[15], $arr)) {
|
||||
$this->setOutDocCurrentRevision($arr[$keys[15]]);
|
||||
$this->setOutDocType($arr[$keys[15]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[16], $arr)) {
|
||||
$this->setOutDocFieldMapping($arr[$keys[16]]);
|
||||
$this->setOutDocCurrentRevision($arr[$keys[16]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[17], $arr)) {
|
||||
$this->setOutDocVersioning($arr[$keys[17]]);
|
||||
$this->setOutDocFieldMapping($arr[$keys[17]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[18], $arr)) {
|
||||
$this->setOutDocDestinationPath($arr[$keys[18]]);
|
||||
$this->setOutDocVersioning($arr[$keys[18]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[19], $arr)) {
|
||||
$this->setOutDocTags($arr[$keys[19]]);
|
||||
$this->setOutDocDestinationPath($arr[$keys[19]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[20], $arr)) {
|
||||
$this->setOutDocPdfSecurityEnabled($arr[$keys[20]]);
|
||||
$this->setOutDocTags($arr[$keys[20]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[21], $arr)) {
|
||||
$this->setOutDocPdfSecurityOpenPassword($arr[$keys[21]]);
|
||||
$this->setOutDocPdfSecurityEnabled($arr[$keys[21]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[22], $arr)) {
|
||||
$this->setOutDocPdfSecurityOwnerPassword($arr[$keys[22]]);
|
||||
$this->setOutDocPdfSecurityOpenPassword($arr[$keys[22]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[23], $arr)) {
|
||||
$this->setOutDocPdfSecurityPermissions($arr[$keys[23]]);
|
||||
$this->setOutDocPdfSecurityOwnerPassword($arr[$keys[23]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[24], $arr)) {
|
||||
$this->setOutDocOpenType($arr[$keys[24]]);
|
||||
$this->setOutDocPdfSecurityPermissions($arr[$keys[24]]);
|
||||
}
|
||||
|
||||
if (array_key_exists($keys[25], $arr)) {
|
||||
$this->setOutDocOpenType($arr[$keys[25]]);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1656,6 +1708,10 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
$criteria->add(OutputDocumentPeer::OUT_DOC_UID, $this->out_doc_uid);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(OutputDocumentPeer::OUT_DOC_ID)) {
|
||||
$criteria->add(OutputDocumentPeer::OUT_DOC_ID, $this->out_doc_id);
|
||||
}
|
||||
|
||||
if ($this->isColumnModified(OutputDocumentPeer::OUT_DOC_TITLE)) {
|
||||
$criteria->add(OutputDocumentPeer::OUT_DOC_TITLE, $this->out_doc_title);
|
||||
}
|
||||
@@ -1806,6 +1862,8 @@ abstract class BaseOutputDocument extends BaseObject implements Persistent
|
||||
public function copyInto($copyObj, $deepCopy = false)
|
||||
{
|
||||
|
||||
$copyObj->setOutDocId($this->out_doc_id);
|
||||
|
||||
$copyObj->setOutDocTitle($this->out_doc_title);
|
||||
|
||||
$copyObj->setOutDocDescription($this->out_doc_description);
|
||||
|
||||
@@ -25,7 +25,7 @@ abstract class BaseOutputDocumentPeer
|
||||
const CLASS_DEFAULT = 'classes.model.OutputDocument';
|
||||
|
||||
/** The total number of columns. */
|
||||
const NUM_COLUMNS = 25;
|
||||
const NUM_COLUMNS = 26;
|
||||
|
||||
/** The number of lazy-loaded columns. */
|
||||
const NUM_LAZY_LOAD_COLUMNS = 0;
|
||||
@@ -34,6 +34,9 @@ abstract class BaseOutputDocumentPeer
|
||||
/** the column name for the OUT_DOC_UID field */
|
||||
const OUT_DOC_UID = 'OUTPUT_DOCUMENT.OUT_DOC_UID';
|
||||
|
||||
/** the column name for the OUT_DOC_ID field */
|
||||
const OUT_DOC_ID = 'OUTPUT_DOCUMENT.OUT_DOC_ID';
|
||||
|
||||
/** the column name for the OUT_DOC_TITLE field */
|
||||
const OUT_DOC_TITLE = 'OUTPUT_DOCUMENT.OUT_DOC_TITLE';
|
||||
|
||||
@@ -117,10 +120,10 @@ abstract class BaseOutputDocumentPeer
|
||||
* e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id'
|
||||
*/
|
||||
private static $fieldNames = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('OutDocUid', 'OutDocTitle', 'OutDocDescription', 'OutDocFilename', 'OutDocTemplate', 'ProUid', 'OutDocReportGenerator', 'OutDocLandscape', 'OutDocMedia', 'OutDocLeftMargin', 'OutDocRightMargin', 'OutDocTopMargin', 'OutDocBottomMargin', 'OutDocGenerate', 'OutDocType', 'OutDocCurrentRevision', 'OutDocFieldMapping', 'OutDocVersioning', 'OutDocDestinationPath', 'OutDocTags', 'OutDocPdfSecurityEnabled', 'OutDocPdfSecurityOpenPassword', 'OutDocPdfSecurityOwnerPassword', 'OutDocPdfSecurityPermissions', 'OutDocOpenType', ),
|
||||
BasePeer::TYPE_COLNAME => array (OutputDocumentPeer::OUT_DOC_UID, OutputDocumentPeer::OUT_DOC_TITLE, OutputDocumentPeer::OUT_DOC_DESCRIPTION, OutputDocumentPeer::OUT_DOC_FILENAME, OutputDocumentPeer::OUT_DOC_TEMPLATE, OutputDocumentPeer::PRO_UID, OutputDocumentPeer::OUT_DOC_REPORT_GENERATOR, OutputDocumentPeer::OUT_DOC_LANDSCAPE, OutputDocumentPeer::OUT_DOC_MEDIA, OutputDocumentPeer::OUT_DOC_LEFT_MARGIN, OutputDocumentPeer::OUT_DOC_RIGHT_MARGIN, OutputDocumentPeer::OUT_DOC_TOP_MARGIN, OutputDocumentPeer::OUT_DOC_BOTTOM_MARGIN, OutputDocumentPeer::OUT_DOC_GENERATE, OutputDocumentPeer::OUT_DOC_TYPE, OutputDocumentPeer::OUT_DOC_CURRENT_REVISION, OutputDocumentPeer::OUT_DOC_FIELD_MAPPING, OutputDocumentPeer::OUT_DOC_VERSIONING, OutputDocumentPeer::OUT_DOC_DESTINATION_PATH, OutputDocumentPeer::OUT_DOC_TAGS, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_ENABLED, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OPEN_PASSWORD, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OWNER_PASSWORD, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_PERMISSIONS, OutputDocumentPeer::OUT_DOC_OPEN_TYPE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('OUT_DOC_UID', 'OUT_DOC_TITLE', 'OUT_DOC_DESCRIPTION', 'OUT_DOC_FILENAME', 'OUT_DOC_TEMPLATE', 'PRO_UID', 'OUT_DOC_REPORT_GENERATOR', 'OUT_DOC_LANDSCAPE', 'OUT_DOC_MEDIA', 'OUT_DOC_LEFT_MARGIN', 'OUT_DOC_RIGHT_MARGIN', 'OUT_DOC_TOP_MARGIN', 'OUT_DOC_BOTTOM_MARGIN', 'OUT_DOC_GENERATE', 'OUT_DOC_TYPE', 'OUT_DOC_CURRENT_REVISION', 'OUT_DOC_FIELD_MAPPING', 'OUT_DOC_VERSIONING', 'OUT_DOC_DESTINATION_PATH', 'OUT_DOC_TAGS', 'OUT_DOC_PDF_SECURITY_ENABLED', 'OUT_DOC_PDF_SECURITY_OPEN_PASSWORD', 'OUT_DOC_PDF_SECURITY_OWNER_PASSWORD', 'OUT_DOC_PDF_SECURITY_PERMISSIONS', 'OUT_DOC_OPEN_TYPE', ),
|
||||
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, )
|
||||
BasePeer::TYPE_PHPNAME => array ('OutDocUid', 'OutDocId', 'OutDocTitle', 'OutDocDescription', 'OutDocFilename', 'OutDocTemplate', 'ProUid', 'OutDocReportGenerator', 'OutDocLandscape', 'OutDocMedia', 'OutDocLeftMargin', 'OutDocRightMargin', 'OutDocTopMargin', 'OutDocBottomMargin', 'OutDocGenerate', 'OutDocType', 'OutDocCurrentRevision', 'OutDocFieldMapping', 'OutDocVersioning', 'OutDocDestinationPath', 'OutDocTags', 'OutDocPdfSecurityEnabled', 'OutDocPdfSecurityOpenPassword', 'OutDocPdfSecurityOwnerPassword', 'OutDocPdfSecurityPermissions', 'OutDocOpenType', ),
|
||||
BasePeer::TYPE_COLNAME => array (OutputDocumentPeer::OUT_DOC_UID, OutputDocumentPeer::OUT_DOC_ID, OutputDocumentPeer::OUT_DOC_TITLE, OutputDocumentPeer::OUT_DOC_DESCRIPTION, OutputDocumentPeer::OUT_DOC_FILENAME, OutputDocumentPeer::OUT_DOC_TEMPLATE, OutputDocumentPeer::PRO_UID, OutputDocumentPeer::OUT_DOC_REPORT_GENERATOR, OutputDocumentPeer::OUT_DOC_LANDSCAPE, OutputDocumentPeer::OUT_DOC_MEDIA, OutputDocumentPeer::OUT_DOC_LEFT_MARGIN, OutputDocumentPeer::OUT_DOC_RIGHT_MARGIN, OutputDocumentPeer::OUT_DOC_TOP_MARGIN, OutputDocumentPeer::OUT_DOC_BOTTOM_MARGIN, OutputDocumentPeer::OUT_DOC_GENERATE, OutputDocumentPeer::OUT_DOC_TYPE, OutputDocumentPeer::OUT_DOC_CURRENT_REVISION, OutputDocumentPeer::OUT_DOC_FIELD_MAPPING, OutputDocumentPeer::OUT_DOC_VERSIONING, OutputDocumentPeer::OUT_DOC_DESTINATION_PATH, OutputDocumentPeer::OUT_DOC_TAGS, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_ENABLED, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OPEN_PASSWORD, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OWNER_PASSWORD, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_PERMISSIONS, OutputDocumentPeer::OUT_DOC_OPEN_TYPE, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('OUT_DOC_UID', 'OUT_DOC_ID', 'OUT_DOC_TITLE', 'OUT_DOC_DESCRIPTION', 'OUT_DOC_FILENAME', 'OUT_DOC_TEMPLATE', 'PRO_UID', 'OUT_DOC_REPORT_GENERATOR', 'OUT_DOC_LANDSCAPE', 'OUT_DOC_MEDIA', 'OUT_DOC_LEFT_MARGIN', 'OUT_DOC_RIGHT_MARGIN', 'OUT_DOC_TOP_MARGIN', 'OUT_DOC_BOTTOM_MARGIN', 'OUT_DOC_GENERATE', 'OUT_DOC_TYPE', 'OUT_DOC_CURRENT_REVISION', 'OUT_DOC_FIELD_MAPPING', 'OUT_DOC_VERSIONING', 'OUT_DOC_DESTINATION_PATH', 'OUT_DOC_TAGS', 'OUT_DOC_PDF_SECURITY_ENABLED', 'OUT_DOC_PDF_SECURITY_OPEN_PASSWORD', 'OUT_DOC_PDF_SECURITY_OWNER_PASSWORD', 'OUT_DOC_PDF_SECURITY_PERMISSIONS', 'OUT_DOC_OPEN_TYPE', ),
|
||||
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, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -130,10 +133,10 @@ abstract class BaseOutputDocumentPeer
|
||||
* e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||
*/
|
||||
private static $fieldKeys = array (
|
||||
BasePeer::TYPE_PHPNAME => array ('OutDocUid' => 0, 'OutDocTitle' => 1, 'OutDocDescription' => 2, 'OutDocFilename' => 3, 'OutDocTemplate' => 4, 'ProUid' => 5, 'OutDocReportGenerator' => 6, 'OutDocLandscape' => 7, 'OutDocMedia' => 8, 'OutDocLeftMargin' => 9, 'OutDocRightMargin' => 10, 'OutDocTopMargin' => 11, 'OutDocBottomMargin' => 12, 'OutDocGenerate' => 13, 'OutDocType' => 14, 'OutDocCurrentRevision' => 15, 'OutDocFieldMapping' => 16, 'OutDocVersioning' => 17, 'OutDocDestinationPath' => 18, 'OutDocTags' => 19, 'OutDocPdfSecurityEnabled' => 20, 'OutDocPdfSecurityOpenPassword' => 21, 'OutDocPdfSecurityOwnerPassword' => 22, 'OutDocPdfSecurityPermissions' => 23, 'OutDocOpenType' => 24, ),
|
||||
BasePeer::TYPE_COLNAME => array (OutputDocumentPeer::OUT_DOC_UID => 0, OutputDocumentPeer::OUT_DOC_TITLE => 1, OutputDocumentPeer::OUT_DOC_DESCRIPTION => 2, OutputDocumentPeer::OUT_DOC_FILENAME => 3, OutputDocumentPeer::OUT_DOC_TEMPLATE => 4, OutputDocumentPeer::PRO_UID => 5, OutputDocumentPeer::OUT_DOC_REPORT_GENERATOR => 6, OutputDocumentPeer::OUT_DOC_LANDSCAPE => 7, OutputDocumentPeer::OUT_DOC_MEDIA => 8, OutputDocumentPeer::OUT_DOC_LEFT_MARGIN => 9, OutputDocumentPeer::OUT_DOC_RIGHT_MARGIN => 10, OutputDocumentPeer::OUT_DOC_TOP_MARGIN => 11, OutputDocumentPeer::OUT_DOC_BOTTOM_MARGIN => 12, OutputDocumentPeer::OUT_DOC_GENERATE => 13, OutputDocumentPeer::OUT_DOC_TYPE => 14, OutputDocumentPeer::OUT_DOC_CURRENT_REVISION => 15, OutputDocumentPeer::OUT_DOC_FIELD_MAPPING => 16, OutputDocumentPeer::OUT_DOC_VERSIONING => 17, OutputDocumentPeer::OUT_DOC_DESTINATION_PATH => 18, OutputDocumentPeer::OUT_DOC_TAGS => 19, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_ENABLED => 20, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OPEN_PASSWORD => 21, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OWNER_PASSWORD => 22, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_PERMISSIONS => 23, OutputDocumentPeer::OUT_DOC_OPEN_TYPE => 24, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('OUT_DOC_UID' => 0, 'OUT_DOC_TITLE' => 1, 'OUT_DOC_DESCRIPTION' => 2, 'OUT_DOC_FILENAME' => 3, 'OUT_DOC_TEMPLATE' => 4, 'PRO_UID' => 5, 'OUT_DOC_REPORT_GENERATOR' => 6, 'OUT_DOC_LANDSCAPE' => 7, 'OUT_DOC_MEDIA' => 8, 'OUT_DOC_LEFT_MARGIN' => 9, 'OUT_DOC_RIGHT_MARGIN' => 10, 'OUT_DOC_TOP_MARGIN' => 11, 'OUT_DOC_BOTTOM_MARGIN' => 12, 'OUT_DOC_GENERATE' => 13, 'OUT_DOC_TYPE' => 14, 'OUT_DOC_CURRENT_REVISION' => 15, 'OUT_DOC_FIELD_MAPPING' => 16, 'OUT_DOC_VERSIONING' => 17, 'OUT_DOC_DESTINATION_PATH' => 18, 'OUT_DOC_TAGS' => 19, 'OUT_DOC_PDF_SECURITY_ENABLED' => 20, 'OUT_DOC_PDF_SECURITY_OPEN_PASSWORD' => 21, 'OUT_DOC_PDF_SECURITY_OWNER_PASSWORD' => 22, 'OUT_DOC_PDF_SECURITY_PERMISSIONS' => 23, 'OUT_DOC_OPEN_TYPE' => 24, ),
|
||||
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, )
|
||||
BasePeer::TYPE_PHPNAME => array ('OutDocUid' => 0, 'OutDocId' => 1, 'OutDocTitle' => 2, 'OutDocDescription' => 3, 'OutDocFilename' => 4, 'OutDocTemplate' => 5, 'ProUid' => 6, 'OutDocReportGenerator' => 7, 'OutDocLandscape' => 8, 'OutDocMedia' => 9, 'OutDocLeftMargin' => 10, 'OutDocRightMargin' => 11, 'OutDocTopMargin' => 12, 'OutDocBottomMargin' => 13, 'OutDocGenerate' => 14, 'OutDocType' => 15, 'OutDocCurrentRevision' => 16, 'OutDocFieldMapping' => 17, 'OutDocVersioning' => 18, 'OutDocDestinationPath' => 19, 'OutDocTags' => 20, 'OutDocPdfSecurityEnabled' => 21, 'OutDocPdfSecurityOpenPassword' => 22, 'OutDocPdfSecurityOwnerPassword' => 23, 'OutDocPdfSecurityPermissions' => 24, 'OutDocOpenType' => 25, ),
|
||||
BasePeer::TYPE_COLNAME => array (OutputDocumentPeer::OUT_DOC_UID => 0, OutputDocumentPeer::OUT_DOC_ID => 1, OutputDocumentPeer::OUT_DOC_TITLE => 2, OutputDocumentPeer::OUT_DOC_DESCRIPTION => 3, OutputDocumentPeer::OUT_DOC_FILENAME => 4, OutputDocumentPeer::OUT_DOC_TEMPLATE => 5, OutputDocumentPeer::PRO_UID => 6, OutputDocumentPeer::OUT_DOC_REPORT_GENERATOR => 7, OutputDocumentPeer::OUT_DOC_LANDSCAPE => 8, OutputDocumentPeer::OUT_DOC_MEDIA => 9, OutputDocumentPeer::OUT_DOC_LEFT_MARGIN => 10, OutputDocumentPeer::OUT_DOC_RIGHT_MARGIN => 11, OutputDocumentPeer::OUT_DOC_TOP_MARGIN => 12, OutputDocumentPeer::OUT_DOC_BOTTOM_MARGIN => 13, OutputDocumentPeer::OUT_DOC_GENERATE => 14, OutputDocumentPeer::OUT_DOC_TYPE => 15, OutputDocumentPeer::OUT_DOC_CURRENT_REVISION => 16, OutputDocumentPeer::OUT_DOC_FIELD_MAPPING => 17, OutputDocumentPeer::OUT_DOC_VERSIONING => 18, OutputDocumentPeer::OUT_DOC_DESTINATION_PATH => 19, OutputDocumentPeer::OUT_DOC_TAGS => 20, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_ENABLED => 21, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OPEN_PASSWORD => 22, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_OWNER_PASSWORD => 23, OutputDocumentPeer::OUT_DOC_PDF_SECURITY_PERMISSIONS => 24, OutputDocumentPeer::OUT_DOC_OPEN_TYPE => 25, ),
|
||||
BasePeer::TYPE_FIELDNAME => array ('OUT_DOC_UID' => 0, 'OUT_DOC_ID' => 1, 'OUT_DOC_TITLE' => 2, 'OUT_DOC_DESCRIPTION' => 3, 'OUT_DOC_FILENAME' => 4, 'OUT_DOC_TEMPLATE' => 5, 'PRO_UID' => 6, 'OUT_DOC_REPORT_GENERATOR' => 7, 'OUT_DOC_LANDSCAPE' => 8, 'OUT_DOC_MEDIA' => 9, 'OUT_DOC_LEFT_MARGIN' => 10, 'OUT_DOC_RIGHT_MARGIN' => 11, 'OUT_DOC_TOP_MARGIN' => 12, 'OUT_DOC_BOTTOM_MARGIN' => 13, 'OUT_DOC_GENERATE' => 14, 'OUT_DOC_TYPE' => 15, 'OUT_DOC_CURRENT_REVISION' => 16, 'OUT_DOC_FIELD_MAPPING' => 17, 'OUT_DOC_VERSIONING' => 18, 'OUT_DOC_DESTINATION_PATH' => 19, 'OUT_DOC_TAGS' => 20, 'OUT_DOC_PDF_SECURITY_ENABLED' => 21, 'OUT_DOC_PDF_SECURITY_OPEN_PASSWORD' => 22, 'OUT_DOC_PDF_SECURITY_OWNER_PASSWORD' => 23, 'OUT_DOC_PDF_SECURITY_PERMISSIONS' => 24, 'OUT_DOC_OPEN_TYPE' => 25, ),
|
||||
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, )
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -236,6 +239,8 @@ abstract class BaseOutputDocumentPeer
|
||||
|
||||
$criteria->addSelectColumn(OutputDocumentPeer::OUT_DOC_UID);
|
||||
|
||||
$criteria->addSelectColumn(OutputDocumentPeer::OUT_DOC_ID);
|
||||
|
||||
$criteria->addSelectColumn(OutputDocumentPeer::OUT_DOC_TITLE);
|
||||
|
||||
$criteria->addSelectColumn(OutputDocumentPeer::OUT_DOC_DESCRIPTION);
|
||||
|
||||
Reference in New Issue
Block a user