CC-4961: Show linking

This commit is contained in:
denise 2013-04-09 15:55:18 -04:00
parent e64f6fb3fd
commit 9b2fb3bece
19 changed files with 485 additions and 5918 deletions

View file

@ -21,6 +21,7 @@
* @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 groupByDbId() Group by the id column
* @method CcScheduleQuery groupByDbStarts() Group by the starts column
@ -37,6 +38,7 @@
* @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 leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method CcScheduleQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
@ -76,6 +78,7 @@
* @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 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
@ -92,6 +95,7 @@
* @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
*
* @package propel.generator.airtime.om
*/
@ -611,6 +615,37 @@ abstract class BaseCcScheduleQuery extends ModelCriteria
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);
}
/**
* Filter the query by a related CcShowInstances object
*