database changes for name, searching for playlist for a show.

This commit is contained in:
naomiaro 2011-01-10 13:24:21 -05:00
parent 8d58f8fddb
commit c1c4c4e598
130 changed files with 699 additions and 367 deletions

View file

@ -62,6 +62,7 @@
<actionMethod actionName="makeContextMenu"/> <actionMethod actionName="makeContextMenu"/>
<actionMethod actionName="scheduleShow"/> <actionMethod actionName="scheduleShow"/>
<actionMethod actionName="clearShow"/> <actionMethod actionName="clearShow"/>
<actionMethod actionName="findPlaylists"/>
</controllerFile> </controllerFile>
<controllerFile controllerName="Api"> <controllerFile controllerName="Api">
<actionMethod actionName="index"/> <actionMethod actionName="index"/>
@ -238,6 +239,9 @@
<viewControllerScriptsDirectory forControllerName="Search"> <viewControllerScriptsDirectory forControllerName="Search">
<viewScriptFile forActionName="newgroup"/> <viewScriptFile forActionName="newgroup"/>
</viewControllerScriptsDirectory> </viewControllerScriptsDirectory>
<viewControllerScriptsDirectory forControllerName="Schedule">
<viewScriptFile forActionName="findPlaylists"/>
</viewControllerScriptsDirectory>
</viewScriptsDirectory> </viewScriptsDirectory>
<viewHelpersDirectory/> <viewHelpersDirectory/>
<viewFiltersDirectory enabled="false"/> <viewFiltersDirectory enabled="false"/>

View file

