CC-4961: Show linking

Removed stamp tables
This commit is contained in:
denise 2013-04-12 10:52:13 -04:00
parent 9b2fb3bece
commit 9b4a0ba9c1
43 changed files with 55 additions and 10288 deletions

View file

@ -20,8 +20,7 @@
* @method CcScheduleQuery orderByDbInstanceId($order = Criteria::ASC) Order by the instance_id column
* @method CcScheduleQuery orderByDbPlayoutStatus($order = Criteria::ASC) Order by the playout_status column
* @method CcScheduleQuery orderByDbBroadcasted($order = Criteria::ASC) Order by the broadcasted column
* @method CcScheduleQuery orderByDbStampId($order = Criteria::ASC) Order by the stamp_id column
* @method CcScheduleQuery orderByDbStampContentId($order = Criteria::ASC) Order by the stamp_content_id column
* @method CcScheduleQuery orderByDbPosition($order = Criteria::ASC) Order by the position column
*
* @method CcScheduleQuery groupByDbId() Group by the id column
* @method CcScheduleQuery groupByDbStarts() Group by the starts column
@ -37,8 +36,7 @@
* @method CcScheduleQuery groupByDbInstanceId() Group by the instance_id column
* @method CcScheduleQuery groupByDbPlayoutStatus() Group by the playout_status column
* @method CcScheduleQuery groupByDbBroadcasted() Group by the broadcasted column
* @method CcScheduleQuery groupByDbStampId() Group by the stamp_id column
* @method CcScheduleQuery groupByDbStampContentId() Group by the stamp_content_id column
* @method CcScheduleQuery groupByDbPosition() Group by the position column
*
* @method CcScheduleQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method CcScheduleQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
@ -77,8 +75,7 @@
* @method CcSchedule findOneByDbInstanceId(int $instance_id) Return the first CcSchedule filtered by the instance_id column
* @method CcSchedule findOneByDbPlayoutStatus(int $playout_status) Return the first CcSchedule filtered by the playout_status column
* @method CcSchedule findOneByDbBroadcasted(int $broadcasted) Return the first CcSchedule filtered by the broadcasted column
* @method CcSchedule findOneByDbStampId(int $stamp_id) Return the first CcSchedule filtered by the stamp_id column
* @method CcSchedule findOneByDbStampContentId(int $stamp_content_id) Return the first CcSchedule filtered by the stamp_content_id column
* @method CcSchedule findOneByDbPosition(int $position) Return the first CcSchedule filtered by the position column
*
* @method array findByDbId(int $id) Return CcSchedule objects filtered by the id column
* @method array findByDbStarts(string $starts) Return CcSchedule objects filtered by the starts column
@ -94,8 +91,7 @@
* @method array findByDbInstanceId(int $instance_id) Return CcSchedule objects filtered by the instance_id column
* @method array findByDbPlayoutStatus(int $playout_status) Return CcSchedule objects filtered by the playout_status column
* @method array findByDbBroadcasted(int $broadcasted) Return CcSchedule objects filtered by the broadcasted column
* @method array findByDbStampId(int $stamp_id) Return CcSchedule objects filtered by the stamp_id column
* @method array findByDbStampContentId(int $stamp_content_id) Return CcSchedule objects filtered by the stamp_content_id column
* @method array findByDbPosition(int $position) Return CcSchedule objects filtered by the position column
*
* @package propel.generator.airtime.om
*/
@ -585,24 +581,24 @@ abstract class BaseCcScheduleQuery extends ModelCriteria
}
/**
* Filter the query on the stamp_id column
* Filter the query on the position column
*
* @param int|array $dbStampId The value to use as filter.
* @param int|array $dbPosition The value to use as filter.
* Accepts an associative array('min' => $minValue, 'max' => $maxValue)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return CcScheduleQuery The current query, for fluid interface
*/
public function filterByDbStampId($dbStampId = null, $comparison = null)
public function filterByDbPosition($dbPosition = null, $comparison = null)
{
if (is_array($dbStampId)) {
if (is_array($dbPosition)) {
$useMinMax = false;
if (isset($dbStampId['min'])) {
$this->addUsingAlias(CcSchedulePeer::STAMP_ID, $dbStampId['min'], Criteria::GREATER_EQUAL);
if (isset($dbPosition['min'])) {
$this->addUsingAlias(CcSchedulePeer::POSITION, $dbPosition['min'], Criteria::GREATER_EQUAL);
$useMinMax = true;
}
if (isset($dbStampId['max'])) {
$this->addUsingAlias(CcSchedulePeer::STAMP_ID, $dbStampId['max'], Criteria::LESS_EQUAL);
if (isset($dbPosition['max'])) {
$this->addUsingAlias(CcSchedulePeer::POSITION, $dbPosition['max'], Criteria::LESS_EQUAL);
$useMinMax = true;
}
if ($useMinMax) {
@ -612,38 +608,7 @@ abstract class BaseCcScheduleQuery extends ModelCriteria
$comparison = Criteria::IN;
}
}
return $this->addUsingAlias(CcSchedulePeer::STAMP_ID, $dbStampId, $comparison);
}
/**
* Filter the query on the stamp_content_id column
*
* @param int|array $dbStampContentId The value to use as filter.
* Accepts an associative array('min' => $minValue, 'max' => $maxValue)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return CcScheduleQuery The current query, for fluid interface
*/
public function filterByDbStampContentId($dbStampContentId = null, $comparison = null)
{
if (is_array($dbStampContentId)) {
$useMinMax = false;
if (isset($dbStampContentId['min'])) {
$this->addUsingAlias(CcSchedulePeer::STAMP_CONTENT_ID, $dbStampContentId['min'], Criteria::GREATER_EQUAL);
$useMinMax = true;
}
if (isset($dbStampContentId['max'])) {
$this->addUsingAlias(CcSchedulePeer::STAMP_CONTENT_ID, $dbStampContentId['max'], Criteria::LESS_EQUAL);
$useMinMax = true;
}
if ($useMinMax) {
return $this;
}
if (null === $comparison) {
$comparison = Criteria::IN;
}
}
return $this->addUsingAlias(CcSchedulePeer::STAMP_CONTENT_ID, $dbStampContentId, $comparison);
return $this->addUsingAlias(CcSchedulePeer::POSITION, $dbPosition, $comparison);
}
/**