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

@ -8,4 +8,4 @@ DROP TABLE IF EXISTS "third_party_track_references" CASCADE;
-- celery_tasks
-----------------------------------------------------------------------
DROP TABLE IF EXISTS "celery_tasks" CASCADE;
DROP TABLE IF EXISTS "celery_tasks" CASCADE;

View File

@ -1 +1 @@
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET NOT NULL;
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET NOT NULL;

View File

@ -2,4 +2,3 @@ ALTER TABLE imported_podcast DROP COLUMN IF EXISTS album_override;
ALTER TABLE third_party_track_references ALTER COLUMN file_id DROP DEFAULT;
ALTER TABLE third_party_track_references ALTER COLUMN file_id SET NOT NULL;
ALTER TABLE cc_show DROP COLUMN IF EXISTS autoplaylist_repeat;

View File

@ -1,2 +1 @@
ALTER TABLE cc_service_register ALTER COLUMN ip TYPE character varying(18);

View File

@ -1,3 +1,2 @@
ALTER TABLE podcast_episodes DROP COLUMN IF EXISTS episode_title;
ALTER TABLE podcast_episodes DROP COLUMN IF EXISTS episode_description;

View File

@ -1,3 +1,3 @@
ALTER TABLE cc_files DROP COLUMN IF EXISTS track_type;
DROP TABLE IF EXISTS "cc_track_types" CASCADE;
DROP TABLE IF EXISTS "cc_track_types" CASCADE;

View File

@ -3,4 +3,4 @@ ALTER TABLE cc_files ADD COLUMN soundcloud_id INTEGER;
ALTER TABLE cc_files ADD COLUMN soundcloud_error_code INTEGER;
ALTER TABLE cc_files ADD COLUMN soundcloud_error_msg VARCHAR(512);
ALTER TABLE cc_files ADD COLUMN soundcloud_link_to_file VARCHAR(4096);
ALTER TABLE cc_files ADD COLUMN soundcloud_upload_time TIMESTAMP(6);
ALTER TABLE cc_files ADD COLUMN soundcloud_upload_time TIMESTAMP(6);

View File

@ -1,3 +1,3 @@
ALTER TABLE cc_pref ALTER COLUMN subjid SET DEFAULT NULL;
CREATE UNIQUE INDEX cc_pref_key_idx ON cc_pref (keystr) WHERE subjid IS NULL;
ANALYZE cc_pref;
ANALYZE cc_pref;

View File

@ -1 +1 @@
ALTER TABLE third_party_track_references ALTER COLUMN file_id DROP NOT NULL;
ALTER TABLE third_party_track_references ALTER COLUMN file_id DROP NOT NULL;

View File

@ -1 +1 @@
ALTER TABLE cc_files ADD COLUMN artwork TYPE character varying(255);
ALTER TABLE cc_files ADD COLUMN artwork TYPE character varying(255);

View File

@ -8,4 +8,4 @@ CREATE TABLE cloud_file
CONSTRAINT "cloud_file_FK_1" FOREIGN KEY (cc_file_id)
REFERENCES cc_files (id) MATCH SIMPLE
ON UPDATE NO ACTION ON DELETE CASCADE
)
)

View File

@ -1,3 +1,2 @@
ALTER TABLE podcast_episodes ADD COLUMN episode_title VARCHAR(4096);
ALTER TABLE podcast_episodes ADD COLUMN episode_description VARCHAR(4096);

View File