@ -1,116 +1,116 @@
<?php <?php
// This file generated by Propel 1.5.2 convert-conf target // This file generated by Propel 1.5.2 convert-conf target
return array ( return array (
'CcAccessTableMap' => 'campcaster/map/CcAccessTableMap.php', 'CcAccessTableMap' => 'airtime/map/CcAccessTableMap.php',
'CcAccessPeer' => 'campcaster/CcAccessPeer.php', 'CcAccessPeer' => 'airtime/CcAccessPeer.php',
'CcAccess' => 'campcaster/CcAccess.php', 'CcAccess' => 'airtime/CcAccess.php',
'CcAccessQuery' => 'campcaster/CcAccessQuery.php', 'CcAccessQuery' => 'airtime/CcAccessQuery.php',
'BaseCcAccessPeer' => 'campcaster/om/BaseCcAccessPeer.php', 'BaseCcAccessPeer' => 'airtime/om/BaseCcAccessPeer.php',
'BaseCcAccess' => 'campcaster/om/BaseCcAccess.php', 'BaseCcAccess' => 'airtime/om/BaseCcAccess.php',
'BaseCcAccessQuery' => 'campcaster/om/BaseCcAccessQuery.php', 'BaseCcAccessQuery' => 'airtime/om/BaseCcAccessQuery.php',
'CcBackupTableMap' => 'campcaster/map/CcBackupTableMap.php', 'CcBackupTableMap' => 'airtime/map/CcBackupTableMap.php',
'CcBackupPeer' => 'campcaster/CcBackupPeer.php', 'CcBackupPeer' => 'airtime/CcBackupPeer.php',
'CcBackup' => 'campcaster/CcBackup.php', 'CcBackup' => 'airtime/CcBackup.php',
'CcBackupQuery' => 'campcaster/CcBackupQuery.php', 'CcBackupQuery' => 'airtime/CcBackupQuery.php',
'BaseCcBackupPeer' => 'campcaster/om/BaseCcBackupPeer.php', 'BaseCcBackupPeer' => 'airtime/om/BaseCcBackupPeer.php',
'BaseCcBackup' => 'campcaster/om/BaseCcBackup.php', 'BaseCcBackup' => 'airtime/om/BaseCcBackup.php',
'BaseCcBackupQuery' => 'campcaster/om/BaseCcBackupQuery.php', 'BaseCcBackupQuery' => 'airtime/om/BaseCcBackupQuery.php',
'CcFilesTableMap' => 'campcaster/map/CcFilesTableMap.php', 'CcFilesTableMap' => 'airtime/map/CcFilesTableMap.php',
'CcFilesPeer' => 'campcaster/CcFilesPeer.php', 'CcFilesPeer' => 'airtime/CcFilesPeer.php',
'CcFiles' => 'campcaster/CcFiles.php', 'CcFiles' => 'airtime/CcFiles.php',
'CcFilesQuery' => 'campcaster/CcFilesQuery.php', 'CcFilesQuery' => 'airtime/CcFilesQuery.php',
'BaseCcFilesPeer' => 'campcaster/om/BaseCcFilesPeer.php', 'BaseCcFilesPeer' => 'airtime/om/BaseCcFilesPeer.php',
'BaseCcFiles' => 'campcaster/om/BaseCcFiles.php', 'BaseCcFiles' => 'airtime/om/BaseCcFiles.php',
'BaseCcFilesQuery' => 'campcaster/om/BaseCcFilesQuery.php', 'BaseCcFilesQuery' => 'airtime/om/BaseCcFilesQuery.php',
'CcPermsTableMap' => 'campcaster/map/CcPermsTableMap.php', 'CcPermsTableMap' => 'airtime/map/CcPermsTableMap.php',
'CcPermsPeer' => 'campcaster/CcPermsPeer.php', 'CcPermsPeer' => 'airtime/CcPermsPeer.php',
'CcPerms' => 'campcaster/CcPerms.php', 'CcPerms' => 'airtime/CcPerms.php',
'CcPermsQuery' => 'campcaster/CcPermsQuery.php', 'CcPermsQuery' => 'airtime/CcPermsQuery.php',
'BaseCcPermsPeer' => 'campcaster/om/BaseCcPermsPeer.php', 'BaseCcPermsPeer' => 'airtime/om/BaseCcPermsPeer.php',
'BaseCcPerms' => 'campcaster/om/BaseCcPerms.php', 'BaseCcPerms' => 'airtime/om/BaseCcPerms.php',
'BaseCcPermsQuery' => 'campcaster/om/BaseCcPermsQuery.php', 'BaseCcPermsQuery' => 'airtime/om/BaseCcPermsQuery.php',
'CcShowTableMap' => 'campcaster/map/CcShowTableMap.php', 'CcShowTableMap' => 'airtime/map/CcShowTableMap.php',
'CcShowPeer' => 'campcaster/CcShowPeer.php', 'CcShowPeer' => 'airtime/CcShowPeer.php',
'CcShow' => 'campcaster/CcShow.php', 'CcShow' => 'airtime/CcShow.php',
'CcShowQuery' => 'campcaster/CcShowQuery.php', 'CcShowQuery' => 'airtime/CcShowQuery.php',
'BaseCcShowPeer' => 'campcaster/om/BaseCcShowPeer.php', 'BaseCcShowPeer' => 'airtime/om/BaseCcShowPeer.php',
'BaseCcShow' => 'campcaster/om/BaseCcShow.php', 'BaseCcShow' => 'airtime/om/BaseCcShow.php',
'BaseCcShowQuery' => 'campcaster/om/BaseCcShowQuery.php', 'BaseCcShowQuery' => 'airtime/om/BaseCcShowQuery.php',
'CcShowDaysTableMap' => 'campcaster/map/CcShowDaysTableMap.php', 'CcShowDaysTableMap' => 'airtime/map/CcShowDaysTableMap.php',
'CcShowDaysPeer' => 'campcaster/CcShowDaysPeer.php', 'CcShowDaysPeer' => 'airtime/CcShowDaysPeer.php',
'CcShowDays' => 'campcaster/CcShowDays.php', 'CcShowDays' => 'airtime/CcShowDays.php',
'CcShowDaysQuery' => 'campcaster/CcShowDaysQuery.php', 'CcShowDaysQuery' => 'airtime/CcShowDaysQuery.php',
'BaseCcShowDaysPeer' => 'campcaster/om/BaseCcShowDaysPeer.php', 'BaseCcShowDaysPeer' => 'airtime/om/BaseCcShowDaysPeer.php',
'BaseCcShowDays' => 'campcaster/om/BaseCcShowDays.php', 'BaseCcShowDays' => 'airtime/om/BaseCcShowDays.php',
'BaseCcShowDaysQuery' => 'campcaster/om/BaseCcShowDaysQuery.php', 'BaseCcShowDaysQuery' => 'airtime/om/BaseCcShowDaysQuery.php',
'CcShowHostsTableMap' => 'campcaster/map/CcShowHostsTableMap.php', 'CcShowHostsTableMap' => 'airtime/map/CcShowHostsTableMap.php',
'CcShowHostsPeer' => 'campcaster/CcShowHostsPeer.php', 'CcShowHostsPeer' => 'airtime/CcShowHostsPeer.php',
'CcShowHosts' => 'campcaster/CcShowHosts.php', 'CcShowHosts' => 'airtime/CcShowHosts.php',
'CcShowHostsQuery' => 'campcaster/CcShowHostsQuery.php', 'CcShowHostsQuery' => 'airtime/CcShowHostsQuery.php',
'BaseCcShowHostsPeer' => 'campcaster/om/BaseCcShowHostsPeer.php', 'BaseCcShowHostsPeer' => 'airtime/om/BaseCcShowHostsPeer.php',
'BaseCcShowHosts' => 'campcaster/om/BaseCcShowHosts.php', 'BaseCcShowHosts' => 'airtime/om/BaseCcShowHosts.php',
'BaseCcShowHostsQuery' => 'campcaster/om/BaseCcShowHostsQuery.php', 'BaseCcShowHostsQuery' => 'airtime/om/BaseCcShowHostsQuery.php',
'CcShowScheduleTableMap' => 'campcaster/map/CcShowScheduleTableMap.php', 'CcShowScheduleTableMap' => 'airtime/map/CcShowScheduleTableMap.php',
'CcShowSchedulePeer' => 'campcaster/CcShowSchedulePeer.php', 'CcShowSchedulePeer' => 'airtime/CcShowSchedulePeer.php',
'CcShowSchedule' => 'campcaster/CcShowSchedule.php', 'CcShowSchedule' => 'airtime/CcShowSchedule.php',
'CcShowScheduleQuery' => 'campcaster/CcShowScheduleQuery.php', 'CcShowScheduleQuery' => 'airtime/CcShowScheduleQuery.php',
'BaseCcShowSchedulePeer' => 'campcaster/om/BaseCcShowSchedulePeer.php', 'BaseCcShowSchedulePeer' => 'airtime/om/BaseCcShowSchedulePeer.php',
'BaseCcShowSchedule' => 'campcaster/om/BaseCcShowSchedule.php', 'BaseCcShowSchedule' => 'airtime/om/BaseCcShowSchedule.php',
'BaseCcShowScheduleQuery' => 'campcaster/om/BaseCcShowScheduleQuery.php', 'BaseCcShowScheduleQuery' => 'airtime/om/BaseCcShowScheduleQuery.php',
'CcPlaylistTableMap' => 'campcaster/map/CcPlaylistTableMap.php', 'CcPlaylistTableMap' => 'airtime/map/CcPlaylistTableMap.php',
'CcPlaylistPeer' => 'campcaster/CcPlaylistPeer.php', 'CcPlaylistPeer' => 'airtime/CcPlaylistPeer.php',
'CcPlaylist' => 'campcaster/CcPlaylist.php', 'CcPlaylist' => 'airtime/CcPlaylist.php',
'CcPlaylistQuery' => 'campcaster/CcPlaylistQuery.php', 'CcPlaylistQuery' => 'airtime/CcPlaylistQuery.php',
'BaseCcPlaylistPeer' => 'campcaster/om/BaseCcPlaylistPeer.php', 'BaseCcPlaylistPeer' => 'airtime/om/BaseCcPlaylistPeer.php',
'BaseCcPlaylist' => 'campcaster/om/BaseCcPlaylist.php', 'BaseCcPlaylist' => 'airtime/om/BaseCcPlaylist.php',
'BaseCcPlaylistQuery' => 'campcaster/om/BaseCcPlaylistQuery.php', 'BaseCcPlaylistQuery' => 'airtime/om/BaseCcPlaylistQuery.php',
'CcPlaylistcontentsTableMap' => 'campcaster/map/CcPlaylistcontentsTableMap.php', 'CcPlaylistcontentsTableMap' => 'airtime/map/CcPlaylistcontentsTableMap.php',
'CcPlaylistcontentsPeer' => 'campcaster/CcPlaylistcontentsPeer.php', 'CcPlaylistcontentsPeer' => 'airtime/CcPlaylistcontentsPeer.php',
'CcPlaylistcontents' => 'campcaster/CcPlaylistcontents.php', 'CcPlaylistcontents' => 'airtime/CcPlaylistcontents.php',
'CcPlaylistcontentsQuery' => 'campcaster/CcPlaylistcontentsQuery.php', 'CcPlaylistcontentsQuery' => 'airtime/CcPlaylistcontentsQuery.php',
'BaseCcPlaylistcontentsPeer' => 'campcaster/om/BaseCcPlaylistcontentsPeer.php', 'BaseCcPlaylistcontentsPeer' => 'airtime/om/BaseCcPlaylistcontentsPeer.php',
'BaseCcPlaylistcontents' => 'campcaster/om/BaseCcPlaylistcontents.php', 'BaseCcPlaylistcontents' => 'airtime/om/BaseCcPlaylistcontents.php',
'BaseCcPlaylistcontentsQuery' => 'campcaster/om/BaseCcPlaylistcontentsQuery.php', 'BaseCcPlaylistcontentsQuery' => 'airtime/om/BaseCcPlaylistcontentsQuery.php',
'CcPrefTableMap' => 'campcaster/map/CcPrefTableMap.php', 'CcPrefTableMap' => 'airtime/map/CcPrefTableMap.php',
'CcPrefPeer' => 'campcaster/CcPrefPeer.php', 'CcPrefPeer' => 'airtime/CcPrefPeer.php',
'CcPref' => 'campcaster/CcPref.php', 'CcPref' => 'airtime/CcPref.php',
'CcPrefQuery' => 'campcaster/CcPrefQuery.php', 'CcPrefQuery' => 'airtime/CcPrefQuery.php',
'BaseCcPrefPeer' => 'campcaster/om/BaseCcPrefPeer.php', 'BaseCcPrefPeer' => 'airtime/om/BaseCcPrefPeer.php',
'BaseCcPref' => 'campcaster/om/BaseCcPref.php', 'BaseCcPref' => 'airtime/om/BaseCcPref.php',
'BaseCcPrefQuery' => 'campcaster/om/BaseCcPrefQuery.php', 'BaseCcPrefQuery' => 'airtime/om/BaseCcPrefQuery.php',
'CcScheduleTableMap' => 'campcaster/map/CcScheduleTableMap.php', 'CcScheduleTableMap' => 'airtime/map/CcScheduleTableMap.php',
'CcSchedulePeer' => 'campcaster/CcSchedulePeer.php', 'CcSchedulePeer' => 'airtime/CcSchedulePeer.php',
'CcSchedule' => 'campcaster/CcSchedule.php', 'CcSchedule' => 'airtime/CcSchedule.php',
'CcScheduleQuery' => 'campcaster/CcScheduleQuery.php', 'CcScheduleQuery' => 'airtime/CcScheduleQuery.php',
'BaseCcSchedulePeer' => 'campcaster/om/BaseCcSchedulePeer.php', 'BaseCcSchedulePeer' => 'airtime/om/BaseCcSchedulePeer.php',
'BaseCcSchedule' => 'campcaster/om/BaseCcSchedule.php', 'BaseCcSchedule' => 'airtime/om/BaseCcSchedule.php',
'BaseCcScheduleQuery' => 'campcaster/om/BaseCcScheduleQuery.php', 'BaseCcScheduleQuery' => 'airtime/om/BaseCcScheduleQuery.php',
'CcSessTableMap' => 'campcaster/map/CcSessTableMap.php', 'CcSessTableMap' => 'airtime/map/CcSessTableMap.php',
'CcSessPeer' => 'campcaster/CcSessPeer.php', 'CcSessPeer' => 'airtime/CcSessPeer.php',
'CcSess' => 'campcaster/CcSess.php', 'CcSess' => 'airtime/CcSess.php',
'CcSessQuery' => 'campcaster/CcSessQuery.php', 'CcSessQuery' => 'airtime/CcSessQuery.php',
'BaseCcSessPeer' => 'campcaster/om/BaseCcSessPeer.php', 'BaseCcSessPeer' => 'airtime/om/BaseCcSessPeer.php',
'BaseCcSess' => 'campcaster/om/BaseCcSess.php', 'BaseCcSess' => 'airtime/om/BaseCcSess.php',
'BaseCcSessQuery' => 'campcaster/om/BaseCcSessQuery.php', 'BaseCcSessQuery' => 'airtime/om/BaseCcSessQuery.php',
'CcSmembTableMap' => 'campcaster/map/CcSmembTableMap.php', 'CcSmembTableMap' => 'airtime/map/CcSmembTableMap.php',
'CcSmembPeer' => 'campcaster/CcSmembPeer.php', 'CcSmembPeer' => 'airtime/CcSmembPeer.php',
'CcSmemb' => 'campcaster/CcSmemb.php', 'CcSmemb' => 'airtime/CcSmemb.php',
'CcSmembQuery' => 'campcaster/CcSmembQuery.php', 'CcSmembQuery' => 'airtime/CcSmembQuery.php',
'BaseCcSmembPeer' => 'campcaster/om/BaseCcSmembPeer.php', 'BaseCcSmembPeer' => 'airtime/om/BaseCcSmembPeer.php',
'BaseCcSmemb' => 'campcaster/om/BaseCcSmemb.php', 'BaseCcSmemb' => 'airtime/om/BaseCcSmemb.php',
'BaseCcSmembQuery' => 'campcaster/om/BaseCcSmembQuery.php', 'BaseCcSmembQuery' => 'airtime/om/BaseCcSmembQuery.php',
'CcSubjsTableMap' => 'campcaster/map/CcSubjsTableMap.php', 'CcSubjsTableMap' => 'airtime/map/CcSubjsTableMap.php',
'CcSubjsPeer' => 'campcaster/CcSubjsPeer.php', 'CcSubjsPeer' => 'airtime/CcSubjsPeer.php',
'CcSubjs' => 'campcaster/CcSubjs.php', 'CcSubjs' => 'airtime/CcSubjs.php',
'CcSubjsQuery' => 'campcaster/CcSubjsQuery.php', 'CcSubjsQuery' => 'airtime/CcSubjsQuery.php',
'BaseCcSubjsPeer' => 'campcaster/om/BaseCcSubjsPeer.php', 'BaseCcSubjsPeer' => 'airtime/om/BaseCcSubjsPeer.php',
'BaseCcSubjs' => 'campcaster/om/BaseCcSubjs.php', 'BaseCcSubjs' => 'airtime/om/BaseCcSubjs.php',
'BaseCcSubjsQuery' => 'campcaster/om/BaseCcSubjsQuery.php', 'BaseCcSubjsQuery' => 'airtime/om/BaseCcSubjsQuery.php',
'CcTransTableMap' => 'campcaster/map/CcTransTableMap.php', 'CcTransTableMap' => 'airtime/map/CcTransTableMap.php',
'CcTransPeer' => 'campcaster/CcTransPeer.php', 'CcTransPeer' => 'airtime/CcTransPeer.php',
'CcTrans' => 'campcaster/CcTrans.php', 'CcTrans' => 'airtime/CcTrans.php',
'CcTransQuery' => 'campcaster/CcTransQuery.php', 'CcTransQuery' => 'airtime/CcTransQuery.php',
'BaseCcTransPeer' => 'campcaster/om/BaseCcTransPeer.php', 'BaseCcTransPeer' => 'airtime/om/BaseCcTransPeer.php',
'BaseCcTrans' => 'campcaster/om/BaseCcTrans.php', 'BaseCcTrans' => 'airtime/om/BaseCcTrans.php',
'BaseCcTransQuery' => 'campcaster/om/BaseCcTransQuery.php', 'BaseCcTransQuery' => 'airtime/om/BaseCcTransQuery.php',
); );

