Run pre-commit on legacy code

This commit is contained in:
jo 2021-10-12 11:17:57 +02:00
parent fea11ac752
commit 83b7e4162e
323 changed files with 6126 additions and 6462 deletions

View file

@ -92,7 +92,7 @@ SQL;
// this query selects all show instances that aired in this date range that match the show_id
$sql = <<<'SQL'
SELECT id, starts, ends FROM cc_show_instances WHERE show_id =:p1
SELECT id, starts, ends FROM cc_show_instances WHERE show_id =:p1
AND starts >=:p2 AND ends <=:p3
SQL;
$data = Application_Common_Database::prepareAndExecute(
@ -134,7 +134,7 @@ SQL;
// this query selects the id of all show instances that aired in this date range
$all_show_data = [];
$sql = <<<'SQL'
SELECT show_id FROM cc_show_instances
SELECT show_id FROM cc_show_instances
WHERE starts >=:p1 AND ends <=:p2
GROUP BY show_id
SQL;

View file

@ -61,9 +61,9 @@ class CcSectionTableMap extends TableMap {
} // buildRelations()
/**
*
*
* Gets the list of behaviors registered for this table
*
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()

View file

@ -60,9 +60,9 @@ class CcSectioncontentsTableMap extends TableMap {
} // buildRelations()
/**
*
*
* Gets the list of behaviors registered for this table
*
*
* @return array Associative array (name => parameters) of behaviors
*/
public function getBehaviors()

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_access' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -125,7 +125,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getId()
@ -135,7 +135,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [gunid] column value.
*
*
* @return string
*/
public function getGunid()
@ -145,7 +145,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [token] column value.
*
*
* @return string
*/
public function getToken()
@ -155,7 +155,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [chsum] column value.
*
*
* @return string
*/
public function getChsum()
@ -165,7 +165,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [ext] column value.
*
*
* @return string
*/
public function getExt()
@ -175,7 +175,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [type] column value.
*
*
* @return string
*/
public function getType()
@ -185,7 +185,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [parent] column value.
*
*
* @return string
*/
public function getParent()
@ -195,7 +195,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [owner] column value.
*
*
* @return int
*/
public function getOwner()
@ -205,7 +205,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Get the [optionally formatted] temporal [ts] column value.
*
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is NULL, then the raw DateTime object will be returned.
@ -238,7 +238,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -258,7 +258,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [gunid] column.
*
*
* @param string $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -278,7 +278,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [token] column.
*
*
* @param string $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -298,7 +298,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [chsum] column.
*
*
* @param string $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -318,7 +318,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [ext] column.
*
*
* @param string $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -338,7 +338,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [type] column.
*
*
* @param string $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -358,7 +358,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [parent] column.
*
*
* @param string $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -378,7 +378,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Set the value of [owner] column.
*
*
* @param int $v new value
* @return CcAccess The current object (for fluent API support)
*/
@ -402,7 +402,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
/**
* Sets the value of [ts] column to a normalized version of the date/time value specified.
*
*
* @param mixed $v string, integer (timestamp), or DateTime value. Empty string will
* be treated as NULL for temporal objects.
* @return CcAccess The current object (for fluent API support)
@ -438,7 +438,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
$currNorm = ($this->ts !== null && $tmpDt = new DateTime($this->ts)) ? $tmpDt->format('Y-m-d\\TH:i:sO') : null;
$newNorm = ($dt !== null) ? $dt->format('Y-m-d\\TH:i:sO') : null;
if ( ($currNorm !== $newNorm) // normalized values don't match
if ( ($currNorm !== $newNorm) // normalized values don't match
)
{
$this->ts = ($dt ? $dt->format('Y-m-d\\TH:i:sO') : null);
@ -597,7 +597,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcAccessPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -639,7 +639,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcAccessPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -877,7 +877,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
* @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE.

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_access' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcAccessPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcAccessTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 9;
@ -361,7 +361,7 @@ abstract class BaseCcAccessPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -371,7 +371,7 @@ abstract class BaseCcAccessPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_access
* by a foreign key with ON DELETE CASCADE
@ -400,7 +400,7 @@ abstract class BaseCcAccessPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -412,7 +412,7 @@ abstract class BaseCcAccessPeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -423,7 +423,7 @@ abstract class BaseCcAccessPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcAccessPeer::getOMClass(false);
// populate the object(s)
@ -496,9 +496,9 @@ abstract class BaseCcAccessPeer {
if (!$criteria->hasSelectClause()) {
CcAccessPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -612,9 +612,9 @@ abstract class BaseCcAccessPeer {
if (!$criteria->hasSelectClause()) {
CcAccessPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -901,7 +901,7 @@ abstract class BaseCcAccessPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcAccessPeer::clearRelatedInstancePool();
$con->commit();
@ -1005,4 +1005,3 @@ abstract class BaseCcAccessPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcAccessPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_access' table.
*
*
*
*
* @method CcAccessQuery orderById($order = Criteria::ASC) Order by the id column
* @method CcAccessQuery orderByGunid($order = Criteria::ASC) Order by the gunid column
@ -134,7 +134,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -167,7 +167,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $id 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
@ -184,7 +184,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the gunid column
*
*
* @param string $gunid The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -206,7 +206,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the token column
*
*
* @param string|array $token 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
@ -237,7 +237,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the chsum column
*
*
* @param string $chsum The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -259,7 +259,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the ext column
*
*
* @param string $ext The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -281,7 +281,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the type column
*
*
* @param string $type The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -303,7 +303,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the parent column
*
*
* @param string|array $parent 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
@ -334,7 +334,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the owner column
*
*
* @param int|array $owner 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
@ -365,7 +365,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the ts column
*
*
* @param string|array $ts 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
@ -410,7 +410,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcSubjs relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -420,7 +420,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcSubjs');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -428,7 +428,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -436,7 +436,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcSubjs');
}
return $this;
}
@ -444,7 +444,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
* Use the CcSubjs relation CcSubjs object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -470,7 +470,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
if ($ccAccess) {
$this->addUsingAlias(CcAccessPeer::ID, $ccAccess->getId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_backup' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -70,7 +70,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Get the [token] column value.
*
*
* @return string
*/
public function getToken()
@ -80,7 +80,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Get the [sessionid] column value.
*
*
* @return string
*/
public function getSessionid()
@ -90,7 +90,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Get the [status] column value.
*
*
* @return string
*/
public function getStatus()
@ -100,7 +100,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Get the [optionally formatted] temporal [fromtime] column value.
*
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is NULL, then the raw DateTime object will be returned.
@ -133,7 +133,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Get the [optionally formatted] temporal [totime] column value.
*
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is NULL, then the raw DateTime object will be returned.
@ -166,7 +166,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Set the value of [token] column.
*
*
* @param string $v new value
* @return CcBackup The current object (for fluent API support)
*/
@ -186,7 +186,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Set the value of [sessionid] column.
*
*
* @param string $v new value
* @return CcBackup The current object (for fluent API support)
*/
@ -206,7 +206,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Set the value of [status] column.
*
*
* @param string $v new value
* @return CcBackup The current object (for fluent API support)
*/
@ -226,7 +226,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Sets the value of [fromtime] column to a normalized version of the date/time value specified.
*
*
* @param mixed $v string, integer (timestamp), or DateTime value. Empty string will
* be treated as NULL for temporal objects.
* @return CcBackup The current object (for fluent API support)
@ -262,7 +262,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
$currNorm = ($this->fromtime !== null && $tmpDt = new DateTime($this->fromtime)) ? $tmpDt->format('Y-m-d\\TH:i:sO') : null;
$newNorm = ($dt !== null) ? $dt->format('Y-m-d\\TH:i:sO') : null;
if ( ($currNorm !== $newNorm) // normalized values don't match
if ( ($currNorm !== $newNorm) // normalized values don't match
)
{
$this->fromtime = ($dt ? $dt->format('Y-m-d\\TH:i:sO') : null);
@ -275,7 +275,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
/**
* Sets the value of [totime] column to a normalized version of the date/time value specified.
*
*
* @param mixed $v string, integer (timestamp), or DateTime value. Empty string will
* be treated as NULL for temporal objects.
* @return CcBackup The current object (for fluent API support)
@ -311,7 +311,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
$currNorm = ($this->totime !== null && $tmpDt = new DateTime($this->totime)) ? $tmpDt->format('Y-m-d\\TH:i:sO') : null;
$newNorm = ($dt !== null) ? $dt->format('Y-m-d\\TH:i:sO') : null;
if ( ($currNorm !== $newNorm) // normalized values don't match
if ( ($currNorm !== $newNorm) // normalized values don't match
)
{
$this->totime = ($dt ? $dt->format('Y-m-d\\TH:i:sO') : null);
@ -450,7 +450,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcBackupPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -492,7 +492,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcBackupPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -686,7 +686,7 @@ abstract class BaseCcBackup extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
*

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_backup' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcBackupPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcBackupTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 5;
@ -341,7 +341,7 @@ abstract class BaseCcBackupPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -351,7 +351,7 @@ abstract class BaseCcBackupPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_backup
* by a foreign key with ON DELETE CASCADE
@ -380,7 +380,7 @@ abstract class BaseCcBackupPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -392,7 +392,7 @@ abstract class BaseCcBackupPeer {
{
return (string) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -403,7 +403,7 @@ abstract class BaseCcBackupPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcBackupPeer::getOMClass(false);
// populate the object(s)
@ -643,7 +643,7 @@ abstract class BaseCcBackupPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcBackupPeer::clearRelatedInstancePool();
$con->commit();
@ -747,4 +747,3 @@ abstract class BaseCcBackupPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcBackupPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_backup' table.
*
*
*
*
* @method CcBackupQuery orderByToken($order = Criteria::ASC) Order by the token column
* @method CcBackupQuery orderBySessionid($order = Criteria::ASC) Order by the sessionid column
@ -114,7 +114,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -147,7 +147,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
/**
* Filter the query on the token column
*
*
* @param string $token The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -169,7 +169,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
/**
* Filter the query on the sessionid column
*
*
* @param string $sessionid The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -191,7 +191,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
/**
* Filter the query on the status column
*
*
* @param string $status The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -213,7 +213,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
/**
* Filter the query on the fromtime column
*
*
* @param string|array $fromtime 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
@ -244,7 +244,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
/**
* Filter the query on the totime column
*
*
* @param string|array $totime 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
@ -285,7 +285,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
if ($ccBackup) {
$this->addUsingAlias(CcBackupPeer::TOKEN, $ccBackup->getToken(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -1035,4 +1035,3 @@ abstract class BaseCcBlockPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcBlockPeer::buildTableMap();

View file

@ -1429,4 +1429,3 @@ abstract class BaseCcBlockcontentsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcBlockcontentsPeer::buildTableMap();

View file

@ -1021,4 +1021,3 @@ abstract class BaseCcBlockcriteriaPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcBlockcriteriaPeer::buildTableMap();

View file

@ -754,4 +754,3 @@ abstract class BaseCcCountryPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcCountryPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_file_tag' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -68,7 +68,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getDbId()
@ -78,7 +78,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
/**
* Get the [file_id] column value.
*
*
* @return int
*/
public function getDbFileId()
@ -88,7 +88,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
/**
* Get the [tag_id] column value.
*
*
* @return int
*/
public function getDbTagId()
@ -98,7 +98,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcFileTag The current object (for fluent API support)
*/
@ -118,7 +118,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
/**
* Set the value of [file_id] column.
*
*
* @param int $v new value
* @return CcFileTag The current object (for fluent API support)
*/
@ -142,7 +142,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
/**
* Set the value of [tag_id] column.
*
*
* @param int $v new value
* @return CcFileTag The current object (for fluent API support)
*/
@ -298,7 +298,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcFileTagPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -340,7 +340,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcFileTagPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -573,7 +573,7 @@ abstract class BaseCcFileTag extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
* @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE.

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_file_tag' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcFileTagPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcFileTagTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 3;
@ -331,7 +331,7 @@ abstract class BaseCcFileTagPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -341,7 +341,7 @@ abstract class BaseCcFileTagPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_file_tag
* by a foreign key with ON DELETE CASCADE
@ -370,7 +370,7 @@ abstract class BaseCcFileTagPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -382,7 +382,7 @@ abstract class BaseCcFileTagPeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -393,7 +393,7 @@ abstract class BaseCcFileTagPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcFileTagPeer::getOMClass(false);
// populate the object(s)
@ -466,9 +466,9 @@ abstract class BaseCcFileTagPeer {
if (!$criteria->hasSelectClause()) {
CcFileTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -516,9 +516,9 @@ abstract class BaseCcFileTagPeer {
if (!$criteria->hasSelectClause()) {
CcFileTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -698,9 +698,9 @@ abstract class BaseCcFileTagPeer {
if (!$criteria->hasSelectClause()) {
CcFileTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -833,7 +833,7 @@ abstract class BaseCcFileTagPeer {
// it will be impossible for the BasePeer::createSelectSql() method to determine which
// tables go into the FROM clause.
$criteria->setPrimaryTableName(CcFileTagPeer::TABLE_NAME);
if ($distinct && !in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
$criteria->setDistinct();
}
@ -841,16 +841,16 @@ abstract class BaseCcFileTagPeer {
if (!$criteria->hasSelectClause()) {
CcFileTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY should not affect count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
if ($con === null) {
$con = Propel::getConnection(CcFileTagPeer::DATABASE_NAME, Propel::CONNECTION_READ);
}
$criteria->addJoin(CcFileTagPeer::TAG_ID, CcTagPeer::ID, $join_behavior);
$stmt = BasePeer::doCount($criteria, $con);
@ -883,7 +883,7 @@ abstract class BaseCcFileTagPeer {
// it will be impossible for the BasePeer::createSelectSql() method to determine which
// tables go into the FROM clause.
$criteria->setPrimaryTableName(CcFileTagPeer::TABLE_NAME);
if ($distinct && !in_array(Criteria::DISTINCT, $criteria->getSelectModifiers())) {
$criteria->setDistinct();
}
@ -891,16 +891,16 @@ abstract class BaseCcFileTagPeer {
if (!$criteria->hasSelectClause()) {
CcFileTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY should not affect count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
if ($con === null) {
$con = Propel::getConnection(CcFileTagPeer::DATABASE_NAME, Propel::CONNECTION_READ);
}
$criteria->addJoin(CcFileTagPeer::FILE_ID, CcFilesPeer::ID, $join_behavior);
$stmt = BasePeer::doCount($criteria, $con);
@ -968,7 +968,7 @@ abstract class BaseCcFileTagPeer {
if ($key2 !== null) {
$obj2 = CcTagPeer::getInstanceFromPool($key2);
if (!$obj2) {
$cls = CcTagPeer::getOMClass(false);
$obj2 = new $cls();
@ -1041,7 +1041,7 @@ abstract class BaseCcFileTagPeer {
if ($key2 !== null) {
$obj2 = CcFilesPeer::getInstanceFromPool($key2);
if (!$obj2) {
$cls = CcFilesPeer::getOMClass(false);
$obj2 = new $cls();
@ -1258,7 +1258,7 @@ abstract class BaseCcFileTagPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcFileTagPeer::clearRelatedInstancePool();
$con->commit();
@ -1362,4 +1362,3 @@ abstract class BaseCcFileTagPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcFileTagPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_file_tag' table.
*
*
*
*
* @method CcFileTagQuery orderByDbId($order = Criteria::ASC) Order by the id column
* @method CcFileTagQuery orderByDbFileId($order = Criteria::ASC) Order by the file_id column
@ -114,7 +114,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -147,7 +147,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $dbId 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
@ -164,7 +164,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
/**
* Filter the query on the file_id column
*
*
* @param int|array $dbFileId 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
@ -195,7 +195,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
/**
* Filter the query on the tag_id column
*
*
* @param int|array $dbTagId 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
@ -240,7 +240,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcFiles relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -250,7 +250,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcFiles');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -258,7 +258,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -266,7 +266,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcFiles');
}
return $this;
}
@ -274,7 +274,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
* Use the CcFiles relation CcFiles object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -304,7 +304,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcTag relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -314,7 +314,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcTag');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -322,7 +322,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -330,7 +330,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcTag');
}
return $this;
}
@ -338,7 +338,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
* Use the CcTag relation CcTag object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -364,7 +364,7 @@ abstract class BaseCcFileTagQuery extends ModelCriteria
if ($ccFileTag) {
$this->addUsingAlias(CcFileTagPeer::ID, $ccFileTag->getDbId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -2042,4 +2042,3 @@ abstract class BaseCcFilesPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcFilesPeer::buildTableMap();

View file

@ -1399,4 +1399,3 @@ abstract class BaseCcListenerCountPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcListenerCountPeer::buildTableMap();

View file

@ -768,4 +768,3 @@ abstract class BaseCcLiveLogPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcLiveLogPeer::buildTableMap();

View file

@ -763,4 +763,3 @@ abstract class BaseCcLocalePeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcLocalePeer::buildTableMap();

View file

@ -754,4 +754,3 @@ abstract class BaseCcLoginAttemptsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcLoginAttemptsPeer::buildTableMap();

View file

@ -761,4 +761,3 @@ abstract class BaseCcMountNamePeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcMountNamePeer::buildTableMap();

View file

@ -773,4 +773,3 @@ abstract class BaseCcMusicDirsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcMusicDirsPeer::buildTableMap();

View file

@ -1007,4 +1007,3 @@ abstract class BaseCcPermsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPermsPeer::buildTableMap();

View file

@ -1027,4 +1027,3 @@ abstract class BaseCcPlaylistPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlaylistPeer::buildTableMap();

View file

@ -1790,4 +1790,3 @@ abstract class BaseCcPlaylistcontentsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlaylistcontentsPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_playlistcriteria' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -87,7 +87,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getDbId()
@ -97,7 +97,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [criteria] column value.
*
*
* @return string
*/
public function getDbCriteria()
@ -107,7 +107,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [modifier] column value.
*
*
* @return string
*/
public function getDbModifier()
@ -117,7 +117,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [value] column value.
*
*
* @return string
*/
public function getDbValue()
@ -127,7 +127,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [extra] column value.
*
*
* @return string
*/
public function getDbExtra()
@ -137,7 +137,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [playlist_id] column value.
*
*
* @return int
*/
public function getDbPlaylistId()
@ -147,7 +147,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Get the [set_number] column value.
*
*
* @return int
*/
public function getDbSetNumber()
@ -157,7 +157,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -177,7 +177,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [criteria] column.
*
*
* @param string $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -197,7 +197,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [modifier] column.
*
*
* @param string $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -217,7 +217,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [value] column.
*
*
* @param string $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -237,7 +237,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [extra] column.
*
*
* @param string $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -257,7 +257,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [playlist_id] column.
*
*
* @param int $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -281,7 +281,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
/**
* Set the value of [set_number] column.
*
*
* @param int $v new value
* @return CcPlaylistcriteria The current object (for fluent API support)
*/
@ -433,7 +433,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcPlaylistcriteriaPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -475,7 +475,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcPlaylistcriteriaPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -707,7 +707,7 @@ abstract class BaseCcPlaylistcriteria extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
* @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE.

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_playlistcriteria' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcPlaylistcriteriaTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 7;
@ -351,7 +351,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -361,7 +361,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_playlistcriteria
* by a foreign key with ON DELETE CASCADE
@ -390,7 +390,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -402,7 +402,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -413,7 +413,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcPlaylistcriteriaPeer::getOMClass(false);
// populate the object(s)
@ -486,9 +486,9 @@ abstract class BaseCcPlaylistcriteriaPeer {
if (!$criteria->hasSelectClause()) {
CcPlaylistcriteriaPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -602,9 +602,9 @@ abstract class BaseCcPlaylistcriteriaPeer {
if (!$criteria->hasSelectClause()) {
CcPlaylistcriteriaPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -891,7 +891,7 @@ abstract class BaseCcPlaylistcriteriaPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcPlaylistcriteriaPeer::clearRelatedInstancePool();
$con->commit();
@ -995,4 +995,3 @@ abstract class BaseCcPlaylistcriteriaPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlaylistcriteriaPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_playlistcriteria' table.
*
*
*
*
* @method CcPlaylistcriteriaQuery orderByDbId($order = Criteria::ASC) Order by the id column
* @method CcPlaylistcriteriaQuery orderByDbCriteria($order = Criteria::ASC) Order by the criteria column
@ -126,7 +126,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -159,7 +159,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $dbId 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
@ -176,7 +176,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the criteria column
*
*
* @param string $dbCriteria The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -198,7 +198,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the modifier column
*
*
* @param string $dbModifier The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -220,7 +220,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the value column
*
*
* @param string $dbValue The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -242,7 +242,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the extra column
*
*
* @param string $dbExtra The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -264,7 +264,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the playlist_id column
*
*
* @param int|array $dbPlaylistId 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
@ -295,7 +295,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Filter the query on the set_number column
*
*
* @param int|array $dbSetNumber 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
@ -340,7 +340,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcPlaylist relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -350,7 +350,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcPlaylist');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -358,7 +358,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -366,7 +366,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcPlaylist');
}
return $this;
}
@ -374,7 +374,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
* Use the CcPlaylist relation CcPlaylist object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -400,7 +400,7 @@ abstract class BaseCcPlaylistcriteriaQuery extends ModelCriteria
if ($ccPlaylistcriteria) {
$this->addUsingAlias(CcPlaylistcriteriaPeer::ID, $ccPlaylistcriteria->getDbId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -1006,4 +1006,3 @@ abstract class BaseCcPlayoutHistoryMetaDataPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlayoutHistoryMetaDataPeer::buildTableMap();

View file

@ -1407,4 +1407,3 @@ abstract class BaseCcPlayoutHistoryPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlayoutHistoryPeer::buildTableMap();

View file

@ -1021,4 +1021,3 @@ abstract class BaseCcPlayoutHistoryTemplateFieldPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlayoutHistoryTemplateFieldPeer::buildTableMap();

View file

@ -766,4 +766,3 @@ abstract class BaseCcPlayoutHistoryTemplatePeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlayoutHistoryTemplatePeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_playout_history_template_field' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -103,7 +103,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getDbId()
@ -113,7 +113,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Get the [template_id] column value.
*
*
* @return int
*/
public function getDbTemplateId()
@ -123,7 +123,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Get the [name] column value.
*
*
* @return string
*/
public function getDbName()
@ -133,7 +133,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Get the [type] column value.
*
*
* @return string
*/
public function getDbType()
@ -143,7 +143,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Get the [is_file_md] column value.
*
*
* @return boolean
*/
public function getDbIsFileMD()
@ -153,7 +153,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Get the [position] column value.
*
*
* @return int
*/
public function getDbTagPosition()
@ -163,7 +163,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcPlayoutHistoryTemplateTag The current object (for fluent API support)
*/
@ -183,7 +183,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Set the value of [template_id] column.
*
*
* @param int $v new value
* @return CcPlayoutHistoryTemplateTag The current object (for fluent API support)
*/
@ -207,7 +207,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Set the value of [name] column.
*
*
* @param string $v new value
* @return CcPlayoutHistoryTemplateTag The current object (for fluent API support)
*/
@ -227,7 +227,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Set the value of [type] column.
*
*
* @param string $v new value
* @return CcPlayoutHistoryTemplateTag The current object (for fluent API support)
*/
@ -247,7 +247,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Set the value of [is_file_md] column.
*
*
* @param boolean $v new value
* @return CcPlayoutHistoryTemplateTag The current object (for fluent API support)
*/
@ -267,7 +267,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
/**
* Set the value of [position] column.
*
*
* @param int $v new value
* @return CcPlayoutHistoryTemplateTag The current object (for fluent API support)
*/
@ -422,7 +422,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
if ($con === null) {
$con = Propel::getConnection(CcPlayoutHistoryTemplateTagPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -464,7 +464,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
if ($con === null) {
$con = Propel::getConnection(CcPlayoutHistoryTemplateTagPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -693,7 +693,7 @@ abstract class BaseCcPlayoutHistoryTemplateTag extends BaseObject implements Pe
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
* @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE.

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_playout_history_template_field' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcPlayoutHistoryTemplateTagTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 6;
@ -346,7 +346,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -356,7 +356,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_playout_history_template_field
* by a foreign key with ON DELETE CASCADE
@ -385,7 +385,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -397,7 +397,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -408,7 +408,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcPlayoutHistoryTemplateTagPeer::getOMClass(false);
// populate the object(s)
@ -481,9 +481,9 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
if (!$criteria->hasSelectClause()) {
CcPlayoutHistoryTemplateTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -597,9 +597,9 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
if (!$criteria->hasSelectClause()) {
CcPlayoutHistoryTemplateTagPeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -886,7 +886,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcPlayoutHistoryTemplateTagPeer::clearRelatedInstancePool();
$con->commit();
@ -990,4 +990,3 @@ abstract class BaseCcPlayoutHistoryTemplateTagPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPlayoutHistoryTemplateTagPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_playout_history_template_field' table.
*
*
*
*
* @method CcPlayoutHistoryTemplateTagQuery orderByDbId($order = Criteria::ASC) Order by the id column
* @method CcPlayoutHistoryTemplateTagQuery orderByDbTemplateId($order = Criteria::ASC) Order by the template_id column
@ -122,7 +122,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -155,7 +155,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $dbId 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
@ -172,7 +172,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Filter the query on the template_id column
*
*
* @param int|array $dbTemplateId 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
@ -203,7 +203,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Filter the query on the name column
*
*
* @param string $dbName The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -225,7 +225,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Filter the query on the type column
*
*
* @param string $dbType The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -247,7 +247,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Filter the query on the is_file_md column
*
*
* @param boolean|string $dbIsFileMD The value to use as filter.
* Accepts strings ('false', 'off', '-', 'no', 'n', and '0' are false, the rest is true)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -264,7 +264,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Filter the query on the position column
*
*
* @param int|array $dbTagPosition 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
@ -309,7 +309,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcPlayoutHistoryTemplate relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -319,7 +319,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcPlayoutHistoryTemplate');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -327,7 +327,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -335,7 +335,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcPlayoutHistoryTemplate');
}
return $this;
}
@ -343,7 +343,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
* Use the CcPlayoutHistoryTemplate relation CcPlayoutHistoryTemplate object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -369,7 +369,7 @@ abstract class BaseCcPlayoutHistoryTemplateTagQuery extends ModelCriteria
if ($ccPlayoutHistoryTemplateTag) {
$this->addUsingAlias(CcPlayoutHistoryTemplateTagPeer::ID, $ccPlayoutHistoryTemplateTag->getDbId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -1006,4 +1006,3 @@ abstract class BaseCcPrefPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcPrefPeer::buildTableMap();

View file

@ -1803,4 +1803,3 @@ abstract class BaseCcSchedulePeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcSchedulePeer::buildTableMap();

View file

@ -754,4 +754,3 @@ abstract class BaseCcServiceRegisterPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcServiceRegisterPeer::buildTableMap();

View file

@ -1002,4 +1002,3 @@ abstract class BaseCcSessPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcSessPeer::buildTableMap();

View file

@ -1041,4 +1041,3 @@ abstract class BaseCcShowDaysPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcShowDaysPeer::buildTableMap();

View file

@ -1394,4 +1394,3 @@ abstract class BaseCcShowHostsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcShowHostsPeer::buildTableMap();

View file

@ -1609,4 +1609,3 @@ abstract class BaseCcShowInstancesPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcShowInstancesPeer::buildTableMap();

View file

@ -1083,4 +1083,3 @@ abstract class BaseCcShowPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcShowPeer::buildTableMap();

View file

@ -1006,4 +1006,3 @@ abstract class BaseCcShowRebroadcastPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcShowRebroadcastPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_show_schedule' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -69,7 +69,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getDbId()
@ -79,7 +79,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Get the [instance_id] column value.
*
*
* @return int
*/
public function getDbInstanceId()
@ -89,7 +89,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Get the [position] column value.
*
*
* @return int
*/
public function getDbPosition()
@ -99,7 +99,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Get the [group_id] column value.
*
*
* @return int
*/
public function getDbGroupId()
@ -109,7 +109,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcShowSchedule The current object (for fluent API support)
*/
@ -129,7 +129,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Set the value of [instance_id] column.
*
*
* @param int $v new value
* @return CcShowSchedule The current object (for fluent API support)
*/
@ -153,7 +153,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Set the value of [position] column.
*
*
* @param int $v new value
* @return CcShowSchedule The current object (for fluent API support)
*/
@ -173,7 +173,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
/**
* Set the value of [group_id] column.
*
*
* @param int $v new value
* @return CcShowSchedule The current object (for fluent API support)
*/
@ -322,7 +322,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcShowSchedulePeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -364,7 +364,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcShowSchedulePeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -587,7 +587,7 @@ abstract class BaseCcShowSchedule extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
* @param boolean $includeForeignObjects (optional) Whether to include hydrated related objects. Default to FALSE.

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_show_schedule' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcShowSchedulePeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcShowScheduleTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 4;
@ -336,7 +336,7 @@ abstract class BaseCcShowSchedulePeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -346,7 +346,7 @@ abstract class BaseCcShowSchedulePeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_show_schedule
* by a foreign key with ON DELETE CASCADE
@ -375,7 +375,7 @@ abstract class BaseCcShowSchedulePeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -387,7 +387,7 @@ abstract class BaseCcShowSchedulePeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -398,7 +398,7 @@ abstract class BaseCcShowSchedulePeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcShowSchedulePeer::getOMClass(false);
// populate the object(s)
@ -471,9 +471,9 @@ abstract class BaseCcShowSchedulePeer {
if (!$criteria->hasSelectClause()) {
CcShowSchedulePeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -587,9 +587,9 @@ abstract class BaseCcShowSchedulePeer {
if (!$criteria->hasSelectClause()) {
CcShowSchedulePeer::addSelectColumns($criteria);
}
$criteria->clearOrderByColumns(); // ORDER BY won't ever affect the count
// Set the correct dbName
$criteria->setDbName(self::DATABASE_NAME);
@ -876,7 +876,7 @@ abstract class BaseCcShowSchedulePeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcShowSchedulePeer::clearRelatedInstancePool();
$con->commit();
@ -980,4 +980,3 @@ abstract class BaseCcShowSchedulePeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcShowSchedulePeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_show_schedule' table.
*
*
*
*
* @method CcShowScheduleQuery orderByDbId($order = Criteria::ASC) Order by the id column
* @method CcShowScheduleQuery orderByDbInstanceId($order = Criteria::ASC) Order by the instance_id column
@ -114,7 +114,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -147,7 +147,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $dbId 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
@ -164,7 +164,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
/**
* Filter the query on the instance_id column
*
*
* @param int|array $dbInstanceId 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
@ -195,7 +195,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
/**
* Filter the query on the position column
*
*
* @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
@ -226,7 +226,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
/**
* Filter the query on the group_id column
*
*
* @param int|array $dbGroupId 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
@ -271,7 +271,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcShowInstances relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -281,7 +281,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcShowInstances');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -289,7 +289,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -297,7 +297,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcShowInstances');
}
return $this;
}
@ -305,7 +305,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
* Use the CcShowInstances relation CcShowInstances object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -331,7 +331,7 @@ abstract class BaseCcShowScheduleQuery extends ModelCriteria
if ($ccShowSchedule) {
$this->addUsingAlias(CcShowSchedulePeer::ID, $ccShowSchedule->getDbId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -759,4 +759,3 @@ abstract class BaseCcStreamSettingPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcStreamSettingPeer::buildTableMap();

View file

@ -837,4 +837,3 @@ abstract class BaseCcSubjsPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcSubjsPeer::buildTableMap();

View file

@ -1011,4 +1011,3 @@ abstract class BaseCcSubjsTokenPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcSubjsTokenPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_tag' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -95,7 +95,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getDbId()
@ -105,7 +105,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
/**
* Get the [tag_name] column value.
*
*
* @return string
*/
public function getDbTagName()
@ -115,7 +115,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
/**
* Get the [tag_type] column value.
*
*
* @return string
*/
public function getDbTagType()
@ -125,7 +125,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcTag The current object (for fluent API support)
*/
@ -145,7 +145,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
/**
* Set the value of [tag_name] column.
*
*
* @param string $v new value
* @return CcTag The current object (for fluent API support)
*/
@ -165,7 +165,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
/**
* Set the value of [tag_type] column.
*
*
* @param string $v new value
* @return CcTag The current object (for fluent API support)
*/
@ -319,7 +319,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcTagPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -361,7 +361,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcTagPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -605,7 +605,7 @@ abstract class BaseCcTag extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
*

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_tag' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcTagPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcTagTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 3;
@ -331,7 +331,7 @@ abstract class BaseCcTagPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -341,20 +341,20 @@ abstract class BaseCcTagPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_tag
* by a foreign key with ON DELETE CASCADE
*/
public static function clearRelatedInstancePool()
{
// Invalidate objects in CcFileTagPeer instance pool,
// Invalidate objects in CcFileTagPeer instance pool,
// since one or more of them may be deleted by ON DELETE CASCADE/SETNULL rule.
CcFileTagPeer::clearInstancePool();
// Invalidate objects in CcPlayoutHistoryMetaDataPeer instance pool,
// Invalidate objects in CcPlayoutHistoryMetaDataPeer instance pool,
// since one or more of them may be deleted by ON DELETE CASCADE/SETNULL rule.
CcPlayoutHistoryMetaDataPeer::clearInstancePool();
// Invalidate objects in CcPlayoutHistoryTemplateTagPeer instance pool,
// Invalidate objects in CcPlayoutHistoryTemplateTagPeer instance pool,
// since one or more of them may be deleted by ON DELETE CASCADE/SETNULL rule.
CcPlayoutHistoryTemplateTagPeer::clearInstancePool();
}
@ -379,7 +379,7 @@ abstract class BaseCcTagPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -391,7 +391,7 @@ abstract class BaseCcTagPeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -402,7 +402,7 @@ abstract class BaseCcTagPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcTagPeer::getOMClass(false);
// populate the object(s)
@ -646,7 +646,7 @@ abstract class BaseCcTagPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcTagPeer::clearRelatedInstancePool();
$con->commit();
@ -750,4 +750,3 @@ abstract class BaseCcTagPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcTagPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_tag' table.
*
*
*
*
* @method CcTagQuery orderByDbId($order = Criteria::ASC) Order by the id column
* @method CcTagQuery orderByDbTagName($order = Criteria::ASC) Order by the tag_name column
@ -118,7 +118,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -151,7 +151,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $dbId 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
@ -168,7 +168,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
/**
* Filter the query on the tag_name column
*
*
* @param string $dbTagName The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -190,7 +190,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
/**
* Filter the query on the tag_type column
*
*
* @param string $dbTagType The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -226,7 +226,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcFileTag relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -236,7 +236,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcFileTag');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -244,7 +244,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -252,7 +252,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcFileTag');
}
return $this;
}
@ -260,7 +260,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
* Use the CcFileTag relation CcFileTag object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -290,7 +290,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcPlayoutHistoryMetaData relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -300,7 +300,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcPlayoutHistoryMetaData');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -308,7 +308,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -316,7 +316,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcPlayoutHistoryMetaData');
}
return $this;
}
@ -324,7 +324,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
* Use the CcPlayoutHistoryMetaData relation CcPlayoutHistoryMetaData object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -354,7 +354,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
/**
* Adds a JOIN clause to the query using the CcPlayoutHistoryTemplateTag relation
*
*
* @param string $relationAlias optional alias for the relation
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
*
@ -364,7 +364,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
{
$tableMap = $this->getTableMap();
$relationMap = $tableMap->getRelation('CcPlayoutHistoryTemplateTag');
// create a ModelJoin object for this join
$join = new ModelJoin();
$join->setJoinType($joinType);
@ -372,7 +372,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
if ($previousJoin = $this->getPreviousJoin()) {
$join->setPreviousJoin($previousJoin);
}
// add the ModelJoin to the current object
if($relationAlias) {
$this->addAlias($relationAlias, $relationMap->getRightTable()->getName());
@ -380,7 +380,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
} else {
$this->addJoinObject($join, 'CcPlayoutHistoryTemplateTag');
}
return $this;
}
@ -388,7 +388,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
* Use the CcPlayoutHistoryTemplateTag relation CcPlayoutHistoryTemplateTag object
*
* @see useQuery()
*
*
* @param string $relationAlias optional alias for the relation,
* to be used as main alias in the secondary query
* @param string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
@ -414,7 +414,7 @@ abstract class BaseCcTagQuery extends ModelCriteria
if ($ccTag) {
$this->addUsingAlias(CcTagPeer::ID, $ccTag->getDbId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -761,4 +761,3 @@ abstract class BaseCcTimestampPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcTimestampPeer::buildTableMap();

View file

@ -777,4 +777,3 @@ abstract class BaseCcTracktypesPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcTracktypesPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a row from the 'cc_trans' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -206,7 +206,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [id] column value.
*
*
* @return int
*/
public function getId()
@ -216,7 +216,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [trtok] column value.
*
*
* @return string
*/
public function getTrtok()
@ -226,7 +226,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [direction] column value.
*
*
* @return string
*/
public function getDirection()
@ -236,7 +236,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [state] column value.
*
*
* @return string
*/
public function getState()
@ -246,7 +246,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [trtype] column value.
*
*
* @return string
*/
public function getTrtype()
@ -256,7 +256,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [lock] column value.
*
*
* @return string
*/
public function getLock()
@ -266,7 +266,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [target] column value.
*
*
* @return string
*/
public function getTarget()
@ -276,7 +276,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [rtrtok] column value.
*
*
* @return string
*/
public function getRtrtok()
@ -286,7 +286,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [mdtrtok] column value.
*
*
* @return string
*/
public function getMdtrtok()
@ -296,7 +296,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [gunid] column value.
*
*
* @return string
*/
public function getGunid()
@ -306,7 +306,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [pdtoken] column value.
*
*
* @return string
*/
public function getPdtoken()
@ -316,7 +316,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [url] column value.
*
*
* @return string
*/
public function getUrl()
@ -326,7 +326,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [localfile] column value.
*
*
* @return string
*/
public function getLocalfile()
@ -336,7 +336,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [fname] column value.
*
*
* @return string
*/
public function getFname()
@ -346,7 +346,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [title] column value.
*
*
* @return string
*/
public function getTitle()
@ -356,7 +356,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [expectedsum] column value.
*
*
* @return string
*/
public function getExpectedsum()
@ -366,7 +366,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [realsum] column value.
*
*
* @return string
*/
public function getRealsum()
@ -376,7 +376,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [expectedsize] column value.
*
*
* @return int
*/
public function getExpectedsize()
@ -386,7 +386,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [realsize] column value.
*
*
* @return int
*/
public function getRealsize()
@ -396,7 +396,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [uid] column value.
*
*
* @return int
*/
public function getUid()
@ -406,7 +406,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [errmsg] column value.
*
*
* @return string
*/
public function getErrmsg()
@ -416,7 +416,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [jobpid] column value.
*
*
* @return int
*/
public function getJobpid()
@ -426,7 +426,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [optionally formatted] temporal [start] column value.
*
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is NULL, then the raw DateTime object will be returned.
@ -459,7 +459,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Get the [optionally formatted] temporal [ts] column value.
*
*
*
* @param string $format The date/time format string (either date()-style or strftime()-style).
* If format is NULL, then the raw DateTime object will be returned.
@ -492,7 +492,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [id] column.
*
*
* @param int $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -512,7 +512,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [trtok] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -532,7 +532,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [direction] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -552,7 +552,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [state] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -572,7 +572,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [trtype] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -592,7 +592,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [lock] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -612,7 +612,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [target] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -632,7 +632,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [rtrtok] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -652,7 +652,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [mdtrtok] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -672,7 +672,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [gunid] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -692,7 +692,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [pdtoken] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -712,7 +712,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [url] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -732,7 +732,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [localfile] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -752,7 +752,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [fname] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -772,7 +772,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [title] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -792,7 +792,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [expectedsum] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -812,7 +812,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [realsum] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -832,7 +832,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [expectedsize] column.
*
*
* @param int $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -852,7 +852,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [realsize] column.
*
*
* @param int $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -872,7 +872,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [uid] column.
*
*
* @param int $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -892,7 +892,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [errmsg] column.
*
*
* @param string $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -912,7 +912,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Set the value of [jobpid] column.
*
*
* @param int $v new value
* @return CcTrans The current object (for fluent API support)
*/
@ -932,7 +932,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Sets the value of [start] column to a normalized version of the date/time value specified.
*
*
* @param mixed $v string, integer (timestamp), or DateTime value. Empty string will
* be treated as NULL for temporal objects.
* @return CcTrans The current object (for fluent API support)
@ -968,7 +968,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
$currNorm = ($this->start !== null && $tmpDt = new DateTime($this->start)) ? $tmpDt->format('Y-m-d\\TH:i:sO') : null;
$newNorm = ($dt !== null) ? $dt->format('Y-m-d\\TH:i:sO') : null;
if ( ($currNorm !== $newNorm) // normalized values don't match
if ( ($currNorm !== $newNorm) // normalized values don't match
)
{
$this->start = ($dt ? $dt->format('Y-m-d\\TH:i:sO') : null);
@ -981,7 +981,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
/**
* Sets the value of [ts] column to a normalized version of the date/time value specified.
*
*
* @param mixed $v string, integer (timestamp), or DateTime value. Empty string will
* be treated as NULL for temporal objects.
* @return CcTrans The current object (for fluent API support)
@ -1017,7 +1017,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
$currNorm = ($this->ts !== null && $tmpDt = new DateTime($this->ts)) ? $tmpDt->format('Y-m-d\\TH:i:sO') : null;
$newNorm = ($dt !== null) ? $dt->format('Y-m-d\\TH:i:sO') : null;
if ( ($currNorm !== $newNorm) // normalized values don't match
if ( ($currNorm !== $newNorm) // normalized values don't match
)
{
$this->ts = ($dt ? $dt->format('Y-m-d\\TH:i:sO') : null);
@ -1179,7 +1179,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcTransPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
try {
$ret = $this->preDelete($con);
@ -1221,7 +1221,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
if ($con === null) {
$con = Propel::getConnection(CcTransPeer::DATABASE_NAME, Propel::CONNECTION_WRITE);
}
$con->beginTransaction();
$isInsert = $this->isNew();
try {
@ -1480,7 +1480,7 @@ abstract class BaseCcTrans extends BaseObject implements Persistent
* type constants.
*
* @param string $keyType (optional) One of the class type constants BasePeer::TYPE_PHPNAME, BasePeer::TYPE_STUDLYPHPNAME,
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* BasePeer::TYPE_COLNAME, BasePeer::TYPE_FIELDNAME, BasePeer::TYPE_NUM.
* Defaults to BasePeer::TYPE_PHPNAME.
* @param boolean $includeLazyLoadColumns (optional) Whether to include lazy loaded columns. Defaults to TRUE.
*

View file

@ -4,7 +4,7 @@
/**
* Base static class for performing query and update operations on the 'cc_trans' table.
*
*
*
*
* @package propel.generator.airtime.om
*/
@ -24,7 +24,7 @@ abstract class BaseCcTransPeer {
/** the related TableMap class for this table */
const TM_CLASS = 'CcTransTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 24;
@ -436,7 +436,7 @@ abstract class BaseCcTransPeer {
}
return null; // just to be explicit
}
/**
* Clear the instance pool.
*
@ -446,7 +446,7 @@ abstract class BaseCcTransPeer {
{
self::$instances = array();
}
/**
* Method to invalidate the instance pool of all tables related to cc_trans
* by a foreign key with ON DELETE CASCADE
@ -475,7 +475,7 @@ abstract class BaseCcTransPeer {
}
/**
* Retrieves the primary key from the DB resultset row
* Retrieves the primary key from the DB resultset row
* For tables with a single-column primary key, that simple pkey value will be returned. For tables with
* a multi-column primary key, an array of the primary key columns will be returned.
*
@ -487,7 +487,7 @@ abstract class BaseCcTransPeer {
{
return (int) $row[$startcol];
}
/**
* The returned array will contain objects of the default type or
* objects that inherit from the default.
@ -498,7 +498,7 @@ abstract class BaseCcTransPeer {
public static function populateObjects(PDOStatement $stmt)
{
$results = array();
// set the class once to avoid overhead in the loop
$cls = CcTransPeer::getOMClass(false);
// populate the object(s)
@ -742,7 +742,7 @@ abstract class BaseCcTransPeer {
// use transaction because $criteria could contain info
// for more than one table or we could emulating ON DELETE CASCADE, etc.
$con->beginTransaction();
$affectedRows += BasePeer::doDelete($criteria, $con);
CcTransPeer::clearRelatedInstancePool();
$con->commit();
@ -846,4 +846,3 @@ abstract class BaseCcTransPeer {
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcTransPeer::buildTableMap();

View file

@ -4,7 +4,7 @@
/**
* Base class that represents a query for the 'cc_trans' table.
*
*
*
*
* @method CcTransQuery orderById($order = Criteria::ASC) Order by the id column
* @method CcTransQuery orderByTrtok($order = Criteria::ASC) Order by the trtok column
@ -190,7 +190,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
* @return PropelObjectCollection|array|mixed the list of results, formatted by the current formatter
*/
public function findPks($keys, $con = null)
{
{
$criteria = $this->isKeepQuery() ? clone $this : $this;
return $this
->filterByPrimaryKeys($keys)
@ -223,7 +223,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the id column
*
*
* @param int|array $id 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
@ -240,7 +240,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the trtok column
*
*
* @param string $trtok The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -262,7 +262,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the direction column
*
*
* @param string $direction The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -284,7 +284,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the state column
*
*
* @param string $state The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -306,7 +306,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the trtype column
*
*
* @param string $trtype The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -328,7 +328,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the lock column
*
*
* @param string $lock The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -350,7 +350,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the target column
*
*
* @param string $target The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -372,7 +372,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the rtrtok column
*
*
* @param string $rtrtok The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -394,7 +394,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the mdtrtok column
*
*
* @param string $mdtrtok The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -416,7 +416,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the gunid column
*
*
* @param string $gunid The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -438,7 +438,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the pdtoken column
*
*
* @param string|array $pdtoken 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
@ -469,7 +469,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the url column
*
*
* @param string $url The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -491,7 +491,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the localfile column
*
*
* @param string $localfile The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -513,7 +513,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the fname column
*
*
* @param string $fname The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -535,7 +535,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the title column
*
*
* @param string $title The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -557,7 +557,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the expectedsum column
*
*
* @param string $expectedsum The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -579,7 +579,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the realsum column
*
*
* @param string $realsum The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -601,7 +601,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the expectedsize column
*
*
* @param int|array $expectedsize 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
@ -632,7 +632,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the realsize column
*
*
* @param int|array $realsize 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
@ -663,7 +663,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the uid column
*
*
* @param int|array $uid 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
@ -694,7 +694,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the errmsg column
*
*
* @param string $errmsg The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
@ -716,7 +716,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the jobpid column
*
*
* @param int|array $jobpid 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
@ -747,7 +747,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the start column
*
*
* @param string|array $start 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
@ -778,7 +778,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the ts column
*
*
* @param string|array $ts 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
@ -819,7 +819,7 @@ abstract class BaseCcTransQuery extends ModelCriteria
if ($ccTrans) {
$this->addUsingAlias(CcTransPeer::ID, $ccTrans->getId(), Criteria::NOT_EQUAL);
}
return $this;
}

View file

@ -1006,4 +1006,3 @@ abstract class BaseCcWebstreamMetadataPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcWebstreamMetadataPeer::buildTableMap();

View file

@ -801,4 +801,3 @@ abstract class BaseCcWebstreamPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCcWebstreamPeer::buildTableMap();

View file

@ -1016,4 +1016,3 @@ abstract class BaseCeleryTasksPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCeleryTasksPeer::buildTableMap();

View file

@ -1006,4 +1006,3 @@ abstract class BaseCloudFilePeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseCloudFilePeer::buildTableMap();

View file

@ -1011,4 +1011,3 @@ abstract class BaseImportedPodcastPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseImportedPodcastPeer::buildTableMap();

View file

@ -1419,4 +1419,3 @@ abstract class BasePodcastEpisodesPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BasePodcastEpisodesPeer::buildTableMap();

View file

@ -1070,4 +1070,3 @@ abstract class BasePodcastPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BasePodcastPeer::buildTableMap();

View file

@ -996,4 +996,3 @@ abstract class BaseStationPodcastPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseStationPodcastPeer::buildTableMap();

View file

@ -1019,4 +1019,3 @@ abstract class BaseThirdPartyTrackReferencesPeer
// This is the static code needed to register the TableMap for this table with the main Propel class.
//
BaseThirdPartyTrackReferencesPeer::buildTableMap();

View file

@ -1,8 +1,8 @@
<?xml version="1.0"?>
<playlist id="0e22c20310212a51">
<playlistElement id="0000000000000103" relativeOffset="00:00:00.000000" >
<audioClip id="0000000000010003"
playlength="00:00:11.500000"
<audioClip id="0000000000010003"
playlength="00:00:11.500000"
title = "three"
uri="file:var/test10003.mp3"
/>
@ -23,4 +23,3 @@
<dcterms:extent>01:30:11.500000</dcterms:extent>
</metadata>
</playlist>