@ -23,4 +23,3 @@ INSERT INTO cc_track_types VALUES (9, 'NWS', 'News', 'This is used for noteworth
INSERT INTO cc_track_types VALUES (10, 'COM', 'Commercial', 'This is used for commerical advertising.', true);
INSERT INTO cc_track_types VALUES (11, 'ITV', 'Interview', 'This is used for radio interviews', true);
INSERT INTO cc_track_types VALUES (12, 'VTR', 'Voice Tracking', 'Also referred as robojock or taped. Make announcements without actually being in the station.', true);

View File

@ -2,4 +2,4 @@ ALTER TABLE cc_files DROP COLUMN soundcloud_id;
ALTER TABLE cc_files DROP COLUMN soundcloud_error_code;
ALTER TABLE cc_files DROP COLUMN soundcloud_error_msg;
ALTER TABLE cc_files DROP COLUMN soundcloud_link_to_file;
ALTER TABLE cc_files DROP COLUMN soundcloud_upload_time;
ALTER TABLE cc_files DROP COLUMN soundcloud_upload_time;

View File

@ -207,4 +207,3 @@
</body>
</html>

View File

@ -5,7 +5,7 @@
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<title><?php echo _("Live stream") ?></title>
<?php echo $this->headLink() ?>
<?php echo $this->headScript() ?>

View File

@ -12,21 +12,21 @@
<?php echo $this->layout()->content ?>
</div>
<div class="footer">
<?php
<?php
$company = COMPANY_NAME . " " . COMPANY_SUFFIX;
$licenseSiteAnchor = "<a href='" . LICENSE_URL . "'>"
. LICENSE_VERSION
$licenseSiteAnchor = "<a href='" . LICENSE_URL . "'>"
. LICENSE_VERSION
. "</a>";
$companySiteAnchor = "<a href='" . COMPANY_SITE_URL . "'>"
. $company
. "</a>";
echo sprintf(_('%1$s copyright &copy; %2$s All rights reserved.<br />'
. 'Maintained and distributed under the %3$s by %4$s'),
. 'Maintained and distributed under the %3$s by %4$s'),
PRODUCT_NAME, $company,
$licenseSiteAnchor,
$companySiteAnchor);
?>
?>
</div>
</body>
</html>

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>

View File

@ -1,3 +1,3 @@
<?php
echo $status;
echo $status;

View File