View file

@ -1,10 +1,10 @@
<?php <?php
// This file generated by Propel 1.5.2 convert-conf target // This file generated by Propel 1.5.2 convert-conf target
// from XML runtime conf file /home/naomi/dev-campcaster/campcaster/build/runtime-conf.xml // from XML runtime conf file /home/naomiaro/dev-campcaster/campcaster/build/runtime-conf.xml
$conf = array ( $conf = array (
'datasources' => 'datasources' =>
array ( array (
'campcaster' => 'airtime' =>
array ( array (
'adapter' => 'pgsql', 'adapter' => 'pgsql',
'connection' => 'connection' =>
@ -12,9 +12,9 @@ $conf = array (
'dsn' => 'pgsql:host=localhost;port=5432;dbname=airtime;user=airtime;password=airtime', 'dsn' => 'pgsql:host=localhost;port=5432;dbname=airtime;user=airtime;password=airtime',
), ),
), ),
'default' => 'campcaster', 'default' => 'airtime',
), ),
'generator_version' => '1.5.2', 'generator_version' => '1.5.2',
); );
$conf['classmap'] = include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'classmap-propel-config.php'); $conf['classmap'] = include(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'classmap-propel-config.php');
return $conf; return $conf;

View file

@ -20,6 +20,7 @@ class ScheduleController extends Zend_Controller_Action
->addActionContext('schedule-show', 'json') ->addActionContext('schedule-show', 'json')
->addActionContext('clear-show', 'json') ->addActionContext('clear-show', 'json')
->addActionContext('get-current-playlist', 'json') ->addActionContext('get-current-playlist', 'json')
->addActionContext('find-playlists', 'html')
->initContext(); ->initContext();
} }
@ -125,7 +126,7 @@ class ScheduleController extends Zend_Controller_Action
public function deleteShowAction() public function deleteShowAction()
{ {
$showId = $this->_getParam('showId'); $showId = $this->_getParam('showId');
$userInfo = Zend_Auth::getInstance()->getStorage()->read(); $userInfo = Zend_Auth::getInstance()->getStorage()->read();
$show = new Show(new User($userInfo->id, $userInfo->type)); $show = new Show(new User($userInfo->id, $userInfo->type));
@ -140,7 +141,7 @@ class ScheduleController extends Zend_Controller_Action
public function scheduleShowAction() public function scheduleShowAction()
{ {
$request = $this->getRequest(); $request = $this->getRequest();
if($request->isPost()) { if($request->isPost()) {
$plId = $this->_getParam('plId'); $plId = $this->_getParam('plId');
$start = $this->_getParam('start'); $start = $this->_getParam('start');
@ -156,7 +157,10 @@ class ScheduleController extends Zend_Controller_Action
else { else {
$length = $this->_getParam('length'); $length = $this->_getParam('length');
$this->view->playlists = Playlist::findPlaylistMaxLength($length); $this->view->playlists = Playlist::searchPlaylists($length);
$this->view->dialog = $this->view->render('schedule/schedule-show.phtml');
unset($this->view->playlists);
} }
} }
@ -185,6 +189,17 @@ class ScheduleController extends Zend_Controller_Action
$this->view->entries = Schedule::GetPlayOrderRange(); $this->view->entries = Schedule::GetPlayOrderRange();
} }
public function findPlaylistsAction()
{
$search = $this->_getParam('search');
$show_id = $this->_getParam('id');
$dofw = $this->_getParam('day');
$userInfo = Zend_Auth::getInstance()->getStorage()->read();
$show = new Show(new User($userInfo->id, $userInfo->type), $show_id);
$this->view->playlists = $show->searchPlaylistsForShow($dofw, $search);
}
} }
@ -204,4 +219,6 @@ class ScheduleController extends Zend_Controller_Action

View file

