untrack build.properties
This commit is contained in:
@@ -55,7 +55,7 @@ class CategoryTableMap extends TableMap
|
|||||||
$this->addColumn('VISIBLE', 'Visible', 'TINYINT', true, null, null);
|
$this->addColumn('VISIBLE', 'Visible', 'TINYINT', true, null, null);
|
||||||
$this->addColumn('POSITION', 'Position', 'INTEGER', true, null, null);
|
$this->addColumn('POSITION', 'Position', 'INTEGER', true, null, null);
|
||||||
$this->addColumn('CREATED_AT', 'CreatedAt', 'TIMESTAMP', true, null, null);
|
$this->addColumn('CREATED_AT', 'CreatedAt', 'TIMESTAMP', true, null, null);
|
||||||
$this->addColumn('UPDATE_AT', 'UpdateAt', 'TIMESTAMP', true, null, null);
|
$this->addColumn('UPDATED_AT', 'UpdatedAt', 'TIMESTAMP', true, null, null);
|
||||||
// validators
|
// validators
|
||||||
} // initialize()
|
} // initialize()
|
||||||
|
|
||||||
|
|||||||
@@ -98,10 +98,10 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
protected $created_at;
|
protected $created_at;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The value for the update_at field.
|
* The value for the updated_at field.
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
protected $update_at;
|
protected $updated_at;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var AttributeCategory
|
* @var AttributeCategory
|
||||||
@@ -245,7 +245,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the [optionally formatted] temporal [update_at] column value.
|
* Get the [optionally formatted] temporal [updated_at] column value.
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @param string $format The date/time format string (either date()-style or strftime()-style).
|
* @param string $format The date/time format string (either date()-style or strftime()-style).
|
||||||
@@ -253,21 +253,21 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
* @return mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
|
* @return mixed Formatted date/time value as string or DateTime object (if format is null), null if column is null, and 0 if column value is 0000-00-00 00:00:00
|
||||||
* @throws PropelException - if unable to parse/validate the date/time value.
|
* @throws PropelException - if unable to parse/validate the date/time value.
|
||||||
*/
|
*/
|
||||||
public function getUpdateAt($format = 'Y-m-d H:i:s')
|
public function getUpdatedAt($format = 'Y-m-d H:i:s')
|
||||||
{
|
{
|
||||||
if ($this->update_at === null) {
|
if ($this->updated_at === null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->update_at === '0000-00-00 00:00:00') {
|
if ($this->updated_at === '0000-00-00 00:00:00') {
|
||||||
// while technically this is not a default value of null,
|
// while technically this is not a default value of null,
|
||||||
// this seems to be closest in meaning.
|
// this seems to be closest in meaning.
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
$dt = new DateTime($this->update_at);
|
$dt = new DateTime($this->updated_at);
|
||||||
} catch (Exception $x) {
|
} catch (Exception $x) {
|
||||||
throw new PropelException("Internally stored date/time/timestamp value could not be converted to DateTime: " . var_export($this->update_at, true), $x);
|
throw new PropelException("Internally stored date/time/timestamp value could not be converted to DateTime: " . var_export($this->updated_at, true), $x);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -442,27 +442,27 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
} // setCreatedAt()
|
} // setCreatedAt()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the value of [update_at] column to a normalized version of the date/time value specified.
|
* Sets the value of [updated_at] column to a normalized version of the date/time value specified.
|
||||||
*
|
*
|
||||||
* @param mixed $v string, integer (timestamp), or DateTime value.
|
* @param mixed $v string, integer (timestamp), or DateTime value.
|
||||||
* Empty strings are treated as null.
|
* Empty strings are treated as null.
|
||||||
* @return Category The current object (for fluent API support)
|
* @return Category The current object (for fluent API support)
|
||||||
*/
|
*/
|
||||||
public function setUpdateAt($v)
|
public function setUpdatedAt($v)
|
||||||
{
|
{
|
||||||
$dt = PropelDateTime::newInstance($v, null, 'DateTime');
|
$dt = PropelDateTime::newInstance($v, null, 'DateTime');
|
||||||
if ($this->update_at !== null || $dt !== null) {
|
if ($this->updated_at !== null || $dt !== null) {
|
||||||
$currentDateAsString = ($this->update_at !== null && $tmpDt = new DateTime($this->update_at)) ? $tmpDt->format('Y-m-d H:i:s') : null;
|
$currentDateAsString = ($this->updated_at !== null && $tmpDt = new DateTime($this->updated_at)) ? $tmpDt->format('Y-m-d H:i:s') : null;
|
||||||
$newDateAsString = $dt ? $dt->format('Y-m-d H:i:s') : null;
|
$newDateAsString = $dt ? $dt->format('Y-m-d H:i:s') : null;
|
||||||
if ($currentDateAsString !== $newDateAsString) {
|
if ($currentDateAsString !== $newDateAsString) {
|
||||||
$this->update_at = $newDateAsString;
|
$this->updated_at = $newDateAsString;
|
||||||
$this->modifiedColumns[] = CategoryPeer::UPDATE_AT;
|
$this->modifiedColumns[] = CategoryPeer::UPDATED_AT;
|
||||||
}
|
}
|
||||||
} // if either are not null
|
} // if either are not null
|
||||||
|
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
} // setUpdateAt()
|
} // setUpdatedAt()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates whether the columns in this object are only set to default values.
|
* Indicates whether the columns in this object are only set to default values.
|
||||||
@@ -502,7 +502,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
$this->visible = ($row[$startcol + 3] !== null) ? (int) $row[$startcol + 3] : null;
|
$this->visible = ($row[$startcol + 3] !== null) ? (int) $row[$startcol + 3] : null;
|
||||||
$this->position = ($row[$startcol + 4] !== null) ? (int) $row[$startcol + 4] : null;
|
$this->position = ($row[$startcol + 4] !== null) ? (int) $row[$startcol + 4] : null;
|
||||||
$this->created_at = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null;
|
$this->created_at = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null;
|
||||||
$this->update_at = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null;
|
$this->updated_at = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null;
|
||||||
$this->resetModified();
|
$this->resetModified();
|
||||||
|
|
||||||
$this->setNew(false);
|
$this->setNew(false);
|
||||||
@@ -834,8 +834,8 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
if ($this->isColumnModified(CategoryPeer::CREATED_AT)) {
|
if ($this->isColumnModified(CategoryPeer::CREATED_AT)) {
|
||||||
$modifiedColumns[':p' . $index++] = '`CREATED_AT`';
|
$modifiedColumns[':p' . $index++] = '`CREATED_AT`';
|
||||||
}
|
}
|
||||||
if ($this->isColumnModified(CategoryPeer::UPDATE_AT)) {
|
if ($this->isColumnModified(CategoryPeer::UPDATED_AT)) {
|
||||||
$modifiedColumns[':p' . $index++] = '`UPDATE_AT`';
|
$modifiedColumns[':p' . $index++] = '`UPDATED_AT`';
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql = sprintf(
|
$sql = sprintf(
|
||||||
@@ -866,8 +866,8 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
case '`CREATED_AT`':
|
case '`CREATED_AT`':
|
||||||
$stmt->bindValue($identifier, $this->created_at, PDO::PARAM_STR);
|
$stmt->bindValue($identifier, $this->created_at, PDO::PARAM_STR);
|
||||||
break;
|
break;
|
||||||
case '`UPDATE_AT`':
|
case '`UPDATED_AT`':
|
||||||
$stmt->bindValue($identifier, $this->update_at, PDO::PARAM_STR);
|
$stmt->bindValue($identifier, $this->updated_at, PDO::PARAM_STR);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1076,7 +1076,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
return $this->getCreatedAt();
|
return $this->getCreatedAt();
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
return $this->getUpdateAt();
|
return $this->getUpdatedAt();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
@@ -1113,7 +1113,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
$keys[3] => $this->getVisible(),
|
$keys[3] => $this->getVisible(),
|
||||||
$keys[4] => $this->getPosition(),
|
$keys[4] => $this->getPosition(),
|
||||||
$keys[5] => $this->getCreatedAt(),
|
$keys[5] => $this->getCreatedAt(),
|
||||||
$keys[6] => $this->getUpdateAt(),
|
$keys[6] => $this->getUpdatedAt(),
|
||||||
);
|
);
|
||||||
if ($includeForeignObjects) {
|
if ($includeForeignObjects) {
|
||||||
if (null !== $this->aAttributeCategory) {
|
if (null !== $this->aAttributeCategory) {
|
||||||
@@ -1193,7 +1193,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
$this->setCreatedAt($value);
|
$this->setCreatedAt($value);
|
||||||
break;
|
break;
|
||||||
case 6:
|
case 6:
|
||||||
$this->setUpdateAt($value);
|
$this->setUpdatedAt($value);
|
||||||
break;
|
break;
|
||||||
} // switch()
|
} // switch()
|
||||||
}
|
}
|
||||||
@@ -1225,7 +1225,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
if (array_key_exists($keys[3], $arr)) $this->setVisible($arr[$keys[3]]);
|
if (array_key_exists($keys[3], $arr)) $this->setVisible($arr[$keys[3]]);
|
||||||
if (array_key_exists($keys[4], $arr)) $this->setPosition($arr[$keys[4]]);
|
if (array_key_exists($keys[4], $arr)) $this->setPosition($arr[$keys[4]]);
|
||||||
if (array_key_exists($keys[5], $arr)) $this->setCreatedAt($arr[$keys[5]]);
|
if (array_key_exists($keys[5], $arr)) $this->setCreatedAt($arr[$keys[5]]);
|
||||||
if (array_key_exists($keys[6], $arr)) $this->setUpdateAt($arr[$keys[6]]);
|
if (array_key_exists($keys[6], $arr)) $this->setUpdatedAt($arr[$keys[6]]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -1243,7 +1243,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
if ($this->isColumnModified(CategoryPeer::VISIBLE)) $criteria->add(CategoryPeer::VISIBLE, $this->visible);
|
if ($this->isColumnModified(CategoryPeer::VISIBLE)) $criteria->add(CategoryPeer::VISIBLE, $this->visible);
|
||||||
if ($this->isColumnModified(CategoryPeer::POSITION)) $criteria->add(CategoryPeer::POSITION, $this->position);
|
if ($this->isColumnModified(CategoryPeer::POSITION)) $criteria->add(CategoryPeer::POSITION, $this->position);
|
||||||
if ($this->isColumnModified(CategoryPeer::CREATED_AT)) $criteria->add(CategoryPeer::CREATED_AT, $this->created_at);
|
if ($this->isColumnModified(CategoryPeer::CREATED_AT)) $criteria->add(CategoryPeer::CREATED_AT, $this->created_at);
|
||||||
if ($this->isColumnModified(CategoryPeer::UPDATE_AT)) $criteria->add(CategoryPeer::UPDATE_AT, $this->update_at);
|
if ($this->isColumnModified(CategoryPeer::UPDATED_AT)) $criteria->add(CategoryPeer::UPDATED_AT, $this->updated_at);
|
||||||
|
|
||||||
return $criteria;
|
return $criteria;
|
||||||
}
|
}
|
||||||
@@ -1312,7 +1312,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
$copyObj->setVisible($this->getVisible());
|
$copyObj->setVisible($this->getVisible());
|
||||||
$copyObj->setPosition($this->getPosition());
|
$copyObj->setPosition($this->getPosition());
|
||||||
$copyObj->setCreatedAt($this->getCreatedAt());
|
$copyObj->setCreatedAt($this->getCreatedAt());
|
||||||
$copyObj->setUpdateAt($this->getUpdateAt());
|
$copyObj->setUpdatedAt($this->getUpdatedAt());
|
||||||
|
|
||||||
if ($deepCopy && !$this->startCopy) {
|
if ($deepCopy && !$this->startCopy) {
|
||||||
// important: temporarily setNew(false) because this affects the behavior of
|
// important: temporarily setNew(false) because this affects the behavior of
|
||||||
@@ -1798,7 +1798,7 @@ abstract class BaseCategory extends BaseObject implements Persistent
|
|||||||
$this->visible = null;
|
$this->visible = null;
|
||||||
$this->position = null;
|
$this->position = null;
|
||||||
$this->created_at = null;
|
$this->created_at = null;
|
||||||
$this->update_at = null;
|
$this->updated_at = null;
|
||||||
$this->alreadyInSave = false;
|
$this->alreadyInSave = false;
|
||||||
$this->alreadyInValidation = false;
|
$this->alreadyInValidation = false;
|
||||||
$this->clearAllReferences();
|
$this->clearAllReferences();
|
||||||
|
|||||||
@@ -70,8 +70,8 @@ abstract class BaseCategoryPeer
|
|||||||
/** the column name for the CREATED_AT field */
|
/** the column name for the CREATED_AT field */
|
||||||
const CREATED_AT = 'category.CREATED_AT';
|
const CREATED_AT = 'category.CREATED_AT';
|
||||||
|
|
||||||
/** the column name for the UPDATE_AT field */
|
/** the column name for the UPDATED_AT field */
|
||||||
const UPDATE_AT = 'category.UPDATE_AT';
|
const UPDATED_AT = 'category.UPDATED_AT';
|
||||||
|
|
||||||
/** The default string format for model objects of the related table **/
|
/** The default string format for model objects of the related table **/
|
||||||
const DEFAULT_STRING_FORMAT = 'YAML';
|
const DEFAULT_STRING_FORMAT = 'YAML';
|
||||||
@@ -92,11 +92,11 @@ abstract class BaseCategoryPeer
|
|||||||
* e.g. CategoryPeer::$fieldNames[CategoryPeer::TYPE_PHPNAME][0] = 'Id'
|
* e.g. CategoryPeer::$fieldNames[CategoryPeer::TYPE_PHPNAME][0] = 'Id'
|
||||||
*/
|
*/
|
||||||
protected static $fieldNames = array (
|
protected static $fieldNames = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('Id', 'Parent', 'Link', 'Visible', 'Position', 'CreatedAt', 'UpdateAt', ),
|
BasePeer::TYPE_PHPNAME => array ('Id', 'Parent', 'Link', 'Visible', 'Position', 'CreatedAt', 'UpdatedAt', ),
|
||||||
BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'parent', 'link', 'visible', 'position', 'createdAt', 'updateAt', ),
|
BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'parent', 'link', 'visible', 'position', 'createdAt', 'updatedAt', ),
|
||||||
BasePeer::TYPE_COLNAME => array (CategoryPeer::ID, CategoryPeer::PARENT, CategoryPeer::LINK, CategoryPeer::VISIBLE, CategoryPeer::POSITION, CategoryPeer::CREATED_AT, CategoryPeer::UPDATE_AT, ),
|
BasePeer::TYPE_COLNAME => array (CategoryPeer::ID, CategoryPeer::PARENT, CategoryPeer::LINK, CategoryPeer::VISIBLE, CategoryPeer::POSITION, CategoryPeer::CREATED_AT, CategoryPeer::UPDATED_AT, ),
|
||||||
BasePeer::TYPE_RAW_COLNAME => array ('ID', 'PARENT', 'LINK', 'VISIBLE', 'POSITION', 'CREATED_AT', 'UPDATE_AT', ),
|
BasePeer::TYPE_RAW_COLNAME => array ('ID', 'PARENT', 'LINK', 'VISIBLE', 'POSITION', 'CREATED_AT', 'UPDATED_AT', ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('id', 'parent', 'link', 'visible', 'position', 'created_at', 'update_at', ),
|
BasePeer::TYPE_FIELDNAME => array ('id', 'parent', 'link', 'visible', 'position', 'created_at', 'updated_at', ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -107,11 +107,11 @@ abstract class BaseCategoryPeer
|
|||||||
* e.g. CategoryPeer::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
* e.g. CategoryPeer::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0
|
||||||
*/
|
*/
|
||||||
protected static $fieldKeys = array (
|
protected static $fieldKeys = array (
|
||||||
BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Parent' => 1, 'Link' => 2, 'Visible' => 3, 'Position' => 4, 'CreatedAt' => 5, 'UpdateAt' => 6, ),
|
BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Parent' => 1, 'Link' => 2, 'Visible' => 3, 'Position' => 4, 'CreatedAt' => 5, 'UpdatedAt' => 6, ),
|
||||||
BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'parent' => 1, 'link' => 2, 'visible' => 3, 'position' => 4, 'createdAt' => 5, 'updateAt' => 6, ),
|
BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'parent' => 1, 'link' => 2, 'visible' => 3, 'position' => 4, 'createdAt' => 5, 'updatedAt' => 6, ),
|
||||||
BasePeer::TYPE_COLNAME => array (CategoryPeer::ID => 0, CategoryPeer::PARENT => 1, CategoryPeer::LINK => 2, CategoryPeer::VISIBLE => 3, CategoryPeer::POSITION => 4, CategoryPeer::CREATED_AT => 5, CategoryPeer::UPDATE_AT => 6, ),
|
BasePeer::TYPE_COLNAME => array (CategoryPeer::ID => 0, CategoryPeer::PARENT => 1, CategoryPeer::LINK => 2, CategoryPeer::VISIBLE => 3, CategoryPeer::POSITION => 4, CategoryPeer::CREATED_AT => 5, CategoryPeer::UPDATED_AT => 6, ),
|
||||||
BasePeer::TYPE_RAW_COLNAME => array ('ID' => 0, 'PARENT' => 1, 'LINK' => 2, 'VISIBLE' => 3, 'POSITION' => 4, 'CREATED_AT' => 5, 'UPDATE_AT' => 6, ),
|
BasePeer::TYPE_RAW_COLNAME => array ('ID' => 0, 'PARENT' => 1, 'LINK' => 2, 'VISIBLE' => 3, 'POSITION' => 4, 'CREATED_AT' => 5, 'UPDATED_AT' => 6, ),
|
||||||
BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'parent' => 1, 'link' => 2, 'visible' => 3, 'position' => 4, 'created_at' => 5, 'update_at' => 6, ),
|
BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'parent' => 1, 'link' => 2, 'visible' => 3, 'position' => 4, 'created_at' => 5, 'updated_at' => 6, ),
|
||||||
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
|
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, )
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -192,7 +192,7 @@ abstract class BaseCategoryPeer
|
|||||||
$criteria->addSelectColumn(CategoryPeer::VISIBLE);
|
$criteria->addSelectColumn(CategoryPeer::VISIBLE);
|
||||||
$criteria->addSelectColumn(CategoryPeer::POSITION);
|
$criteria->addSelectColumn(CategoryPeer::POSITION);
|
||||||
$criteria->addSelectColumn(CategoryPeer::CREATED_AT);
|
$criteria->addSelectColumn(CategoryPeer::CREATED_AT);
|
||||||
$criteria->addSelectColumn(CategoryPeer::UPDATE_AT);
|
$criteria->addSelectColumn(CategoryPeer::UPDATED_AT);
|
||||||
} else {
|
} else {
|
||||||
$criteria->addSelectColumn($alias . '.ID');
|
$criteria->addSelectColumn($alias . '.ID');
|
||||||
$criteria->addSelectColumn($alias . '.PARENT');
|
$criteria->addSelectColumn($alias . '.PARENT');
|
||||||
@@ -200,7 +200,7 @@ abstract class BaseCategoryPeer
|
|||||||
$criteria->addSelectColumn($alias . '.VISIBLE');
|
$criteria->addSelectColumn($alias . '.VISIBLE');
|
||||||
$criteria->addSelectColumn($alias . '.POSITION');
|
$criteria->addSelectColumn($alias . '.POSITION');
|
||||||
$criteria->addSelectColumn($alias . '.CREATED_AT');
|
$criteria->addSelectColumn($alias . '.CREATED_AT');
|
||||||
$criteria->addSelectColumn($alias . '.UPDATE_AT');
|
$criteria->addSelectColumn($alias . '.UPDATED_AT');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ use Thelia\Model\Rewriting;
|
|||||||
* @method CategoryQuery orderByVisible($order = Criteria::ASC) Order by the visible column
|
* @method CategoryQuery orderByVisible($order = Criteria::ASC) Order by the visible column
|
||||||
* @method CategoryQuery orderByPosition($order = Criteria::ASC) Order by the position column
|
* @method CategoryQuery orderByPosition($order = Criteria::ASC) Order by the position column
|
||||||
* @method CategoryQuery orderByCreatedAt($order = Criteria::ASC) Order by the created_at column
|
* @method CategoryQuery orderByCreatedAt($order = Criteria::ASC) Order by the created_at column
|
||||||
* @method CategoryQuery orderByUpdateAt($order = Criteria::ASC) Order by the update_at column
|
* @method CategoryQuery orderByUpdatedAt($order = Criteria::ASC) Order by the updated_at column
|
||||||
*
|
*
|
||||||
* @method CategoryQuery groupById() Group by the id column
|
* @method CategoryQuery groupById() Group by the id column
|
||||||
* @method CategoryQuery groupByParent() Group by the parent column
|
* @method CategoryQuery groupByParent() Group by the parent column
|
||||||
@@ -43,7 +43,7 @@ use Thelia\Model\Rewriting;
|
|||||||
* @method CategoryQuery groupByVisible() Group by the visible column
|
* @method CategoryQuery groupByVisible() Group by the visible column
|
||||||
* @method CategoryQuery groupByPosition() Group by the position column
|
* @method CategoryQuery groupByPosition() Group by the position column
|
||||||
* @method CategoryQuery groupByCreatedAt() Group by the created_at column
|
* @method CategoryQuery groupByCreatedAt() Group by the created_at column
|
||||||
* @method CategoryQuery groupByUpdateAt() Group by the update_at column
|
* @method CategoryQuery groupByUpdatedAt() Group by the updated_at column
|
||||||
*
|
*
|
||||||
* @method CategoryQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
|
* @method CategoryQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
|
||||||
* @method CategoryQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
|
* @method CategoryQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
|
||||||
@@ -90,7 +90,7 @@ use Thelia\Model\Rewriting;
|
|||||||
* @method Category findOneByVisible(int $visible) Return the first Category filtered by the visible column
|
* @method Category findOneByVisible(int $visible) Return the first Category filtered by the visible column
|
||||||
* @method Category findOneByPosition(int $position) Return the first Category filtered by the position column
|
* @method Category findOneByPosition(int $position) Return the first Category filtered by the position column
|
||||||
* @method Category findOneByCreatedAt(string $created_at) Return the first Category filtered by the created_at column
|
* @method Category findOneByCreatedAt(string $created_at) Return the first Category filtered by the created_at column
|
||||||
* @method Category findOneByUpdateAt(string $update_at) Return the first Category filtered by the update_at column
|
* @method Category findOneByUpdatedAt(string $updated_at) Return the first Category filtered by the updated_at column
|
||||||
*
|
*
|
||||||
* @method array findById(int $id) Return Category objects filtered by the id column
|
* @method array findById(int $id) Return Category objects filtered by the id column
|
||||||
* @method array findByParent(int $parent) Return Category objects filtered by the parent column
|
* @method array findByParent(int $parent) Return Category objects filtered by the parent column
|
||||||
@@ -98,7 +98,7 @@ use Thelia\Model\Rewriting;
|
|||||||
* @method array findByVisible(int $visible) Return Category objects filtered by the visible column
|
* @method array findByVisible(int $visible) Return Category objects filtered by the visible column
|
||||||
* @method array findByPosition(int $position) Return Category objects filtered by the position column
|
* @method array findByPosition(int $position) Return Category objects filtered by the position column
|
||||||
* @method array findByCreatedAt(string $created_at) Return Category objects filtered by the created_at column
|
* @method array findByCreatedAt(string $created_at) Return Category objects filtered by the created_at column
|
||||||
* @method array findByUpdateAt(string $update_at) Return Category objects filtered by the update_at column
|
* @method array findByUpdatedAt(string $updated_at) Return Category objects filtered by the updated_at column
|
||||||
*
|
*
|
||||||
* @package propel.generator.Thelia.Model.om
|
* @package propel.generator.Thelia.Model.om
|
||||||
*/
|
*/
|
||||||
@@ -188,7 +188,7 @@ abstract class BaseCategoryQuery extends ModelCriteria
|
|||||||
*/
|
*/
|
||||||
protected function findPkSimple($key, $con)
|
protected function findPkSimple($key, $con)
|
||||||
{
|
{
|
||||||
$sql = 'SELECT `ID`, `PARENT`, `LINK`, `VISIBLE`, `POSITION`, `CREATED_AT`, `UPDATE_AT` FROM `category` WHERE `ID` = :p0';
|
$sql = 'SELECT `ID`, `PARENT`, `LINK`, `VISIBLE`, `POSITION`, `CREATED_AT`, `UPDATED_AT` FROM `category` WHERE `ID` = :p0';
|
||||||
try {
|
try {
|
||||||
$stmt = $con->prepare($sql);
|
$stmt = $con->prepare($sql);
|
||||||
$stmt->bindValue(':p0', $key, PDO::PARAM_INT);
|
$stmt->bindValue(':p0', $key, PDO::PARAM_INT);
|
||||||
@@ -516,16 +516,16 @@ abstract class BaseCategoryQuery extends ModelCriteria
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter the query on the update_at column
|
* Filter the query on the updated_at column
|
||||||
*
|
*
|
||||||
* Example usage:
|
* Example usage:
|
||||||
* <code>
|
* <code>
|
||||||
* $query->filterByUpdateAt('2011-03-14'); // WHERE update_at = '2011-03-14'
|
* $query->filterByUpdatedAt('2011-03-14'); // WHERE updated_at = '2011-03-14'
|
||||||
* $query->filterByUpdateAt('now'); // WHERE update_at = '2011-03-14'
|
* $query->filterByUpdatedAt('now'); // WHERE updated_at = '2011-03-14'
|
||||||
* $query->filterByUpdateAt(array('max' => 'yesterday')); // WHERE update_at > '2011-03-13'
|
* $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'
|
||||||
* </code>
|
* </code>
|
||||||
*
|
*
|
||||||
* @param mixed $updateAt The value to use as filter.
|
* @param mixed $updatedAt The value to use as filter.
|
||||||
* Values can be integers (unix timestamps), DateTime objects, or strings.
|
* Values can be integers (unix timestamps), DateTime objects, or strings.
|
||||||
* Empty strings are treated as NULL.
|
* Empty strings are treated as NULL.
|
||||||
* Use scalar values for equality.
|
* Use scalar values for equality.
|
||||||
@@ -535,16 +535,16 @@ abstract class BaseCategoryQuery extends ModelCriteria
|
|||||||
*
|
*
|
||||||
* @return CategoryQuery The current query, for fluid interface
|
* @return CategoryQuery The current query, for fluid interface
|
||||||
*/
|
*/
|
||||||
public function filterByUpdateAt($updateAt = null, $comparison = null)
|
public function filterByUpdatedAt($updatedAt = null, $comparison = null)
|
||||||
{
|
{
|
||||||
if (is_array($updateAt)) {
|
if (is_array($updatedAt)) {
|
||||||
$useMinMax = false;
|
$useMinMax = false;
|
||||||
if (isset($updateAt['min'])) {
|
if (isset($updatedAt['min'])) {
|
||||||
$this->addUsingAlias(CategoryPeer::UPDATE_AT, $updateAt['min'], Criteria::GREATER_EQUAL);
|
$this->addUsingAlias(CategoryPeer::UPDATED_AT, $updatedAt['min'], Criteria::GREATER_EQUAL);
|
||||||
$useMinMax = true;
|
$useMinMax = true;
|
||||||
}
|
}
|
||||||
if (isset($updateAt['max'])) {
|
if (isset($updatedAt['max'])) {
|
||||||
$this->addUsingAlias(CategoryPeer::UPDATE_AT, $updateAt['max'], Criteria::LESS_EQUAL);
|
$this->addUsingAlias(CategoryPeer::UPDATED_AT, $updatedAt['max'], Criteria::LESS_EQUAL);
|
||||||
$useMinMax = true;
|
$useMinMax = true;
|
||||||
}
|
}
|
||||||
if ($useMinMax) {
|
if ($useMinMax) {
|
||||||
@@ -555,7 +555,7 @@ abstract class BaseCategoryQuery extends ModelCriteria
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->addUsingAlias(CategoryPeer::UPDATE_AT, $updateAt, $comparison);
|
return $this->addUsingAlias(CategoryPeer::UPDATED_AT, $updatedAt, $comparison);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
# Database driver
|
|
||||||
propel.database = mysql
|
|
||||||
|
|
||||||
# Project name
|
|
||||||
propel.project = thelia
|
|
||||||
|
|
||||||
propel.schema.validate = false
|
|
||||||
|
|
||||||
propel.namespace.autoPackage = true
|
|
||||||
|
|
||||||
# The directory where Propel should output generated object model classes.
|
|
||||||
propel.php.dir = ${propel.project.dir}/../../core/lib
|
|
||||||
|
|
||||||
|
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
<table name="admin_log" phpName="AdminLog" namespace="">
|
<table name="admin_log" phpName="AdminLog" namespace="">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
<parameter name="Engine" value="InnoDB" />
|
<parameter name="Engine" value="InnoDB" />
|
||||||
<parameter name="Charset" value="" />
|
<parameter name="Charset" value="utf8" />
|
||||||
</vendor>
|
</vendor>
|
||||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||||
<column name="admin_login" type="VARCHAR" size="255" />
|
<column name="admin_login" type="VARCHAR" size="255" />
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
<table name="area" phpName="Area" namespace="">
|
<table name="area" phpName="Area" namespace="">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
<parameter name="Engine" value="InnoDB" />
|
<parameter name="Engine" value="InnoDB" />
|
||||||
<parameter name="Charset" value="" />
|
<parameter name="Charset" value="utf8" />
|
||||||
</vendor>
|
</vendor>
|
||||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||||
<column name="name" type="VARCHAR" size="100" required="true" />
|
<column name="name" type="VARCHAR" size="100" required="true" />
|
||||||
@@ -237,7 +237,7 @@
|
|||||||
<column name="visible" type="TINYINT" required="true" />
|
<column name="visible" type="TINYINT" required="true" />
|
||||||
<column name="position" type="INTEGER" required="true" />
|
<column name="position" type="INTEGER" required="true" />
|
||||||
<column name="created_at" type="TIMESTAMP" required="true" />
|
<column name="created_at" type="TIMESTAMP" required="true" />
|
||||||
<column name="update_at" type="TIMESTAMP" required="true" />
|
<column name="updated_at" type="TIMESTAMP" required="true" />
|
||||||
<foreign-key name="fk_attribute_category_category_id" foreignTable="attribute_category" phpName="AttributeCategory" refPhpName="Category" onDelete="cascade" onUpdate="restrict">
|
<foreign-key name="fk_attribute_category_category_id" foreignTable="attribute_category" phpName="AttributeCategory" refPhpName="Category" onDelete="cascade" onUpdate="restrict">
|
||||||
<reference local="id" foreign="category_id" />
|
<reference local="id" foreign="category_id" />
|
||||||
</foreign-key>
|
</foreign-key>
|
||||||
@@ -316,7 +316,7 @@
|
|||||||
<table name="config_desc" phpName="ConfigDesc" namespace="">
|
<table name="config_desc" phpName="ConfigDesc" namespace="">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
<parameter name="Engine" value="InnoDB" />
|
<parameter name="Engine" value="InnoDB" />
|
||||||
<parameter name="Charset" value="" />
|
<parameter name="Charset" value="utf8" />
|
||||||
</vendor>
|
</vendor>
|
||||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||||
<column name="config_id" type="INTEGER" required="true" />
|
<column name="config_id" type="INTEGER" required="true" />
|
||||||
@@ -603,7 +603,7 @@
|
|||||||
<table name="delivzone" phpName="Delivzone" namespace="">
|
<table name="delivzone" phpName="Delivzone" namespace="">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
<parameter name="Engine" value="InnoDB" />
|
<parameter name="Engine" value="InnoDB" />
|
||||||
<parameter name="Charset" value="" />
|
<parameter name="Charset" value="utf8" />
|
||||||
</vendor>
|
</vendor>
|
||||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||||
<column name="area_id" type="INTEGER" />
|
<column name="area_id" type="INTEGER" />
|
||||||
@@ -949,7 +949,7 @@
|
|||||||
<table name="lang" phpName="Lang" namespace="">
|
<table name="lang" phpName="Lang" namespace="">
|
||||||
<vendor type="mysql">
|
<vendor type="mysql">
|
||||||
<parameter name="Engine" value="InnoDB" />
|
<parameter name="Engine" value="InnoDB" />
|
||||||
<parameter name="Charset" value="" />
|
<parameter name="Charset" value="utf8" />
|
||||||
</vendor>
|
</vendor>
|
||||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||||
<column name="title" type="VARCHAR" size="100" />
|
<column name="title" type="VARCHAR" size="100" />
|
||||||
|
|||||||
Reference in New Issue
Block a user