@ -1,7 +1,7 @@
<div class="text-content">
<h2><?php echo _("About") ?></h2>
<p>
<?php
<?php
$productSiteAnchor = "<a href='" . PRODUCT_SITE_URL . "' target='_blank'>"
. PRODUCT_NAME
@ -12,7 +12,7 @@ echo sprintf(_('%1$s %2$s, the open radio software for scheduling and remote sta
?>
<br />
<br />© <?php echo(gmdate('Y')); ?>
<?php
<?php
$companySiteAnchor = "<a href='" . COMPANY_SITE_URL . "' target='_blank'>"
. COMPANY_NAME . " " . COMPANY_SUFFIX
. "</a>";

View File

@ -14,12 +14,11 @@
</ol>
<p><strong><?php echo _("Now you're good to go!")?></strong><br />
<?php
<?php
$userManualAnchorOpen = "<a href='" . USER_MANUAL_URL . "' target='_blank'>";
echo sprintf(_("For more detailed help, read the %suser manual%s."),
$userManualAnchorOpen, "</a>")
$userManualAnchorOpen, "</a>")
?>
</p>
</div>

View File

@ -1,6 +1,6 @@
<div id="content" class="jp-container">
<h1><?php echo _("Live stream") ?></h1>
<a id="popup-link" href="#"><?php echo _("Share") ?></a>
<a id="popup-link" href="#"><?php echo _("Share") ?></a>
<?php $ids = Application_Model_StreamSetting::getEnabledStreamIds(); ?>
<script>
function setjPlayer(url, type, serverType){
@ -10,7 +10,7 @@ function setjPlayer(url, type, serverType){
if(serverType == 'shoutcast'){
obj[type] = url + ";stream/1";
}
$("#jquery_jplayer_1").jPlayer("destroy");
$("#jquery_jplayer_1").jPlayer({
ready: function () {
@ -62,7 +62,7 @@ $(document).ready(function(){
</div>
<div class="jp-stream stream-player-label">
<div class="jp-stream-text"><?php echo _("Select stream:"); ?></div>
<form id="form1" method="post" action="">
<select id="combo-box">
<?php

View File

@ -7,7 +7,7 @@
</dt>
<dd>
<?php echo $this->element->getElement('add_show_has_autoplaylist') ?>
<span class="show_autoplaylist_help_icon" aria-describedby="ui-tooltip-2"></span>
<span class="show_autoplaylist_help_icon" aria-describedby="ui-tooltip-2"></span>
</dd>
<div id="add_show_playlist_dropdown">
@ -31,6 +31,6 @@
</dd>
</div>
</dl>
</fieldset>

View File

@ -10,6 +10,6 @@
) ?>
<?php if($this->element->hasErrors()) {
echo $this->formErrors($this->element->getMessages());
}
}
?>
</dd>

View File

@ -17,4 +17,3 @@
</fieldset>
</dl>
</fieldset>

View File

@ -2,12 +2,12 @@
<dl>
<dt id="add_show_hosts_rebroadcast_day-label" class="block-display">
<label for="add_show_rebroadcast_day" class="optional"><?php echo _("Choose Days:"); ?></label>
</dt>
</dt>
<dd id="add_show_rebroadcast_day-element" class="block-display clearfix">
<ul class="formrow-repeat">
<?php for($i=1; $i<=10; $i++): ?>
<li <?php if(($i > 1)
&& ($this->element->getElement('add_show_rebroadcast_date_absolute_'.$i)->getValue() == ""
<li <?php if(($i > 1)
&& ($this->element->getElement('add_show_rebroadcast_date_absolute_'.$i)->getValue() == ""
&& $this->element->getElement('add_show_rebroadcast_time_absolute_'.$i)->getValue() == "")){echo 'style=display:none';} ?>>
<?php echo $this->element->getElement('add_show_rebroadcast_date_absolute_'.$i) ?>
<span class="inline-text">@</span>
@ -18,14 +18,14 @@
<span class="ui-button-text"><?php echo _("Remove") ?></span>
</a>
<?php endif; ?>
<?php if(($this->element->getElement('add_show_rebroadcast_date_absolute_'.$i)->hasErrors())
<?php if(($this->element->getElement('add_show_rebroadcast_date_absolute_'.$i)->hasErrors())
|| ($this->element->getElement('add_show_rebroadcast_time_absolute_'.$i)->hasErrors())) : ?>
<ul class='errors'>
<?php $errors = array_merge(
$this->element->getElement('add_show_rebroadcast_date_absolute_'.$i)->getMessages(),
$this->element->getElement('add_show_rebroadcast_time_absolute_'.$i)->getMessages()
);
?>
?>
<?php foreach($errors as $error): ?>
<li><?php echo $error; ?></li>
@ -39,6 +39,6 @@
<span class="ui-icon ui-icon-plusthick"></span>
<span class="ui-button-text"><?php echo _("Add") ?></span>
</a>
</dd>
</dd>
</dl>
</fieldset>

View File

@ -2,12 +2,12 @@
<dl>
<dt id="add_show_hosts_rebroadcast_repeat_day-label" class="block-display">
<label for="add_show_rebroadcast_repeat_day" class="optional"><?php echo _("Repeat Days:"); ?></label>
</dt>
</dt>
<dd id="add_show_rebroadcast_repeat_day-element" class="block-display clearfix">
<ul class="formrow-repeat">
<ul class="formrow-repeat">
<?php for($i=1; $i<=10; $i++): ?>
<li <?php if(($i > 1)
&& ($this->element->getElement('add_show_rebroadcast_date_'.$i)->getValue() == ""
<li <?php if(($i > 1)
&& ($this->element->getElement('add_show_rebroadcast_date_'.$i)->getValue() == ""
&& $this->element->getElement('add_show_rebroadcast_time_'.$i)->getValue() == "")){echo 'style=display:none';} ?>>
<?php echo $this->element->getElement('add_show_rebroadcast_date_'.$i) ?>
<span class="inline-text">@</span>
@ -18,14 +18,14 @@
<span class="ui-button-text"><?php echo _("Remove") ?></span>
</a>
<?php endif; ?>
<?php if(($this->element->getElement('add_show_rebroadcast_date_'.$i)->hasErrors())
<?php if(($this->element->getElement('add_show_rebroadcast_date_'.$i)->hasErrors())
|| ($this->element->getElement('add_show_rebroadcast_time_'.$i)->hasErrors())) : ?>
<ul class='errors'>
<?php $errors = array_merge(
$this->element->getElement('add_show_rebroadcast_date_'.$i)->getMessages(),
$this->element->getElement('add_show_rebroadcast_time_'.$i)->getMessages()
);
?>
?>
<?php foreach($errors as $error): ?>
<li><?php echo $error; ?></li>

View File

@ -37,7 +37,7 @@
<?php echo $this->element->getElement('add_show_end_date_no_repeat')->getLabel()?>
</label>
</dt>
<dd>
<?php echo $this->element->getElement('add_show_end_date_no_repeat') ?>
<?php echo $this->element->getElement('add_show_end_time') ?>
@ -87,4 +87,3 @@
</dd>
</dl>
</fieldset>

View File

@ -6,4 +6,4 @@
<div id="his_submit" class=" btn btn-small" title="<?php echo _("Filter History")?>">
<i class="icon-white icon-search"></i><span><?php echo _("Filter History")?></span>
</div>
</div>
</div>

View File

@ -22,7 +22,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<?php endforeach; ?>
@ -34,4 +34,4 @@
</dl>
</form>
</form>

View File

@ -16,7 +16,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-password-label">
<label><?php echo $this->element->getElement('cu_password')->getLabel() ?>
@ -30,7 +30,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-passwordVerify-label">
<label><?php echo $this->element->getElement('cu_passwordVerify')->getLabel() ?>
@ -44,7 +44,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-firstname-label">
<label><?php echo $this->element->getElement('cu_first_name')->getLabel() ?>
@ -58,7 +58,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-lastname-label">
<label><?php echo $this->element->getElement('cu_last_name')->getLabel() ?>
@ -72,7 +72,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-email-label">
<label><?php echo $this->element->getElement('cu_email')->getLabel() ?>
@ -86,7 +86,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-cell_phone-label">
<label><?php echo $this->element->getElement('cu_cell_phone')->getLabel() ?>
@ -100,7 +100,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-skype-label">
<label><?php echo $this->element->getElement('cu_skype')->getLabel() ?>
@ -114,7 +114,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-jabber-label">
<label><?php echo $this->element->getElement('cu_jabber')->getLabel() ?>
@ -128,7 +128,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-locale-label">
<label><?php echo $this->element->getElement('cu_locale')->getLabel() ?>
@ -142,7 +142,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<dt id="cu-timezone-label">
<label><?php echo $this->element->getElement('cu_timezone')->getLabel() ?>
@ -156,7 +156,7 @@
<li><?php echo $error; ?></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>
</dd>
<?php echo $this->element->getElement('csrf') ?>
</dl>

View File

@ -1,6 +1,6 @@
<form enctype="application/x-www-form-urlencoded" method="post" action="">
<dl class="zend_form">
<dt id="username-label">
<label for="username" class="required">
<?php echo $this->element->getElement('username')->getLabel() ?>
@ -9,7 +9,7 @@
<dd id="username-element">
<?php echo $this->element->getElement('username') ?>
</dd>
<dt id="password-label">
<label for="password" class="required">
<?php echo $this->element->getElement('password')->getLabel() ?>
@ -18,7 +18,7 @@
<dd id="password-element">
<?php echo $this->element->getElement('password') ?>
</dd>
<dt id="locale-label">
<label for="locale" class="required">
<?php echo $this->element->getElement('locale')->getLabel() ?>
@ -29,7 +29,7 @@
</dd>
<?php echo $this->element->getElement('csrf') ?>
<dt id="submit-label">&nbsp;</dt>
<dd id="submit-element">
<?php echo $this->element->getElement('submit') ?>

Some files were not shown because too many files have changed in this diff Show More