@ -153,9 +153,63 @@ class Playlist {
public static function findPlaylistMaxLength($p_length) public static function findPlaylistMaxLength($p_length)
{ {
$con = Propel::getConnection("campcaster"); $con = Propel::getConnection("airtime");
$sql = "SELECT * FROM cc_playlist LEFT JOIN cc_playlisttimes USING(id) WHERE length <= '{$p_length}' AND state != 'edited' "; $sql = "SELECT sub.login, plt.length, pl.state, pl.description, pl.name, pl.id
FROM cc_playlist AS pl LEFT JOIN cc_playlisttimes AS plt USING(id) LEFT JOIN cc_subjs AS sub ON pl.editedby = sub.id
WHERE plt.length <= '{$p_length}' ";
$r = $con->query($sql);
return $r->fetchAll();
}
public static function searchPlaylists($p_length, $search=null)
{
$con = Propel::getConnection("airtime");
$sql = "SELECT sub.login, plt.length, pl.state, pl.description, pl.name, pl.id
FROM cc_playlist AS pl LEFT JOIN cc_playlisttimes AS plt USING(id) LEFT JOIN cc_subjs AS sub ON pl.editedby = sub.id
WHERE plt.length <= '{$p_length}' ";
if(!is_null($search)) {
$keywords = explode(" ", $search);
$categories = array("pl.description", "pl.name", "pl.creator");
for($group_id=1; $group_id <= count($keywords); $group_id++) {
for($row_id=1; $row_id <= count($categories); $row_id++) {
$md["group_".$group_id]["row_".$row_id]["metadata"] = $categories[$row_id-1];
$md["group_".$group_id]["row_".$row_id]["match"] = "ILIKE";
$md["group_".$group_id]["row_".$row_id]["search"] = $keywords[$group_id-1];
}
}
$and_cond = array();
foreach (array_keys($md) as $group) {
$or_cond = array();
foreach (array_keys($md[$group]) as $row) {
$string = $md[$group][$row]["metadata"];
$string = $string ." ".$md[$group][$row]["match"];
$string = $string." '%". $md[$group][$row]["search"]."%'";
$or_cond[] = $string;
}
if(count($or_cond) > 0) {
$and_cond[] = "(".join(" OR ", $or_cond).")";
}
}
$where_search = " AND ". join(" AND ", $and_cond);
$sql = $sql . $where_search;
}
//echo $sql;
$r = $con->query($sql); $r = $con->query($sql);
return $r->fetchAll(); return $r->fetchAll();
@ -486,7 +540,7 @@ class Playlist {
$p_cuein = !is_null($p_cuein) ? $p_cuein : '00:00:00.000000'; $p_cuein = !is_null($p_cuein) ? $p_cuein : '00:00:00.000000';
$p_cueout = !is_null($p_cueout) ? $p_cueout : $length; $p_cueout = !is_null($p_cueout) ? $p_cueout : $length;
$con = Propel::getConnection("campcaster"); $con = Propel::getConnection(CcPlaylistPeer::DATABASE_NAME);
$sql = "SELECT INTERVAL '{$p_cueout}' - INTERVAL '{$p_cuein}'"; $sql = "SELECT INTERVAL '{$p_cueout}' - INTERVAL '{$p_cuein}'";
$r = $con->query($sql); $r = $con->query($sql);
$p_cliplength = $r->fetchColumn(0); $p_cliplength = $r->fetchColumn(0);
@ -561,7 +615,7 @@ class Playlist {
public function changeFadeInfo($pos, $fadeIn, $fadeOut) public function changeFadeInfo($pos, $fadeIn, $fadeOut)
{ {
$errArray= array(); $errArray= array();
$con = Propel::getConnection("campcaster"); $con = Propel::getConnection(CcPlaylistPeer::DATABASE_NAME);
if(is_null($pos) || $pos < 0 || $pos >= $this->getNextPos()) { if(is_null($pos) || $pos < 0 || $pos >= $this->getNextPos()) {
$errArray["error"]="Invalid position."; $errArray["error"]="Invalid position.";
@ -617,7 +671,7 @@ class Playlist {
public function changeClipLength($pos, $cueIn, $cueOut) public function changeClipLength($pos, $cueIn, $cueOut)
{ {
$errArray= array(); $errArray= array();
$con = Propel::getConnection("campcaster"); $con = Propel::getConnection(CcPlaylistPeer::DATABASE_NAME);
if(is_null($cueIn) && is_null($cueOut)) { if(is_null($cueIn) && is_null($cueOut)) {
$errArray["error"]="Cue in and cue out are null."; $errArray["error"]="Cue in and cue out are null.";

View file

@ -284,7 +284,36 @@ class Schedule {
return ($count == '0'); return ($count == '0');
} }
public static function getPercentScheduledInRange($s_datetime, $e_datetime) { public static function getTimeUnScheduledInRange($s_datetime, $e_datetime) {
global $CC_CONFIG, $CC_DBC;
$sql = "SELECT timestamp '{$s_datetime}' > timestamp '{$e_datetime}'";
$isNextDay = $CC_DBC->GetOne($sql);
if($isNextDay === 't') {
$sql = "SELECT date '{$e_datetime}' + interval '1 day'";
$e_datetime = $CC_DBC->GetOne($sql);
}
$sql = "SELECT SUM(clip_length) FROM ".$CC_CONFIG["scheduleTable"]."
WHERE (starts >= '{$s_datetime}')
AND (ends <= '{$e_datetime}')";
$time = $CC_DBC->GetOne($sql);
if(is_null($time))
$time = 0;
$sql = "SELECT TIMESTAMP '{$e_datetime}' - TIMESTAMP '{$s_datetime}'";
$length = $CC_DBC->GetOne($sql);
$sql = "SELECT INTERVAL '{$length}' - INTERVAL '{$time}'";
$time_left =$CC_DBC->GetOne($sql);
return $time_left;
}
public static function getTimeScheduledInRange($s_datetime, $e_datetime) {
global $CC_CONFIG, $CC_DBC; global $CC_CONFIG, $CC_DBC;
$sql = "SELECT timestamp '{$s_datetime}' > timestamp '{$e_datetime}'"; $sql = "SELECT timestamp '{$s_datetime}' > timestamp '{$e_datetime}'";
@ -304,7 +333,14 @@ class Schedule {
if(is_null($res)) if(is_null($res))
return 0; return 0;
$con = Propel::getConnection("campcaster"); return $res;
}
public static function getPercentScheduledInRange($s_datetime, $e_datetime) {
$time = Schedule::getTimeScheduledInRange($s_datetime, $e_datetime);
$con = Propel::getConnection(CcSchedulePeer::DATABASE_NAME);
$sql = "SELECT EXTRACT(EPOCH FROM TIMESTAMP WITH TIME ZONE '{$s_datetime}')"; $sql = "SELECT EXTRACT(EPOCH FROM TIMESTAMP WITH TIME ZONE '{$s_datetime}')";
$r = $con->query($sql); $r = $con->query($sql);
@ -314,7 +350,7 @@ class Schedule {
$r = $con->query($sql); $r = $con->query($sql);
$e_epoch = $r->fetchColumn(0); $e_epoch = $r->fetchColumn(0);
$sql = "SELECT EXTRACT(EPOCH FROM INTERVAL '{$res}')"; $sql = "SELECT EXTRACT(EPOCH FROM INTERVAL '{$time}')";
$r = $con->query($sql); $r = $con->query($sql);
$i_epoch = $r->fetchColumn(0); $i_epoch = $r->fetchColumn(0);

View file

@ -14,7 +14,7 @@ class Show {
//end dates are non inclusive. //end dates are non inclusive.
public function addShow($data) { public function addShow($data) {
$con = Propel::getConnection("campcaster"); $con = Propel::getConnection(CcShowPeer::DATABASE_NAME);
$sql = "SELECT time '{$data['start_time']}' + INTERVAL '{$data['duration']} hour' "; $sql = "SELECT time '{$data['start_time']}' + INTERVAL '{$data['duration']} hour' ";
$r = $con->query($sql); $r = $con->query($sql);
@ -202,9 +202,19 @@ class Show {
} }
} }
public function getTimeUnScheduled($start_date, $end_date, $start_time, $end_time) {
$start_timestamp = $start_date ." ".$start_time;
$end_timestamp = $end_date ." ".$end_time;
$time = Schedule::getTimeUnScheduledInRange($start_timestamp, $end_timestamp);
return $time;
}
public function showHasContent($start_timestamp, $end_timestamp) { public function showHasContent($start_timestamp, $end_timestamp) {
$con = Propel::getConnection("campcaster"); $con = Propel::getConnection(CcShowPeer::DATABASE_NAME);
$sql = "SELECT TIMESTAMP '{$end_timestamp}' - TIMESTAMP '{$start_timestamp}'"; $sql = "SELECT TIMESTAMP '{$end_timestamp}' - TIMESTAMP '{$start_timestamp}'";
$r = $con->query($sql); $r = $con->query($sql);
$length = $r->fetchColumn(0); $length = $r->fetchColumn(0);
@ -385,4 +395,22 @@ class Show {
return $event; return $event;
} }
public function searchPlaylistsForShow($day, $search){
global $CC_DBC;
$sql = "SELECT * FROM cc_show_days WHERE show_id = '{$this->_showId}' AND day = '{$day}'";
$row = $CC_DBC->GetAll($sql);
$row = $row[0];
$start_date = $row["first_show"];
$end_date = $row["last_show"];
$start_time = $row["start_time"];
$end_time = $row["end_time"];
$length = $this->getTimeUnScheduled($start_date, $start_date, $start_time, $end_time);
return Playlist::searchPlaylists($length, $search);
}
} }

View file

@ -1796,7 +1796,7 @@ class StoredFile {
$from = " FROM ((".$plSelect."PL.id $from = " FROM ((".$plSelect."PL.id
FROM ".$CC_CONFIG["playListTable"]." AS PL FROM ".$CC_CONFIG["playListTable"]." AS PL
LEFT JOIN ".$CC_CONFIG['playListTimeView']." PLT ON PL.id = PLT.id) LEFT JOIN ".$CC_CONFIG['playListTimeView']." AS PLT USING(id))
UNION UNION

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcAccess extends BaseCcAccess { class CcAccess extends BaseCcAccess {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcAccessPeer extends BaseCcAccessPeer { class CcAccessPeer extends BaseCcAccessPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcAccessQuery extends BaseCcAccessQuery { class CcAccessQuery extends BaseCcAccessQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcBackup extends BaseCcBackup { class CcBackup extends BaseCcBackup {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcBackupPeer extends BaseCcBackupPeer { class CcBackupPeer extends BaseCcBackupPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcBackupQuery extends BaseCcBackupQuery { class CcBackupQuery extends BaseCcBackupQuery {

View file

@ -0,0 +1,31 @@
<?php
require_once('Common.php');
/**
* Skeleton subclass for representing a row from the 'cc_files' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.campcaster
*/
class CcFiles extends BaseCcFiles {
public function getDbLength()
{
return $this->length;
}
public function setDbLength($time)
{
$this->length = $time;
//$this->modifiedColumns[] = CcPlaylistcontentsPeer::LENGTH;
return Common::setTimeInSub($this, 'LENGTH', $time);
}
} // CcFiles

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcFilesPeer extends BaseCcFilesPeer { class CcFilesPeer extends BaseCcFilesPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcFilesQuery extends BaseCcFilesQuery { class CcFilesQuery extends BaseCcFilesQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPerms extends BaseCcPerms { class CcPerms extends BaseCcPerms {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPermsPeer extends BaseCcPermsPeer { class CcPermsPeer extends BaseCcPermsPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPermsQuery extends BaseCcPermsQuery { class CcPermsQuery extends BaseCcPermsQuery {

View file

@ -0,0 +1,48 @@
<?php
/**
* Skeleton subclass for representing a row from the 'cc_playlist' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.campcaster
*/
class CcPlaylist extends BaseCcPlaylist {
public function computeLastPosition()
{
$con = Propel::getConnection(CcPlaylistPeer::DATABASE_NAME);
$sql = 'SELECT MAX('.CcPlaylistcontentsPeer::POSITION.') AS pos'
. ' FROM ' .CcPlaylistcontentsPeer::TABLE_NAME
. ' WHERE ' .CcPlaylistcontentsPeer::PLAYLIST_ID. ' = :p1';
$stmt = $con->prepare($sql);
$stmt->bindValue(':p1', $this->getDbId());
$stmt->execute();
return $stmt->fetchColumn();
}
public function computeLength()
{
$con = Propel::getConnection(CcPlaylistPeer::DATABASE_NAME);
$sql = 'SELECT SUM('.CcPlaylistcontentsPeer::CLIPLENGTH.') AS length'
. ' FROM ' .CcPlaylistcontentsPeer::TABLE_NAME
. ' WHERE ' .CcPlaylistcontentsPeer::PLAYLIST_ID. ' = :p1';
$stmt = $con->prepare($sql);
$stmt->bindValue(':p1', $this->getDbId());
$stmt->execute();
return $stmt->fetchColumn();
}
} // CcPlaylist

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPlaylistPeer extends BaseCcPlaylistPeer { class CcPlaylistPeer extends BaseCcPlaylistPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPlaylistQuery extends BaseCcPlaylistQuery { class CcPlaylistQuery extends BaseCcPlaylistQuery {

View file

@ -0,0 +1,81 @@
<?php
require_once('Common.php');
/**
* Skeleton subclass for representing a row from the 'cc_playlistcontents' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
* @package propel.generator.campcaster
*/
class CcPlaylistcontents extends BaseCcPlaylistcontents {
public function getDbFadein()
{
return $this->fadein;
}
public function setDbFadein($time)
{
$this->fadein = $time;
//$this->modifiedColumns[] = CcPlaylistcontentsPeer::FADEIN;
Common::setTimeInSub($this, 'FADEIN', $time);
}
public function getDbFadeout()
{
return $this->fadeout;
}
public function setDbFadeout($time)
{
$this->fadeout = $time;
//$this->modifiedColumns[] = CcPlaylistcontentsPeer::FADEOUT;
Common::setTimeInSub($this, 'FADEOUT', $time);
}
public function getDbCuein()
{
return $this->cuein;
}
public function setDbCuein($time)
{
$this->cuein = $time;
//$this->modifiedColumns[] = CcPlaylistcontentsPeer::CUEIN;
Common::setTimeInSub($this, 'CUEIN', $time);
}
public function getDbCueout()
{
return $this->cueout;
}
public function setDbCueout($time)
{
$this->cueout = $time;
//$this->modifiedColumns[] = CcPlaylistcontentsPeer::CUEOUT;
Common::setTimeInSub($this, 'CUEOUT', $time);
}
public function getDbCliplength()
{
return $this->cliplength;
}
public function setDbCliplength($time)
{
$this->cliplength = $time;
//$this->modifiedColumns[] = CcPlaylistcontentsPeer::CLIPLENGTH;
Common::setTimeInSub($this, 'CLIPLENGTH', $time);
}
} // CcPlaylistcontents

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPlaylistcontentsPeer extends BaseCcPlaylistcontentsPeer { class CcPlaylistcontentsPeer extends BaseCcPlaylistcontentsPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPlaylistcontentsQuery extends BaseCcPlaylistcontentsQuery { class CcPlaylistcontentsQuery extends BaseCcPlaylistcontentsQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPref extends BaseCcPref { class CcPref extends BaseCcPref {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPrefPeer extends BaseCcPrefPeer { class CcPrefPeer extends BaseCcPrefPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcPrefQuery extends BaseCcPrefQuery { class CcPrefQuery extends BaseCcPrefQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSchedule extends BaseCcSchedule { class CcSchedule extends BaseCcSchedule {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSchedulePeer extends BaseCcSchedulePeer { class CcSchedulePeer extends BaseCcSchedulePeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcScheduleQuery extends BaseCcScheduleQuery { class CcScheduleQuery extends BaseCcScheduleQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSess extends BaseCcSess { class CcSess extends BaseCcSess {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSessPeer extends BaseCcSessPeer { class CcSessPeer extends BaseCcSessPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSessQuery extends BaseCcSessQuery { class CcSessQuery extends BaseCcSessQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShow extends BaseCcShow { class CcShow extends BaseCcShow {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowDays extends BaseCcShowDays { class CcShowDays extends BaseCcShowDays {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowDaysPeer extends BaseCcShowDaysPeer { class CcShowDaysPeer extends BaseCcShowDaysPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowDaysQuery extends BaseCcShowDaysQuery { class CcShowDaysQuery extends BaseCcShowDaysQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowHosts extends BaseCcShowHosts { class CcShowHosts extends BaseCcShowHosts {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowHostsPeer extends BaseCcShowHostsPeer { class CcShowHostsPeer extends BaseCcShowHostsPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowHostsQuery extends BaseCcShowHostsQuery { class CcShowHostsQuery extends BaseCcShowHostsQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowPeer extends BaseCcShowPeer { class CcShowPeer extends BaseCcShowPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowQuery extends BaseCcShowQuery { class CcShowQuery extends BaseCcShowQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowSchedule extends BaseCcShowSchedule { class CcShowSchedule extends BaseCcShowSchedule {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowSchedulePeer extends BaseCcShowSchedulePeer { class CcShowSchedulePeer extends BaseCcShowSchedulePeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcShowScheduleQuery extends BaseCcShowScheduleQuery { class CcShowScheduleQuery extends BaseCcShowScheduleQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSmemb extends BaseCcSmemb { class CcSmemb extends BaseCcSmemb {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSmembPeer extends BaseCcSmembPeer { class CcSmembPeer extends BaseCcSmembPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSmembQuery extends BaseCcSmembQuery { class CcSmembQuery extends BaseCcSmembQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSubjs extends BaseCcSubjs { class CcSubjs extends BaseCcSubjs {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSubjsPeer extends BaseCcSubjsPeer { class CcSubjsPeer extends BaseCcSubjsPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcSubjsQuery extends BaseCcSubjsQuery { class CcSubjsQuery extends BaseCcSubjsQuery {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcTrans extends BaseCcTrans { class CcTrans extends BaseCcTrans {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcTransPeer extends BaseCcTransPeer { class CcTransPeer extends BaseCcTransPeer {

View file

@ -11,7 +11,7 @@
* application requirements. This class will only be generated as * application requirements. This class will only be generated as
* long as it does not already exist in the output directory. * long as it does not already exist in the output directory.
* *
* @package propel.generator.campcaster * @package propel.generator.airtime
*/ */
class CcTransQuery extends BaseCcTransQuery { class CcTransQuery extends BaseCcTransQuery {

View file

@ -0,0 +1,19 @@
<?php
class Common {
public static function setTimeInSub($row, $col, $time)
{
$class = get_class($row).'Peer';
$con = Propel::getConnection($class::DATABASE_NAME);
$sql = 'UPDATE '.$class::TABLE_NAME
. ' SET '.$col.' = :f1'
. ' WHERE ' .$class::ID. ' = :p1';
$stmt = $con->prepare($sql);
$stmt->bindValue(':f1', $time);
$stmt->bindValue(':p1', $row->getDbId());
$stmt->execute();
}
}

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcAccessTableMap extends TableMap { class CcAccessTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcAccessTableMap'; const CLASS_NAME = 'airtime.map.CcAccessTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcAccessTableMap extends TableMap {
$this->setName('cc_access'); $this->setName('cc_access');
$this->setPhpName('CcAccess'); $this->setPhpName('CcAccess');
$this->setClassname('CcAccess'); $this->setClassname('CcAccess');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_access_id_seq'); $this->setPrimaryKeyMethodInfo('cc_access_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcBackupTableMap extends TableMap { class CcBackupTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcBackupTableMap'; const CLASS_NAME = 'airtime.map.CcBackupTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcBackupTableMap extends TableMap {
$this->setName('cc_backup'); $this->setName('cc_backup');
$this->setPhpName('CcBackup'); $this->setPhpName('CcBackup');
$this->setClassname('CcBackup'); $this->setClassname('CcBackup');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(false); $this->setUseIdGenerator(false);
// columns // columns
$this->addPrimaryKey('TOKEN', 'Token', 'VARCHAR', true, 64, null); $this->addPrimaryKey('TOKEN', 'Token', 'VARCHAR', true, 64, null);

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcFilesTableMap extends TableMap { class CcFilesTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcFilesTableMap'; const CLASS_NAME = 'airtime.map.CcFilesTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcFilesTableMap extends TableMap {
$this->setName('cc_files'); $this->setName('cc_files');
$this->setPhpName('CcFiles'); $this->setPhpName('CcFiles');
$this->setClassname('CcFiles'); $this->setClassname('CcFiles');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_files_id_seq'); $this->setPrimaryKeyMethodInfo('cc_files_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcPermsTableMap extends TableMap { class CcPermsTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcPermsTableMap'; const CLASS_NAME = 'airtime.map.CcPermsTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcPermsTableMap extends TableMap {
$this->setName('cc_perms'); $this->setName('cc_perms');
$this->setPhpName('CcPerms'); $this->setPhpName('CcPerms');
$this->setClassname('CcPerms'); $this->setClassname('CcPerms');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(false); $this->setUseIdGenerator(false);
// columns // columns
$this->addPrimaryKey('PERMID', 'Permid', 'INTEGER', true, null, null); $this->addPrimaryKey('PERMID', 'Permid', 'INTEGER', true, null, null);

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcPlaylistTableMap extends TableMap { class CcPlaylistTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcPlaylistTableMap'; const CLASS_NAME = 'airtime.map.CcPlaylistTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcPlaylistTableMap extends TableMap {
$this->setName('cc_playlist'); $this->setName('cc_playlist');
$this->setPhpName('CcPlaylist'); $this->setPhpName('CcPlaylist');
$this->setClassname('CcPlaylist'); $this->setClassname('CcPlaylist');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_playlist_id_seq'); $this->setPrimaryKeyMethodInfo('cc_playlist_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcPlaylistcontentsTableMap extends TableMap { class CcPlaylistcontentsTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcPlaylistcontentsTableMap'; const CLASS_NAME = 'airtime.map.CcPlaylistcontentsTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcPlaylistcontentsTableMap extends TableMap {
$this->setName('cc_playlistcontents'); $this->setName('cc_playlistcontents');
$this->setPhpName('CcPlaylistcontents'); $this->setPhpName('CcPlaylistcontents');
$this->setClassname('CcPlaylistcontents'); $this->setClassname('CcPlaylistcontents');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_playlistcontents_id_seq'); $this->setPrimaryKeyMethodInfo('cc_playlistcontents_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcPrefTableMap extends TableMap { class CcPrefTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcPrefTableMap'; const CLASS_NAME = 'airtime.map.CcPrefTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcPrefTableMap extends TableMap {
$this->setName('cc_pref'); $this->setName('cc_pref');
$this->setPhpName('CcPref'); $this->setPhpName('CcPref');
$this->setClassname('CcPref'); $this->setClassname('CcPref');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_pref_id_seq'); $this->setPrimaryKeyMethodInfo('cc_pref_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcScheduleTableMap extends TableMap { class CcScheduleTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcScheduleTableMap'; const CLASS_NAME = 'airtime.map.CcScheduleTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcScheduleTableMap extends TableMap {
$this->setName('cc_schedule'); $this->setName('cc_schedule');
$this->setPhpName('CcSchedule'); $this->setPhpName('CcSchedule');
$this->setClassname('CcSchedule'); $this->setClassname('CcSchedule');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(false); $this->setUseIdGenerator(false);
// columns // columns
$this->addPrimaryKey('ID', 'DbId', 'BIGINT', true, null, null); $this->addPrimaryKey('ID', 'DbId', 'BIGINT', true, null, null);

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcSessTableMap extends TableMap { class CcSessTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcSessTableMap'; const CLASS_NAME = 'airtime.map.CcSessTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcSessTableMap extends TableMap {
$this->setName('cc_sess'); $this->setName('cc_sess');
$this->setPhpName('CcSess'); $this->setPhpName('CcSess');
$this->setClassname('CcSess'); $this->setClassname('CcSess');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(false); $this->setUseIdGenerator(false);
// columns // columns
$this->addPrimaryKey('SESSID', 'Sessid', 'CHAR', true, 32, null); $this->addPrimaryKey('SESSID', 'Sessid', 'CHAR', true, 32, null);

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcShowDaysTableMap extends TableMap { class CcShowDaysTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcShowDaysTableMap'; const CLASS_NAME = 'airtime.map.CcShowDaysTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcShowDaysTableMap extends TableMap {
$this->setName('cc_show_days'); $this->setName('cc_show_days');
$this->setPhpName('CcShowDays'); $this->setPhpName('CcShowDays');
$this->setClassname('CcShowDays'); $this->setClassname('CcShowDays');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_show_days_id_seq'); $this->setPrimaryKeyMethodInfo('cc_show_days_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcShowHostsTableMap extends TableMap { class CcShowHostsTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcShowHostsTableMap'; const CLASS_NAME = 'airtime.map.CcShowHostsTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcShowHostsTableMap extends TableMap {
$this->setName('cc_show_hosts'); $this->setName('cc_show_hosts');
$this->setPhpName('CcShowHosts'); $this->setPhpName('CcShowHosts');
$this->setClassname('CcShowHosts'); $this->setClassname('CcShowHosts');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_show_hosts_id_seq'); $this->setPrimaryKeyMethodInfo('cc_show_hosts_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcShowScheduleTableMap extends TableMap { class CcShowScheduleTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcShowScheduleTableMap'; const CLASS_NAME = 'airtime.map.CcShowScheduleTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcShowScheduleTableMap extends TableMap {
$this->setName('cc_show_schedule'); $this->setName('cc_show_schedule');
$this->setPhpName('CcShowSchedule'); $this->setPhpName('CcShowSchedule');
$this->setClassname('CcShowSchedule'); $this->setClassname('CcShowSchedule');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_show_schedule_id_seq'); $this->setPrimaryKeyMethodInfo('cc_show_schedule_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcShowTableMap extends TableMap { class CcShowTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcShowTableMap'; const CLASS_NAME = 'airtime.map.CcShowTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcShowTableMap extends TableMap {
$this->setName('cc_show'); $this->setName('cc_show');
$this->setPhpName('CcShow'); $this->setPhpName('CcShow');
$this->setClassname('CcShow'); $this->setClassname('CcShow');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_show_id_seq'); $this->setPrimaryKeyMethodInfo('cc_show_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcSmembTableMap extends TableMap { class CcSmembTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcSmembTableMap'; const CLASS_NAME = 'airtime.map.CcSmembTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcSmembTableMap extends TableMap {
$this->setName('cc_smemb'); $this->setName('cc_smemb');
$this->setPhpName('CcSmemb'); $this->setPhpName('CcSmemb');
$this->setClassname('CcSmemb'); $this->setClassname('CcSmemb');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(false); $this->setUseIdGenerator(false);
// columns // columns
$this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null); $this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null);

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcSubjsTableMap extends TableMap { class CcSubjsTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcSubjsTableMap'; const CLASS_NAME = 'airtime.map.CcSubjsTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcSubjsTableMap extends TableMap {
$this->setName('cc_subjs'); $this->setName('cc_subjs');
$this->setPhpName('CcSubjs'); $this->setPhpName('CcSubjs');
$this->setClassname('CcSubjs'); $this->setClassname('CcSubjs');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_subjs_id_seq'); $this->setPrimaryKeyMethodInfo('cc_subjs_id_seq');
// columns // columns

View file

@ -12,14 +12,14 @@
* ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive * ORDER BY clause to know whether it needs to apply SQL to make the ORDER BY case-insensitive
* (i.e. if it's a text column type). * (i.e. if it's a text column type).
* *
* @package propel.generator.campcaster.map * @package propel.generator.airtime.map
*/ */
class CcTransTableMap extends TableMap { class CcTransTableMap extends TableMap {
/** /**
* The (dot-path) name of this class * The (dot-path) name of this class
*/ */
const CLASS_NAME = 'campcaster.map.CcTransTableMap'; const CLASS_NAME = 'airtime.map.CcTransTableMap';
/** /**
* Initialize the table attributes, columns and validators * Initialize the table attributes, columns and validators
@ -34,7 +34,7 @@ class CcTransTableMap extends TableMap {
$this->setName('cc_trans'); $this->setName('cc_trans');
$this->setPhpName('CcTrans'); $this->setPhpName('CcTrans');
$this->setClassname('CcTrans'); $this->setClassname('CcTrans');
$this->setPackage('campcaster'); $this->setPackage('airtime');
$this->setUseIdGenerator(true); $this->setUseIdGenerator(true);
$this->setPrimaryKeyMethodInfo('cc_trans_id_seq'); $this->setPrimaryKeyMethodInfo('cc_trans_id_seq');
// columns // columns

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcAccess extends BaseObject implements Persistent abstract class BaseCcAccess extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcAccessPeer { abstract class BaseCcAccessPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_access'; const TABLE_NAME = 'cc_access';
@ -20,7 +20,7 @@ abstract class BaseCcAccessPeer {
const OM_CLASS = 'CcAccess'; const OM_CLASS = 'CcAccess';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcAccess'; const CLASS_DEFAULT = 'airtime.CcAccess';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcAccessTableMap'; const TM_CLASS = 'CcAccessTableMap';

View file

@ -57,7 +57,7 @@
* @method array findByOwner(int $owner) Return CcAccess objects filtered by the owner column * @method array findByOwner(int $owner) Return CcAccess objects filtered by the owner column
* @method array findByTs(string $ts) Return CcAccess objects filtered by the ts column * @method array findByTs(string $ts) Return CcAccess objects filtered by the ts column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcAccessQuery extends ModelCriteria abstract class BaseCcAccessQuery extends ModelCriteria
{ {
@ -69,7 +69,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcAccess', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcAccess', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcBackup extends BaseObject implements Persistent abstract class BaseCcBackup extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcBackupPeer { abstract class BaseCcBackupPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_backup'; const TABLE_NAME = 'cc_backup';
@ -20,7 +20,7 @@ abstract class BaseCcBackupPeer {
const OM_CLASS = 'CcBackup'; const OM_CLASS = 'CcBackup';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcBackup'; const CLASS_DEFAULT = 'airtime.CcBackup';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcBackupTableMap'; const TM_CLASS = 'CcBackupTableMap';

View file

@ -37,7 +37,7 @@
* @method array findByFromtime(string $fromtime) Return CcBackup objects filtered by the fromtime column * @method array findByFromtime(string $fromtime) Return CcBackup objects filtered by the fromtime column
* @method array findByTotime(string $totime) Return CcBackup objects filtered by the totime column * @method array findByTotime(string $totime) Return CcBackup objects filtered by the totime column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcBackupQuery extends ModelCriteria abstract class BaseCcBackupQuery extends ModelCriteria
{ {
@ -49,7 +49,7 @@ abstract class BaseCcBackupQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcBackup', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcBackup', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcFiles extends BaseObject implements Persistent abstract class BaseCcFiles extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcFilesPeer { abstract class BaseCcFilesPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_files'; const TABLE_NAME = 'cc_files';
@ -20,7 +20,7 @@ abstract class BaseCcFilesPeer {
const OM_CLASS = 'CcFiles'; const OM_CLASS = 'CcFiles';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcFiles'; const CLASS_DEFAULT = 'airtime.CcFiles';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcFilesTableMap'; const TM_CLASS = 'CcFilesTableMap';

View file

@ -241,7 +241,7 @@
* @method array findByDbContributor(string $contributor) Return CcFiles objects filtered by the contributor column * @method array findByDbContributor(string $contributor) Return CcFiles objects filtered by the contributor column
* @method array findByDbLanguage(string $language) Return CcFiles objects filtered by the language column * @method array findByDbLanguage(string $language) Return CcFiles objects filtered by the language column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcFilesQuery extends ModelCriteria abstract class BaseCcFilesQuery extends ModelCriteria
{ {
@ -253,7 +253,7 @@ abstract class BaseCcFilesQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcFiles', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcFiles', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPerms extends BaseObject implements Persistent abstract class BaseCcPerms extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPermsPeer { abstract class BaseCcPermsPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_perms'; const TABLE_NAME = 'cc_perms';
@ -20,7 +20,7 @@ abstract class BaseCcPermsPeer {
const OM_CLASS = 'CcPerms'; const OM_CLASS = 'CcPerms';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcPerms'; const CLASS_DEFAULT = 'airtime.CcPerms';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcPermsTableMap'; const TM_CLASS = 'CcPermsTableMap';

View file

@ -41,7 +41,7 @@
* @method array findByObj(int $obj) Return CcPerms objects filtered by the obj column * @method array findByObj(int $obj) Return CcPerms objects filtered by the obj column
* @method array findByType(string $type) Return CcPerms objects filtered by the type column * @method array findByType(string $type) Return CcPerms objects filtered by the type column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPermsQuery extends ModelCriteria abstract class BaseCcPermsQuery extends ModelCriteria
{ {
@ -53,7 +53,7 @@ abstract class BaseCcPermsQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcPerms', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcPerms', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPlaylist extends BaseObject implements Persistent abstract class BaseCcPlaylist extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPlaylistPeer { abstract class BaseCcPlaylistPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_playlist'; const TABLE_NAME = 'cc_playlist';
@ -20,7 +20,7 @@ abstract class BaseCcPlaylistPeer {
const OM_CLASS = 'CcPlaylist'; const OM_CLASS = 'CcPlaylist';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcPlaylist'; const CLASS_DEFAULT = 'airtime.CcPlaylist';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcPlaylistTableMap'; const TM_CLASS = 'CcPlaylistTableMap';

View file

@ -57,7 +57,7 @@
* @method array findByDbCreator(string $creator) Return CcPlaylist objects filtered by the creator column * @method array findByDbCreator(string $creator) Return CcPlaylist objects filtered by the creator column
* @method array findByDbDescription(string $description) Return CcPlaylist objects filtered by the description column * @method array findByDbDescription(string $description) Return CcPlaylist objects filtered by the description column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPlaylistQuery extends ModelCriteria abstract class BaseCcPlaylistQuery extends ModelCriteria
{ {
@ -69,7 +69,7 @@ abstract class BaseCcPlaylistQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcPlaylist', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcPlaylist', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPlaylistcontents extends BaseObject implements Persistent abstract class BaseCcPlaylistcontents extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPlaylistcontentsPeer { abstract class BaseCcPlaylistcontentsPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_playlistcontents'; const TABLE_NAME = 'cc_playlistcontents';
@ -20,7 +20,7 @@ abstract class BaseCcPlaylistcontentsPeer {
const OM_CLASS = 'CcPlaylistcontents'; const OM_CLASS = 'CcPlaylistcontents';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcPlaylistcontents'; const CLASS_DEFAULT = 'airtime.CcPlaylistcontents';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcPlaylistcontentsTableMap'; const TM_CLASS = 'CcPlaylistcontentsTableMap';

View file

@ -61,7 +61,7 @@
* @method array findByDbFadein(string $fadein) Return CcPlaylistcontents objects filtered by the fadein column * @method array findByDbFadein(string $fadein) Return CcPlaylistcontents objects filtered by the fadein column
* @method array findByDbFadeout(string $fadeout) Return CcPlaylistcontents objects filtered by the fadeout column * @method array findByDbFadeout(string $fadeout) Return CcPlaylistcontents objects filtered by the fadeout column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPlaylistcontentsQuery extends ModelCriteria abstract class BaseCcPlaylistcontentsQuery extends ModelCriteria
{ {
@ -73,7 +73,7 @@ abstract class BaseCcPlaylistcontentsQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcPlaylistcontents', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcPlaylistcontents', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPref extends BaseObject implements Persistent abstract class BaseCcPref extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPrefPeer { abstract class BaseCcPrefPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_pref'; const TABLE_NAME = 'cc_pref';
@ -20,7 +20,7 @@ abstract class BaseCcPrefPeer {
const OM_CLASS = 'CcPref'; const OM_CLASS = 'CcPref';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcPref'; const CLASS_DEFAULT = 'airtime.CcPref';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcPrefTableMap'; const TM_CLASS = 'CcPrefTableMap';

View file

@ -37,7 +37,7 @@
* @method array findByKeystr(string $keystr) Return CcPref objects filtered by the keystr column * @method array findByKeystr(string $keystr) Return CcPref objects filtered by the keystr column
* @method array findByValstr(string $valstr) Return CcPref objects filtered by the valstr column * @method array findByValstr(string $valstr) Return CcPref objects filtered by the valstr column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcPrefQuery extends ModelCriteria abstract class BaseCcPrefQuery extends ModelCriteria
{ {
@ -49,7 +49,7 @@ abstract class BaseCcPrefQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcPref', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcPref', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcSchedule extends BaseObject implements Persistent abstract class BaseCcSchedule extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcSchedulePeer { abstract class BaseCcSchedulePeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_schedule'; const TABLE_NAME = 'cc_schedule';
@ -20,7 +20,7 @@ abstract class BaseCcSchedulePeer {
const OM_CLASS = 'CcSchedule'; const OM_CLASS = 'CcSchedule';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcSchedule'; const CLASS_DEFAULT = 'airtime.CcSchedule';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcScheduleTableMap'; const TM_CLASS = 'CcScheduleTableMap';

View file

@ -69,7 +69,7 @@
* @method array findByDbScheduleGroupPlayed(boolean $schedule_group_played) Return CcSchedule objects filtered by the schedule_group_played column * @method array findByDbScheduleGroupPlayed(boolean $schedule_group_played) Return CcSchedule objects filtered by the schedule_group_played column
* @method array findByDbMediaItemPlayed(boolean $media_item_played) Return CcSchedule objects filtered by the media_item_played column * @method array findByDbMediaItemPlayed(boolean $media_item_played) Return CcSchedule objects filtered by the media_item_played column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcScheduleQuery extends ModelCriteria abstract class BaseCcScheduleQuery extends ModelCriteria
{ {
@ -81,7 +81,7 @@ abstract class BaseCcScheduleQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcSchedule', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcSchedule', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

View file

@ -6,7 +6,7 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcSess extends BaseObject implements Persistent abstract class BaseCcSess extends BaseObject implements Persistent
{ {

View file

@ -6,12 +6,12 @@
* *
* *
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcSessPeer { abstract class BaseCcSessPeer {
/** the default database name for this class */ /** the default database name for this class */
const DATABASE_NAME = 'campcaster'; const DATABASE_NAME = 'airtime';
/** the table name for this class */ /** the table name for this class */
const TABLE_NAME = 'cc_sess'; const TABLE_NAME = 'cc_sess';
@ -20,7 +20,7 @@ abstract class BaseCcSessPeer {
const OM_CLASS = 'CcSess'; const OM_CLASS = 'CcSess';
/** A class that can be returned by this peer. */ /** A class that can be returned by this peer. */
const CLASS_DEFAULT = 'campcaster.CcSess'; const CLASS_DEFAULT = 'airtime.CcSess';
/** the related TableMap class for this table */ /** the related TableMap class for this table */
const TM_CLASS = 'CcSessTableMap'; const TM_CLASS = 'CcSessTableMap';

View file

@ -37,7 +37,7 @@
* @method array findByLogin(string $login) Return CcSess objects filtered by the login column * @method array findByLogin(string $login) Return CcSess objects filtered by the login column
* @method array findByTs(string $ts) Return CcSess objects filtered by the ts column * @method array findByTs(string $ts) Return CcSess objects filtered by the ts column
* *
* @package propel.generator.campcaster.om * @package propel.generator.airtime.om
*/ */
abstract class BaseCcSessQuery extends ModelCriteria abstract class BaseCcSessQuery extends ModelCriteria
{ {
@ -49,7 +49,7 @@ abstract class BaseCcSessQuery extends ModelCriteria
* @param string $modelName The phpName of a model, e.g. 'Book' * @param string $modelName The phpName of a model, e.g. 'Book'
* @param string $modelAlias The alias for the model in this query, e.g. 'b' * @param string $modelAlias The alias for the model in this query, e.g. 'b'
*/ */
public function __construct($dbName = 'campcaster', $modelName = 'CcSess', $modelAlias = null) public function __construct($dbName = 'airtime', $modelName = 'CcSess', $modelAlias = null)
{ {
parent::__construct($dbName, $modelName, $modelAlias); parent::__construct($dbName, $modelName, $modelAlias);
} }

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