From ace30e9766a7ea437c695a8d9e010f06aa0a3317 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 17 Dec 2010 11:49:18 -0500 Subject: [PATCH 1/5] more show overlap checks, still testing. --- application/models/Shows.php | 8 +++++--- public/js/campcaster/schedule/schedule.js | 11 +++++++---- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/application/models/Shows.php b/application/models/Shows.php index 104a4eaa2..3f93f7d48 100644 --- a/application/models/Shows.php +++ b/application/models/Shows.php @@ -259,10 +259,12 @@ class Show { $sql = $sql_gen ." WHERE ((". $sql_day .") AND (". $sql_range ."))"; } if(!is_null($s_time) && !is_null($e_time)) { - $sql_time = "(start_time <= '{$s_time}' AND end_time >= '{$e_time}' AND '{$s_time}' < '{$e_time}') - OR (start_time >= '{$s_time}' AND end_time <= '{$e_time}' AND '{$s_time}' > '{$e_time}') + $sql_time = "(start_time <= '{$s_time}' AND end_time >= '{$e_time}' AND start_time < end_time AND '{$s_time}' < '{$e_time}') + OR (start_time >= '{$s_time}' AND end_time <= '{$e_time}' AND start_time > end_time AND '{$s_time}' > '{$e_time}') OR (start_time >= '{$s_time}' AND end_time <= '{$e_time}' AND start_time < end_time) OR (start_time <= '{$s_time}' AND end_time >= '{$e_time}' AND start_time > end_time) + OR (start_time <= '{$s_time}' AND end_time <= '{$e_time}' AND start_time > end_time AND '{$s_time}' > '{$e_time}') + OR (start_time >= '{$s_time}' AND end_time >= '{$e_time}' AND start_time > end_time AND '{$s_time}' > '{$e_time}') OR (end_time > '{$s_time}' AND end_time <= '{$e_time}') OR (start_time >= '{$s_time}' AND start_time < '{$e_time}')"; @@ -371,7 +373,7 @@ class Show { } if($this->_user->isAdmin()) { - $event["editable"] = true; + //$event["editable"] = true; } if($this->_user->isHost($show["show_id"])) { diff --git a/public/js/campcaster/schedule/schedule.js b/public/js/campcaster/schedule/schedule.js index d9b2a9812..0f28c352c 100644 --- a/public/js/campcaster/schedule/schedule.js +++ b/public/js/campcaster/schedule/schedule.js @@ -61,6 +61,7 @@ function submitShow() { function(data){ if(data.form) { dialog.find("form").remove(); + dialog.find("#show_overlap_error").remove(); dialog.append(data.form); var start = dialog.find("#start_date"); @@ -70,8 +71,9 @@ function submitShow() { createDateInput(end, endDpSelect); if(data.overlap) { - var table, tr, days; - table = $(""); + var div, table, tr, days; + div = $('
'); + table = $('
'); days = $.datepicker.regional[''].dayNamesShort; $.each(data.overlap, function(i, val){ @@ -85,8 +87,9 @@ function submitShow() { table.append(tr); }); - dialog.append("Cannot add show. New show overlaps the following shows:"); - dialog.append(table); + div.append("Cannot add show. New show overlaps the following shows:"); + div.append(table); + dialog.append(div); } } From 3d952eb1bd06fb1c922dde698bcf9f77dd729324 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 17 Dec 2010 15:52:44 -0500 Subject: [PATCH 2/5] auto complete box for hosts. --- .../controllers/ScheduleController.php | 1 + application/forms/AddShow.php | 8 ++++++- application/models/Users.php | 8 ++++--- public/js/campcaster/schedule/schedule.js | 22 ++++++++++++++++--- 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/application/controllers/ScheduleController.php b/application/controllers/ScheduleController.php index 97b4fd727..f25fa8403 100644 --- a/application/controllers/ScheduleController.php +++ b/application/controllers/ScheduleController.php @@ -86,6 +86,7 @@ class ScheduleController extends Zend_Controller_Action } } $this->view->form = $form->__toString(); + $this->view->hosts = User::getHosts(); } public function moveShowAction() diff --git a/application/forms/AddShow.php b/application/forms/AddShow.php index b0a2b83b6..3bece9530 100644 --- a/application/forms/AddShow.php +++ b/application/forms/AddShow.php @@ -91,6 +91,12 @@ class Application_Form_AddShow extends Zend_Form 'required' => false, )); + // Add end date element + $this->addElement('text', 'hosts_autocomplete', array( + 'label' => 'Type a Host:', + 'required' => false + )); + $options = array(); $hosts = User::getHosts(); @@ -98,7 +104,7 @@ class Application_Form_AddShow extends Zend_Form $options[$host['id']] = $host['login']; } - $hosts = new Zend_Form_Element_Multiselect('hosts'); + $hosts = new Zend_Form_Element_MultiCheckbox('hosts'); $hosts->setLabel('Hosts:') ->setMultiOptions($options) ->setRequired(true); diff --git a/application/models/Users.php b/application/models/Users.php index f37fd6966..631f9f1b1 100644 --- a/application/models/Users.php +++ b/application/models/Users.php @@ -11,11 +11,11 @@ class User { $this->_userId = $userId; } - public function getType(){ + public function getType() { return $this->userRole; } - public function getId(){ + public function getId() { return $this->_userId; } @@ -32,7 +32,7 @@ class User { $sql; - $sql_gen = "SELECT id, login, type FROM cc_subjs"; + $sql_gen = "SELECT id, login, type FROM cc_subjs "; $sql = $sql_gen; @@ -50,6 +50,8 @@ class User { $sql = $sql_gen ." WHERE ". $sql_type; } + + $sql = $sql . " ORDER BY login"; return $CC_DBC->GetAll($sql); } diff --git a/public/js/campcaster/schedule/schedule.js b/public/js/campcaster/schedule/schedule.js index 0f28c352c..a85ca6587 100644 --- a/public/js/campcaster/schedule/schedule.js +++ b/public/js/campcaster/schedule/schedule.js @@ -131,14 +131,20 @@ function schedulePlaylist() { } -function makeShowDialog(html) { +function autoSelect(event, ui) { + + $("#hosts-"+ui.item.value).attr("checked", "checked"); + event.preventDefault(); +} + +function makeShowDialog(json) { var dialog; //main jqueryUI dialog dialog = $('
'); - dialog.append(html); + dialog.append(json.form); var start = dialog.find("#start_date"); var end = dialog.find("#end_date"); @@ -146,6 +152,16 @@ function makeShowDialog(html) { createDateInput(start, startDpSelect); createDateInput(end, endDpSelect); + var auto = json.hosts.map(function(el) { + return {value: el.id, label: el.login}; + }); + + dialog.find("#hosts_autocomplete").autocomplete({ + source: auto, + select: autoSelect + }); + + dialog.dialog({ autoOpen: false, title: 'Add Show', @@ -203,7 +219,7 @@ function openShowDialog() { url = '/Schedule/add-show-dialog/format/json'; $.get(url, function(json){ - var dialog = makeShowDialog(json.form); + var dialog = makeShowDialog(json); dialog.dialog('open'); }); } From 1fc21819ccbe4dfd3f93c5970bf64658d29ecfe9 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 17 Dec 2010 17:56:01 -0500 Subject: [PATCH 3/5] simple form for adding a user to the database, only available for admin users. --- .zfproject.xml | 12 + application/configs/ACL.php | 6 +- application/configs/navigation.php | 11 +- application/controllers/LoginController.php | 10 +- application/controllers/UserController.php | 36 +++ .../controllers/plugins/Acl_plugin.php | 4 +- application/forms/AddUser.php | 60 +++++ application/models/Users.php | 12 + .../models/campcaster/map/CcSubjsTableMap.php | 15 +- .../models/campcaster/om/BaseCcAccess.php | 6 +- .../campcaster/om/BaseCcAccessQuery.php | 2 +- .../models/campcaster/om/BaseCcFiles.php | 6 +- .../models/campcaster/om/BaseCcFilesQuery.php | 2 +- .../models/campcaster/om/BaseCcPerms.php | 6 +- .../models/campcaster/om/BaseCcPermsQuery.php | 2 +- .../models/campcaster/om/BaseCcPlaylist.php | 6 +- .../campcaster/om/BaseCcPlaylistQuery.php | 2 +- .../models/campcaster/om/BaseCcPref.php | 6 +- .../models/campcaster/om/BaseCcPrefQuery.php | 2 +- .../models/campcaster/om/BaseCcSess.php | 6 +- .../models/campcaster/om/BaseCcSessQuery.php | 2 +- .../models/campcaster/om/BaseCcShowHosts.php | 6 +- .../campcaster/om/BaseCcShowHostsQuery.php | 2 +- .../models/campcaster/om/BaseCcSubjs.php | 206 +++++++++++------- .../models/campcaster/om/BaseCcSubjsPeer.php | 43 ++-- .../models/campcaster/om/BaseCcSubjsQuery.php | 174 ++++++++------- application/views/scripts/user/add-user.phtml | 3 + application/views/scripts/user/index.phtml | 1 + build/schema.xml | 15 +- build/sql/schema.sql | 3 +- 30 files changed, 445 insertions(+), 222 deletions(-) create mode 100644 application/controllers/UserController.php create mode 100644 application/forms/AddUser.php create mode 100644 application/views/scripts/user/add-user.phtml create mode 100644 application/views/scripts/user/index.phtml diff --git a/.zfproject.xml b/.zfproject.xml index aa444e92a..62dfcf68a 100644 --- a/.zfproject.xml +++ b/.zfproject.xml @@ -63,6 +63,10 @@ + + + + @@ -72,6 +76,7 @@ + @@ -198,6 +203,12 @@ + + + + + + @@ -239,6 +250,7 @@ + diff --git a/application/configs/ACL.php b/application/configs/ACL.php index 7803aa471..01d482666 100644 --- a/application/configs/ACL.php +++ b/application/configs/ACL.php @@ -10,6 +10,7 @@ $ccAcl->addRole(new Zend_Acl_Role('guest')) $ccAcl->add(new Zend_Acl_Resource('library')) ->add(new Zend_Acl_Resource('index')) + ->add(new Zend_Acl_Resource('user')) ->add(new Zend_Acl_Resource('error')) ->add(new Zend_Acl_Resource('login')) ->add(new Zend_Acl_Resource('playlist')) @@ -27,9 +28,12 @@ $ccAcl->allow('guest', 'index') ->allow('guest', 'api') ->allow('host', 'plupload') ->allow('host', 'playlist') - ->allow('host', 'schedule'); + ->allow('host', 'schedule') + ->allow('admin', 'user'); $aclPlugin = new Zend_Controller_Plugin_Acl($ccAcl); +Zend_View_Helper_Navigation_HelperAbstract::setDefaultAcl($ccAcl); + $front = Zend_Controller_Front::getInstance(); $front->registerPlugin($aclPlugin); diff --git a/application/configs/navigation.php b/application/configs/navigation.php index c2990f357..3500a5800 100644 --- a/application/configs/navigation.php +++ b/application/configs/navigation.php @@ -10,12 +10,18 @@ $pages = array( array( 'label' => 'Home', - 'title' => 'Go Home', 'module' => 'default', 'controller' => 'index', 'action' => 'index', 'order' => -100 // make sure home is the first page ), + array( + 'label' => 'Add User', + 'module' => 'default', + 'controller' => 'user', + 'action' => 'add-user', + 'resource' => 'user' + ), array( 'label' => 'Playlists', 'module' => 'default', @@ -62,7 +68,8 @@ $pages = array( 'label' => 'Schedule', 'module' => 'default', 'controller' => 'Schedule', - 'action' => 'index' + 'action' => 'index', + 'resource' => 'schedule' ), array( 'label' => 'Logout', diff --git a/application/controllers/LoginController.php b/application/controllers/LoginController.php index 0a41850b5..fa8c04cf8 100644 --- a/application/controllers/LoginController.php +++ b/application/controllers/LoginController.php @@ -30,25 +30,23 @@ class LoginController extends Zend_Controller_Action $authAdapter = $this->getAuthAdapter(); - # get the username and password from the form + //get the username and password from the form $username = $form->getValue('username'); $password = $form->getValue('password'); - # pass to the adapter the submitted username and password + //pass to the adapter the submitted username and password $authAdapter->setIdentity($username) ->setCredential($password); $auth = Zend_Auth::getInstance(); $result = $auth->authenticate($authAdapter); - # is the user a valid one? if($result->isValid()) { - # all info about this user from the login table - # omit only the password, we don't need that + //all info about this user from the login table omit only the password $userInfo = $authAdapter->getResultRowObject(null, 'password'); - # the default storage is a session with namespace Zend_Auth + //the default storage is a session with namespace Zend_Auth $authStorage = $auth->getStorage(); $authStorage->write($userInfo); diff --git a/application/controllers/UserController.php b/application/controllers/UserController.php new file mode 100644 index 000000000..f255dd600 --- /dev/null +++ b/application/controllers/UserController.php @@ -0,0 +1,36 @@ +getRequest(); + $form = new Application_Form_AddUser(); + + if ($request->isPost()) { + if ($form->isValid($request->getPost())) { + + $formdata = $form->getValues(); + User::addUser($formdata); + $form->reset(); + } + } + + $this->view->form = $form; + } + +} + + + diff --git a/application/controllers/plugins/Acl_plugin.php b/application/controllers/plugins/Acl_plugin.php index 2d7a5dc7d..ed607835c 100644 --- a/application/controllers/plugins/Acl_plugin.php +++ b/application/controllers/plugins/Acl_plugin.php @@ -116,7 +116,9 @@ class Zend_Controller_Plugin_Acl extends Zend_Controller_Plugin_Abstract else { $this->_roleName = "guest"; } - + + Zend_View_Helper_Navigation_HelperAbstract::setDefaultRole($this->_roleName); + $resourceName = ''; if ($request->getModuleName() != 'default') { diff --git a/application/forms/AddUser.php b/application/forms/AddUser.php new file mode 100644 index 000000000..5fa76dcdb --- /dev/null +++ b/application/forms/AddUser.php @@ -0,0 +1,60 @@ +addElement('text', 'login', array( + 'label' => 'Username:', + 'required' => true, + 'filters' => array('StringTrim'), + 'validators' => array('NotEmpty') + )); + + // Add password element + $this->addElement('text', 'password', array( + 'label' => 'Password:', + 'required' => true, + 'filters' => array('StringTrim'), + 'validators' => array('NotEmpty') + )); + + // Add first name element + $this->addElement('text', 'first_name', array( + 'label' => 'Firstname:', + 'required' => true, + 'filters' => array('StringTrim'), + 'validators' => array('NotEmpty') + )); + + // Add last name element + $this->addElement('text', 'last_name', array( + 'label' => 'Lastname:', + 'required' => true, + 'filters' => array('StringTrim'), + 'validators' => array('NotEmpty') + )); + + //Add type select + $this->addElement('select', 'type', array( + 'required' => true, + 'multiOptions' => array( + "A" => "admin", + "H" => "host", + "G" => "guest", + ), + )); + + // Add the submit button + $this->addElement('submit', 'submit', array( + 'ignore' => true, + 'label' => 'Submit', + )); + + } + + +} + diff --git a/application/models/Users.php b/application/models/Users.php index 631f9f1b1..198bda1f6 100644 --- a/application/models/Users.php +++ b/application/models/Users.php @@ -27,6 +27,18 @@ class User { return $this->_userRole === 'A'; } + public static function addUser($data) { + + $user = new CcSubjs(); + $user->setDbLogin($data['login']); + $user->setDbPass(md5($data['password'])); + $user->setDbFirstName($data['first_name']); + $user->setDbLastName($data['last_name']); + $user->setDbType($data['type']); + $user->save(); + + } + public static function getUsers($type=NULL) { global $CC_DBC; diff --git a/application/models/campcaster/map/CcSubjsTableMap.php b/application/models/campcaster/map/CcSubjsTableMap.php index 977e1b356..6f3bb474d 100644 --- a/application/models/campcaster/map/CcSubjsTableMap.php +++ b/application/models/campcaster/map/CcSubjsTableMap.php @@ -38,13 +38,14 @@ class CcSubjsTableMap extends TableMap { $this->setUseIdGenerator(true); $this->setPrimaryKeyMethodInfo('cc_subjs_id_seq'); // columns - $this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null); - $this->addColumn('LOGIN', 'Login', 'VARCHAR', true, 255, ''); - $this->addColumn('PASS', 'Pass', 'VARCHAR', true, 255, ''); - $this->addColumn('TYPE', 'Type', 'CHAR', true, 1, 'U'); - $this->addColumn('REALNAME', 'Realname', 'VARCHAR', true, 255, ''); - $this->addColumn('LASTLOGIN', 'Lastlogin', 'TIMESTAMP', false, null, null); - $this->addColumn('LASTFAIL', 'Lastfail', 'TIMESTAMP', false, null, null); + $this->addPrimaryKey('ID', 'DbId', 'INTEGER', true, null, null); + $this->addColumn('LOGIN', 'DbLogin', 'VARCHAR', true, 255, ''); + $this->addColumn('PASS', 'DbPass', 'VARCHAR', true, 255, ''); + $this->addColumn('TYPE', 'DbType', 'CHAR', true, 1, 'U'); + $this->addColumn('FIRST_NAME', 'DbFirstName', 'VARCHAR', true, 255, ''); + $this->addColumn('LAST_NAME', 'DbLastName', 'VARCHAR', true, 255, ''); + $this->addColumn('LASTLOGIN', 'DbLastlogin', 'TIMESTAMP', false, null, null); + $this->addColumn('LASTFAIL', 'DbLastfail', 'TIMESTAMP', false, null, null); // validators } // initialize() diff --git a/application/models/campcaster/om/BaseCcAccess.php b/application/models/campcaster/om/BaseCcAccess.php index 974682fed..47026e477 100644 --- a/application/models/campcaster/om/BaseCcAccess.php +++ b/application/models/campcaster/om/BaseCcAccess.php @@ -393,7 +393,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent $this->modifiedColumns[] = CcAccessPeer::OWNER; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -533,7 +533,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent public function ensureConsistency() { - if ($this->aCcSubjs !== null && $this->owner !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->owner !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -1137,7 +1137,7 @@ abstract class BaseCcAccess extends BaseObject implements Persistent if ($v === null) { $this->setOwner(NULL); } else { - $this->setOwner($v->getId()); + $this->setOwner($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcAccessQuery.php b/application/models/campcaster/om/BaseCcAccessQuery.php index d1e6b14c9..c1e93dbd7 100644 --- a/application/models/campcaster/om/BaseCcAccessQuery.php +++ b/application/models/campcaster/om/BaseCcAccessQuery.php @@ -405,7 +405,7 @@ abstract class BaseCcAccessQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcAccessPeer::OWNER, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcAccessPeer::OWNER, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcFiles.php b/application/models/campcaster/om/BaseCcFiles.php index 94d732f04..06f5dd86b 100644 --- a/application/models/campcaster/om/BaseCcFiles.php +++ b/application/models/campcaster/om/BaseCcFiles.php @@ -1167,7 +1167,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent $this->modifiedColumns[] = CcFilesPeer::EDITEDBY; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -2273,7 +2273,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent public function ensureConsistency() { - if ($this->aCcSubjs !== null && $this->editedby !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->editedby !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -3359,7 +3359,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent if ($v === null) { $this->setEditedby(NULL); } else { - $this->setEditedby($v->getId()); + $this->setEditedby($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcFilesQuery.php b/application/models/campcaster/om/BaseCcFilesQuery.php index 03136febe..1dc7400cb 100644 --- a/application/models/campcaster/om/BaseCcFilesQuery.php +++ b/application/models/campcaster/om/BaseCcFilesQuery.php @@ -1597,7 +1597,7 @@ abstract class BaseCcFilesQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcFilesPeer::EDITEDBY, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcFilesPeer::EDITEDBY, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcPerms.php b/application/models/campcaster/om/BaseCcPerms.php index a7398920f..632dc2951 100644 --- a/application/models/campcaster/om/BaseCcPerms.php +++ b/application/models/campcaster/om/BaseCcPerms.php @@ -160,7 +160,7 @@ abstract class BaseCcPerms extends BaseObject implements Persistent $this->modifiedColumns[] = CcPermsPeer::SUBJ; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -295,7 +295,7 @@ abstract class BaseCcPerms extends BaseObject implements Persistent public function ensureConsistency() { - if ($this->aCcSubjs !== null && $this->subj !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->subj !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -851,7 +851,7 @@ abstract class BaseCcPerms extends BaseObject implements Persistent if ($v === null) { $this->setSubj(NULL); } else { - $this->setSubj($v->getId()); + $this->setSubj($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcPermsQuery.php b/application/models/campcaster/om/BaseCcPermsQuery.php index f78dfb99e..3e7433ded 100644 --- a/application/models/campcaster/om/BaseCcPermsQuery.php +++ b/application/models/campcaster/om/BaseCcPermsQuery.php @@ -283,7 +283,7 @@ abstract class BaseCcPermsQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcPermsPeer::SUBJ, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcPermsPeer::SUBJ, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcPlaylist.php b/application/models/campcaster/om/BaseCcPlaylist.php index 295060730..87eed9c5f 100644 --- a/application/models/campcaster/om/BaseCcPlaylist.php +++ b/application/models/campcaster/om/BaseCcPlaylist.php @@ -322,7 +322,7 @@ abstract class BaseCcPlaylist extends BaseObject implements Persistent $this->modifiedColumns[] = CcPlaylistPeer::EDITEDBY; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -501,7 +501,7 @@ abstract class BaseCcPlaylist extends BaseObject implements Persistent public function ensureConsistency() { - if ($this->aCcSubjs !== null && $this->editedby !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->editedby !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -1127,7 +1127,7 @@ abstract class BaseCcPlaylist extends BaseObject implements Persistent if ($v === null) { $this->setDbEditedby(NULL); } else { - $this->setDbEditedby($v->getId()); + $this->setDbEditedby($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcPlaylistQuery.php b/application/models/campcaster/om/BaseCcPlaylistQuery.php index 237be4312..a3b0b88a2 100644 --- a/application/models/campcaster/om/BaseCcPlaylistQuery.php +++ b/application/models/campcaster/om/BaseCcPlaylistQuery.php @@ -374,7 +374,7 @@ abstract class BaseCcPlaylistQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcPlaylistPeer::EDITEDBY, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcPlaylistPeer::EDITEDBY, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcPref.php b/application/models/campcaster/om/BaseCcPref.php index d1f07c596..83e33529d 100644 --- a/application/models/campcaster/om/BaseCcPref.php +++ b/application/models/campcaster/om/BaseCcPref.php @@ -144,7 +144,7 @@ abstract class BaseCcPref extends BaseObject implements Persistent $this->modifiedColumns[] = CcPrefPeer::SUBJID; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -258,7 +258,7 @@ abstract class BaseCcPref extends BaseObject implements Persistent public function ensureConsistency() { - if ($this->aCcSubjs !== null && $this->subjid !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->subjid !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -812,7 +812,7 @@ abstract class BaseCcPref extends BaseObject implements Persistent if ($v === null) { $this->setSubjid(NULL); } else { - $this->setSubjid($v->getId()); + $this->setSubjid($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcPrefQuery.php b/application/models/campcaster/om/BaseCcPrefQuery.php index e85c52a36..a079da89d 100644 --- a/application/models/campcaster/om/BaseCcPrefQuery.php +++ b/application/models/campcaster/om/BaseCcPrefQuery.php @@ -248,7 +248,7 @@ abstract class BaseCcPrefQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcPrefPeer::SUBJID, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcPrefPeer::SUBJID, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcSess.php b/application/models/campcaster/om/BaseCcSess.php index a68aa8e12..11c94f696 100644 --- a/application/models/campcaster/om/BaseCcSess.php +++ b/application/models/campcaster/om/BaseCcSess.php @@ -167,7 +167,7 @@ abstract class BaseCcSess extends BaseObject implements Persistent $this->modifiedColumns[] = CcSessPeer::USERID; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -310,7 +310,7 @@ abstract class BaseCcSess extends BaseObject implements Persistent public function ensureConsistency() { - if ($this->aCcSubjs !== null && $this->userid !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->userid !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -856,7 +856,7 @@ abstract class BaseCcSess extends BaseObject implements Persistent if ($v === null) { $this->setUserid(NULL); } else { - $this->setUserid($v->getId()); + $this->setUserid($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcSessQuery.php b/application/models/campcaster/om/BaseCcSessQuery.php index f2462c695..97aef6a34 100644 --- a/application/models/campcaster/om/BaseCcSessQuery.php +++ b/application/models/campcaster/om/BaseCcSessQuery.php @@ -262,7 +262,7 @@ abstract class BaseCcSessQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcSessPeer::USERID, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcSessPeer::USERID, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcShowHosts.php b/application/models/campcaster/om/BaseCcShowHosts.php index 8e9fe56c5..68008cd54 100644 --- a/application/models/campcaster/om/BaseCcShowHosts.php +++ b/application/models/campcaster/om/BaseCcShowHosts.php @@ -157,7 +157,7 @@ abstract class BaseCcShowHosts extends BaseObject implements Persistent $this->modifiedColumns[] = CcShowHostsPeer::SUBJS_ID; } - if ($this->aCcSubjs !== null && $this->aCcSubjs->getId() !== $v) { + if ($this->aCcSubjs !== null && $this->aCcSubjs->getDbId() !== $v) { $this->aCcSubjs = null; } @@ -233,7 +233,7 @@ abstract class BaseCcShowHosts extends BaseObject implements Persistent if ($this->aCcShow !== null && $this->show_id !== $this->aCcShow->getDbId()) { $this->aCcShow = null; } - if ($this->aCcSubjs !== null && $this->subjs_id !== $this->aCcSubjs->getId()) { + if ($this->aCcSubjs !== null && $this->subjs_id !== $this->aCcSubjs->getDbId()) { $this->aCcSubjs = null; } } // ensureConsistency @@ -843,7 +843,7 @@ abstract class BaseCcShowHosts extends BaseObject implements Persistent if ($v === null) { $this->setDbHost(NULL); } else { - $this->setDbHost($v->getId()); + $this->setDbHost($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcShowHostsQuery.php b/application/models/campcaster/om/BaseCcShowHostsQuery.php index 3294ccc3c..4f365ed61 100644 --- a/application/models/campcaster/om/BaseCcShowHostsQuery.php +++ b/application/models/campcaster/om/BaseCcShowHostsQuery.php @@ -299,7 +299,7 @@ abstract class BaseCcShowHostsQuery extends ModelCriteria public function filterByCcSubjs($ccSubjs, $comparison = null) { return $this - ->addUsingAlias(CcShowHostsPeer::SUBJS_ID, $ccSubjs->getId(), $comparison); + ->addUsingAlias(CcShowHostsPeer::SUBJS_ID, $ccSubjs->getDbId(), $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcSubjs.php b/application/models/campcaster/om/BaseCcSubjs.php index 5781ac4da..fc667ebb9 100644 --- a/application/models/campcaster/om/BaseCcSubjs.php +++ b/application/models/campcaster/om/BaseCcSubjs.php @@ -52,11 +52,18 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent protected $type; /** - * The value for the realname field. + * The value for the first_name field. * Note: this column has a database default value of: '' * @var string */ - protected $realname; + protected $first_name; + + /** + * The value for the last_name field. + * Note: this column has a database default value of: '' + * @var string + */ + protected $last_name; /** * The value for the lastlogin field. @@ -130,7 +137,8 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent $this->login = ''; $this->pass = ''; $this->type = 'U'; - $this->realname = ''; + $this->first_name = ''; + $this->last_name = ''; } /** @@ -148,7 +156,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * * @return int */ - public function getId() + public function getDbId() { return $this->id; } @@ -158,7 +166,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * * @return string */ - public function getLogin() + public function getDbLogin() { return $this->login; } @@ -168,7 +176,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * * @return string */ - public function getPass() + public function getDbPass() { return $this->pass; } @@ -178,19 +186,29 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * * @return string */ - public function getType() + public function getDbType() { return $this->type; } /** - * Get the [realname] column value. + * Get the [first_name] column value. * * @return string */ - public function getRealname() + public function getDbFirstName() { - return $this->realname; + return $this->first_name; + } + + /** + * Get the [last_name] column value. + * + * @return string + */ + public function getDbLastName() + { + return $this->last_name; } /** @@ -202,7 +220,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * @return mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL * @throws PropelException - if unable to parse/validate the date/time value. */ - public function getLastlogin($format = 'Y-m-d H:i:s') + public function getDbLastlogin($format = 'Y-m-d H:i:s') { if ($this->lastlogin === null) { return null; @@ -235,7 +253,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * @return mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL * @throws PropelException - if unable to parse/validate the date/time value. */ - public function getLastfail($format = 'Y-m-d H:i:s') + public function getDbLastfail($format = 'Y-m-d H:i:s') { if ($this->lastfail === null) { return null; @@ -265,7 +283,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * @param int $v new value * @return CcSubjs The current object (for fluent API support) */ - public function setId($v) + public function setDbId($v) { if ($v !== null) { $v = (int) $v; @@ -277,7 +295,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent } return $this; - } // setId() + } // setDbId() /** * Set the value of [login] column. @@ -285,7 +303,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * @param string $v new value * @return CcSubjs The current object (for fluent API support) */ - public function setLogin($v) + public function setDbLogin($v) { if ($v !== null) { $v = (string) $v; @@ -297,7 +315,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent } return $this; - } // setLogin() + } // setDbLogin() /** * Set the value of [pass] column. @@ -305,7 +323,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * @param string $v new value * @return CcSubjs The current object (for fluent API support) */ - public function setPass($v) + public function setDbPass($v) { if ($v !== null) { $v = (string) $v; @@ -317,7 +335,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent } return $this; - } // setPass() + } // setDbPass() /** * Set the value of [type] column. @@ -325,7 +343,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * @param string $v new value * @return CcSubjs The current object (for fluent API support) */ - public function setType($v) + public function setDbType($v) { if ($v !== null) { $v = (string) $v; @@ -337,27 +355,47 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent } return $this; - } // setType() + } // setDbType() /** - * Set the value of [realname] column. + * Set the value of [first_name] column. * * @param string $v new value * @return CcSubjs The current object (for fluent API support) */ - public function setRealname($v) + public function setDbFirstName($v) { if ($v !== null) { $v = (string) $v; } - if ($this->realname !== $v || $this->isNew()) { - $this->realname = $v; - $this->modifiedColumns[] = CcSubjsPeer::REALNAME; + if ($this->first_name !== $v || $this->isNew()) { + $this->first_name = $v; + $this->modifiedColumns[] = CcSubjsPeer::FIRST_NAME; } return $this; - } // setRealname() + } // setDbFirstName() + + /** + * Set the value of [last_name] column. + * + * @param string $v new value + * @return CcSubjs The current object (for fluent API support) + */ + public function setDbLastName($v) + { + if ($v !== null) { + $v = (string) $v; + } + + if ($this->last_name !== $v || $this->isNew()) { + $this->last_name = $v; + $this->modifiedColumns[] = CcSubjsPeer::LAST_NAME; + } + + return $this; + } // setDbLastName() /** * Sets the value of [lastlogin] column to a normalized version of the date/time value specified. @@ -366,7 +404,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * be treated as NULL for temporal objects. * @return CcSubjs The current object (for fluent API support) */ - public function setLastlogin($v) + public function setDbLastlogin($v) { // we treat '' as NULL for temporal objects because DateTime('') == DateTime('now') // -- which is unexpected, to say the least. @@ -406,7 +444,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent } // if either are not null return $this; - } // setLastlogin() + } // setDbLastlogin() /** * Sets the value of [lastfail] column to a normalized version of the date/time value specified. @@ -415,7 +453,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent * be treated as NULL for temporal objects. * @return CcSubjs The current object (for fluent API support) */ - public function setLastfail($v) + public function setDbLastfail($v) { // we treat '' as NULL for temporal objects because DateTime('') == DateTime('now') // -- which is unexpected, to say the least. @@ -455,7 +493,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent } // if either are not null return $this; - } // setLastfail() + } // setDbLastfail() /** * Indicates whether the columns in this object are only set to default values. @@ -479,7 +517,11 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent return false; } - if ($this->realname !== '') { + if ($this->first_name !== '') { + return false; + } + + if ($this->last_name !== '') { return false; } @@ -509,9 +551,10 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent $this->login = ($row[$startcol + 1] !== null) ? (string) $row[$startcol + 1] : null; $this->pass = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null; $this->type = ($row[$startcol + 3] !== null) ? (string) $row[$startcol + 3] : null; - $this->realname = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null; - $this->lastlogin = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null; - $this->lastfail = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null; + $this->first_name = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null; + $this->last_name = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null; + $this->lastlogin = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null; + $this->lastfail = ($row[$startcol + 7] !== null) ? (string) $row[$startcol + 7] : null; $this->resetModified(); $this->setNew(false); @@ -520,7 +563,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent $this->ensureConsistency(); } - return $startcol + 7; // 7 = CcSubjsPeer::NUM_COLUMNS - CcSubjsPeer::NUM_LAZY_LOAD_COLUMNS). + return $startcol + 8; // 8 = CcSubjsPeer::NUM_COLUMNS - CcSubjsPeer::NUM_LAZY_LOAD_COLUMNS). } catch (Exception $e) { throw new PropelException("Error populating CcSubjs object", $e); @@ -720,7 +763,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent $pk = BasePeer::doInsert($criteria, $con); $affectedRows = 1; - $this->setId($pk); //[IMV] update autoincrement primary key + $this->setDbId($pk); //[IMV] update autoincrement primary key $this->setNew(false); } else { $affectedRows = CcSubjsPeer::doUpdate($this, $con); @@ -946,25 +989,28 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent { switch($pos) { case 0: - return $this->getId(); + return $this->getDbId(); break; case 1: - return $this->getLogin(); + return $this->getDbLogin(); break; case 2: - return $this->getPass(); + return $this->getDbPass(); break; case 3: - return $this->getType(); + return $this->getDbType(); break; case 4: - return $this->getRealname(); + return $this->getDbFirstName(); break; case 5: - return $this->getLastlogin(); + return $this->getDbLastName(); break; case 6: - return $this->getLastfail(); + return $this->getDbLastlogin(); + break; + case 7: + return $this->getDbLastfail(); break; default: return null; @@ -989,13 +1035,14 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent { $keys = CcSubjsPeer::getFieldNames($keyType); $result = array( - $keys[0] => $this->getId(), - $keys[1] => $this->getLogin(), - $keys[2] => $this->getPass(), - $keys[3] => $this->getType(), - $keys[4] => $this->getRealname(), - $keys[5] => $this->getLastlogin(), - $keys[6] => $this->getLastfail(), + $keys[0] => $this->getDbId(), + $keys[1] => $this->getDbLogin(), + $keys[2] => $this->getDbPass(), + $keys[3] => $this->getDbType(), + $keys[4] => $this->getDbFirstName(), + $keys[5] => $this->getDbLastName(), + $keys[6] => $this->getDbLastlogin(), + $keys[7] => $this->getDbLastfail(), ); return $result; } @@ -1028,25 +1075,28 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent { switch($pos) { case 0: - $this->setId($value); + $this->setDbId($value); break; case 1: - $this->setLogin($value); + $this->setDbLogin($value); break; case 2: - $this->setPass($value); + $this->setDbPass($value); break; case 3: - $this->setType($value); + $this->setDbType($value); break; case 4: - $this->setRealname($value); + $this->setDbFirstName($value); break; case 5: - $this->setLastlogin($value); + $this->setDbLastName($value); break; case 6: - $this->setLastfail($value); + $this->setDbLastlogin($value); + break; + case 7: + $this->setDbLastfail($value); break; } // switch() } @@ -1072,13 +1122,14 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent { $keys = CcSubjsPeer::getFieldNames($keyType); - if (array_key_exists($keys[0], $arr)) $this->setId($arr[$keys[0]]); - if (array_key_exists($keys[1], $arr)) $this->setLogin($arr[$keys[1]]); - if (array_key_exists($keys[2], $arr)) $this->setPass($arr[$keys[2]]); - if (array_key_exists($keys[3], $arr)) $this->setType($arr[$keys[3]]); - if (array_key_exists($keys[4], $arr)) $this->setRealname($arr[$keys[4]]); - if (array_key_exists($keys[5], $arr)) $this->setLastlogin($arr[$keys[5]]); - if (array_key_exists($keys[6], $arr)) $this->setLastfail($arr[$keys[6]]); + if (array_key_exists($keys[0], $arr)) $this->setDbId($arr[$keys[0]]); + if (array_key_exists($keys[1], $arr)) $this->setDbLogin($arr[$keys[1]]); + if (array_key_exists($keys[2], $arr)) $this->setDbPass($arr[$keys[2]]); + if (array_key_exists($keys[3], $arr)) $this->setDbType($arr[$keys[3]]); + if (array_key_exists($keys[4], $arr)) $this->setDbFirstName($arr[$keys[4]]); + if (array_key_exists($keys[5], $arr)) $this->setDbLastName($arr[$keys[5]]); + if (array_key_exists($keys[6], $arr)) $this->setDbLastlogin($arr[$keys[6]]); + if (array_key_exists($keys[7], $arr)) $this->setDbLastfail($arr[$keys[7]]); } /** @@ -1094,7 +1145,8 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent if ($this->isColumnModified(CcSubjsPeer::LOGIN)) $criteria->add(CcSubjsPeer::LOGIN, $this->login); if ($this->isColumnModified(CcSubjsPeer::PASS)) $criteria->add(CcSubjsPeer::PASS, $this->pass); if ($this->isColumnModified(CcSubjsPeer::TYPE)) $criteria->add(CcSubjsPeer::TYPE, $this->type); - if ($this->isColumnModified(CcSubjsPeer::REALNAME)) $criteria->add(CcSubjsPeer::REALNAME, $this->realname); + if ($this->isColumnModified(CcSubjsPeer::FIRST_NAME)) $criteria->add(CcSubjsPeer::FIRST_NAME, $this->first_name); + if ($this->isColumnModified(CcSubjsPeer::LAST_NAME)) $criteria->add(CcSubjsPeer::LAST_NAME, $this->last_name); if ($this->isColumnModified(CcSubjsPeer::LASTLOGIN)) $criteria->add(CcSubjsPeer::LASTLOGIN, $this->lastlogin); if ($this->isColumnModified(CcSubjsPeer::LASTFAIL)) $criteria->add(CcSubjsPeer::LASTFAIL, $this->lastfail); @@ -1123,7 +1175,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent */ public function getPrimaryKey() { - return $this->getId(); + return $this->getDbId(); } /** @@ -1134,7 +1186,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent */ public function setPrimaryKey($key) { - $this->setId($key); + $this->setDbId($key); } /** @@ -1143,7 +1195,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent */ public function isPrimaryKeyNull() { - return null === $this->getId(); + return null === $this->getDbId(); } /** @@ -1158,12 +1210,13 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent */ public function copyInto($copyObj, $deepCopy = false) { - $copyObj->setLogin($this->login); - $copyObj->setPass($this->pass); - $copyObj->setType($this->type); - $copyObj->setRealname($this->realname); - $copyObj->setLastlogin($this->lastlogin); - $copyObj->setLastfail($this->lastfail); + $copyObj->setDbLogin($this->login); + $copyObj->setDbPass($this->pass); + $copyObj->setDbType($this->type); + $copyObj->setDbFirstName($this->first_name); + $copyObj->setDbLastName($this->last_name); + $copyObj->setDbLastlogin($this->lastlogin); + $copyObj->setDbLastfail($this->lastfail); if ($deepCopy) { // important: temporarily setNew(false) because this affects the behavior of @@ -1216,7 +1269,7 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent $copyObj->setNew(true); - $copyObj->setId(NULL); // this is a auto-increment column, so set to default value + $copyObj->setDbId(NULL); // this is a auto-increment column, so set to default value } /** @@ -2054,7 +2107,8 @@ abstract class BaseCcSubjs extends BaseObject implements Persistent $this->login = null; $this->pass = null; $this->type = null; - $this->realname = null; + $this->first_name = null; + $this->last_name = null; $this->lastlogin = null; $this->lastfail = null; $this->alreadyInSave = false; diff --git a/application/models/campcaster/om/BaseCcSubjsPeer.php b/application/models/campcaster/om/BaseCcSubjsPeer.php index 0b90fa6fa..d0b4a43f3 100644 --- a/application/models/campcaster/om/BaseCcSubjsPeer.php +++ b/application/models/campcaster/om/BaseCcSubjsPeer.php @@ -26,7 +26,7 @@ abstract class BaseCcSubjsPeer { const TM_CLASS = 'CcSubjsTableMap'; /** The total number of columns. */ - const NUM_COLUMNS = 7; + const NUM_COLUMNS = 8; /** The number of lazy-loaded columns. */ const NUM_LAZY_LOAD_COLUMNS = 0; @@ -43,8 +43,11 @@ abstract class BaseCcSubjsPeer { /** the column name for the TYPE field */ const TYPE = 'cc_subjs.TYPE'; - /** the column name for the REALNAME field */ - const REALNAME = 'cc_subjs.REALNAME'; + /** the column name for the FIRST_NAME field */ + const FIRST_NAME = 'cc_subjs.FIRST_NAME'; + + /** the column name for the LAST_NAME field */ + const LAST_NAME = 'cc_subjs.LAST_NAME'; /** the column name for the LASTLOGIN field */ const LASTLOGIN = 'cc_subjs.LASTLOGIN'; @@ -68,12 +71,12 @@ abstract class BaseCcSubjsPeer { * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id' */ private static $fieldNames = array ( - BasePeer::TYPE_PHPNAME => array ('Id', 'Login', 'Pass', 'Type', 'Realname', 'Lastlogin', 'Lastfail', ), - BasePeer::TYPE_STUDLYPHPNAME => array ('id', 'login', 'pass', 'type', 'realname', 'lastlogin', 'lastfail', ), - BasePeer::TYPE_COLNAME => array (self::ID, self::LOGIN, self::PASS, self::TYPE, self::REALNAME, self::LASTLOGIN, self::LASTFAIL, ), - BasePeer::TYPE_RAW_COLNAME => array ('ID', 'LOGIN', 'PASS', 'TYPE', 'REALNAME', 'LASTLOGIN', 'LASTFAIL', ), - BasePeer::TYPE_FIELDNAME => array ('id', 'login', 'pass', 'type', 'realname', 'lastlogin', 'lastfail', ), - BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, ) + BasePeer::TYPE_PHPNAME => array ('DbId', 'DbLogin', 'DbPass', 'DbType', 'DbFirstName', 'DbLastName', 'DbLastlogin', 'DbLastfail', ), + BasePeer::TYPE_STUDLYPHPNAME => array ('dbId', 'dbLogin', 'dbPass', 'dbType', 'dbFirstName', 'dbLastName', 'dbLastlogin', 'dbLastfail', ), + BasePeer::TYPE_COLNAME => array (self::ID, self::LOGIN, self::PASS, self::TYPE, self::FIRST_NAME, self::LAST_NAME, self::LASTLOGIN, self::LASTFAIL, ), + BasePeer::TYPE_RAW_COLNAME => array ('ID', 'LOGIN', 'PASS', 'TYPE', 'FIRST_NAME', 'LAST_NAME', 'LASTLOGIN', 'LASTFAIL', ), + BasePeer::TYPE_FIELDNAME => array ('id', 'login', 'pass', 'type', 'first_name', 'last_name', 'lastlogin', 'lastfail', ), + BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, ) ); /** @@ -83,12 +86,12 @@ abstract class BaseCcSubjsPeer { * e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0 */ private static $fieldKeys = array ( - BasePeer::TYPE_PHPNAME => array ('Id' => 0, 'Login' => 1, 'Pass' => 2, 'Type' => 3, 'Realname' => 4, 'Lastlogin' => 5, 'Lastfail' => 6, ), - BasePeer::TYPE_STUDLYPHPNAME => array ('id' => 0, 'login' => 1, 'pass' => 2, 'type' => 3, 'realname' => 4, 'lastlogin' => 5, 'lastfail' => 6, ), - BasePeer::TYPE_COLNAME => array (self::ID => 0, self::LOGIN => 1, self::PASS => 2, self::TYPE => 3, self::REALNAME => 4, self::LASTLOGIN => 5, self::LASTFAIL => 6, ), - BasePeer::TYPE_RAW_COLNAME => array ('ID' => 0, 'LOGIN' => 1, 'PASS' => 2, 'TYPE' => 3, 'REALNAME' => 4, 'LASTLOGIN' => 5, 'LASTFAIL' => 6, ), - BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'login' => 1, 'pass' => 2, 'type' => 3, 'realname' => 4, 'lastlogin' => 5, 'lastfail' => 6, ), - BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, ) + BasePeer::TYPE_PHPNAME => array ('DbId' => 0, 'DbLogin' => 1, 'DbPass' => 2, 'DbType' => 3, 'DbFirstName' => 4, 'DbLastName' => 5, 'DbLastlogin' => 6, 'DbLastfail' => 7, ), + BasePeer::TYPE_STUDLYPHPNAME => array ('dbId' => 0, 'dbLogin' => 1, 'dbPass' => 2, 'dbType' => 3, 'dbFirstName' => 4, 'dbLastName' => 5, 'dbLastlogin' => 6, 'dbLastfail' => 7, ), + BasePeer::TYPE_COLNAME => array (self::ID => 0, self::LOGIN => 1, self::PASS => 2, self::TYPE => 3, self::FIRST_NAME => 4, self::LAST_NAME => 5, self::LASTLOGIN => 6, self::LASTFAIL => 7, ), + BasePeer::TYPE_RAW_COLNAME => array ('ID' => 0, 'LOGIN' => 1, 'PASS' => 2, 'TYPE' => 3, 'FIRST_NAME' => 4, 'LAST_NAME' => 5, 'LASTLOGIN' => 6, 'LASTFAIL' => 7, ), + BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'login' => 1, 'pass' => 2, 'type' => 3, 'first_name' => 4, 'last_name' => 5, 'lastlogin' => 6, 'lastfail' => 7, ), + BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, ) ); /** @@ -164,7 +167,8 @@ abstract class BaseCcSubjsPeer { $criteria->addSelectColumn(CcSubjsPeer::LOGIN); $criteria->addSelectColumn(CcSubjsPeer::PASS); $criteria->addSelectColumn(CcSubjsPeer::TYPE); - $criteria->addSelectColumn(CcSubjsPeer::REALNAME); + $criteria->addSelectColumn(CcSubjsPeer::FIRST_NAME); + $criteria->addSelectColumn(CcSubjsPeer::LAST_NAME); $criteria->addSelectColumn(CcSubjsPeer::LASTLOGIN); $criteria->addSelectColumn(CcSubjsPeer::LASTFAIL); } else { @@ -172,7 +176,8 @@ abstract class BaseCcSubjsPeer { $criteria->addSelectColumn($alias . '.LOGIN'); $criteria->addSelectColumn($alias . '.PASS'); $criteria->addSelectColumn($alias . '.TYPE'); - $criteria->addSelectColumn($alias . '.REALNAME'); + $criteria->addSelectColumn($alias . '.FIRST_NAME'); + $criteria->addSelectColumn($alias . '.LAST_NAME'); $criteria->addSelectColumn($alias . '.LASTLOGIN'); $criteria->addSelectColumn($alias . '.LASTFAIL'); } @@ -299,7 +304,7 @@ abstract class BaseCcSubjsPeer { { if (Propel::isInstancePoolingEnabled()) { if ($key === null) { - $key = (string) $obj->getId(); + $key = (string) $obj->getDbId(); } // if key === null self::$instances[$key] = $obj; } @@ -319,7 +324,7 @@ abstract class BaseCcSubjsPeer { { if (Propel::isInstancePoolingEnabled() && $value !== null) { if (is_object($value) && $value instanceof CcSubjs) { - $key = (string) $value->getId(); + $key = (string) $value->getDbId(); } elseif (is_scalar($value)) { // assume we've been passed a primary key $key = (string) $value; diff --git a/application/models/campcaster/om/BaseCcSubjsQuery.php b/application/models/campcaster/om/BaseCcSubjsQuery.php index 41191a74a..8b055f6d1 100644 --- a/application/models/campcaster/om/BaseCcSubjsQuery.php +++ b/application/models/campcaster/om/BaseCcSubjsQuery.php @@ -6,21 +6,23 @@ * * * - * @method CcSubjsQuery orderById($order = Criteria::ASC) Order by the id column - * @method CcSubjsQuery orderByLogin($order = Criteria::ASC) Order by the login column - * @method CcSubjsQuery orderByPass($order = Criteria::ASC) Order by the pass column - * @method CcSubjsQuery orderByType($order = Criteria::ASC) Order by the type column - * @method CcSubjsQuery orderByRealname($order = Criteria::ASC) Order by the realname column - * @method CcSubjsQuery orderByLastlogin($order = Criteria::ASC) Order by the lastlogin column - * @method CcSubjsQuery orderByLastfail($order = Criteria::ASC) Order by the lastfail column + * @method CcSubjsQuery orderByDbId($order = Criteria::ASC) Order by the id column + * @method CcSubjsQuery orderByDbLogin($order = Criteria::ASC) Order by the login column + * @method CcSubjsQuery orderByDbPass($order = Criteria::ASC) Order by the pass column + * @method CcSubjsQuery orderByDbType($order = Criteria::ASC) Order by the type column + * @method CcSubjsQuery orderByDbFirstName($order = Criteria::ASC) Order by the first_name column + * @method CcSubjsQuery orderByDbLastName($order = Criteria::ASC) Order by the last_name column + * @method CcSubjsQuery orderByDbLastlogin($order = Criteria::ASC) Order by the lastlogin column + * @method CcSubjsQuery orderByDbLastfail($order = Criteria::ASC) Order by the lastfail column * - * @method CcSubjsQuery groupById() Group by the id column - * @method CcSubjsQuery groupByLogin() Group by the login column - * @method CcSubjsQuery groupByPass() Group by the pass column - * @method CcSubjsQuery groupByType() Group by the type column - * @method CcSubjsQuery groupByRealname() Group by the realname column - * @method CcSubjsQuery groupByLastlogin() Group by the lastlogin column - * @method CcSubjsQuery groupByLastfail() Group by the lastfail column + * @method CcSubjsQuery groupByDbId() Group by the id column + * @method CcSubjsQuery groupByDbLogin() Group by the login column + * @method CcSubjsQuery groupByDbPass() Group by the pass column + * @method CcSubjsQuery groupByDbType() Group by the type column + * @method CcSubjsQuery groupByDbFirstName() Group by the first_name column + * @method CcSubjsQuery groupByDbLastName() Group by the last_name column + * @method CcSubjsQuery groupByDbLastlogin() Group by the lastlogin column + * @method CcSubjsQuery groupByDbLastfail() Group by the lastfail column * * @method CcSubjsQuery leftJoin($relation) Adds a LEFT JOIN clause to the query * @method CcSubjsQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query @@ -57,21 +59,23 @@ * @method CcSubjs findOne(PropelPDO $con = null) Return the first CcSubjs matching the query * @method CcSubjs findOneOrCreate(PropelPDO $con = null) Return the first CcSubjs matching the query, or a new CcSubjs object populated from the query conditions when no match is found * - * @method CcSubjs findOneById(int $id) Return the first CcSubjs filtered by the id column - * @method CcSubjs findOneByLogin(string $login) Return the first CcSubjs filtered by the login column - * @method CcSubjs findOneByPass(string $pass) Return the first CcSubjs filtered by the pass column - * @method CcSubjs findOneByType(string $type) Return the first CcSubjs filtered by the type column - * @method CcSubjs findOneByRealname(string $realname) Return the first CcSubjs filtered by the realname column - * @method CcSubjs findOneByLastlogin(string $lastlogin) Return the first CcSubjs filtered by the lastlogin column - * @method CcSubjs findOneByLastfail(string $lastfail) Return the first CcSubjs filtered by the lastfail column + * @method CcSubjs findOneByDbId(int $id) Return the first CcSubjs filtered by the id column + * @method CcSubjs findOneByDbLogin(string $login) Return the first CcSubjs filtered by the login column + * @method CcSubjs findOneByDbPass(string $pass) Return the first CcSubjs filtered by the pass column + * @method CcSubjs findOneByDbType(string $type) Return the first CcSubjs filtered by the type column + * @method CcSubjs findOneByDbFirstName(string $first_name) Return the first CcSubjs filtered by the first_name column + * @method CcSubjs findOneByDbLastName(string $last_name) Return the first CcSubjs filtered by the last_name column + * @method CcSubjs findOneByDbLastlogin(string $lastlogin) Return the first CcSubjs filtered by the lastlogin column + * @method CcSubjs findOneByDbLastfail(string $lastfail) Return the first CcSubjs filtered by the lastfail column * - * @method array findById(int $id) Return CcSubjs objects filtered by the id column - * @method array findByLogin(string $login) Return CcSubjs objects filtered by the login column - * @method array findByPass(string $pass) Return CcSubjs objects filtered by the pass column - * @method array findByType(string $type) Return CcSubjs objects filtered by the type column - * @method array findByRealname(string $realname) Return CcSubjs objects filtered by the realname column - * @method array findByLastlogin(string $lastlogin) Return CcSubjs objects filtered by the lastlogin column - * @method array findByLastfail(string $lastfail) Return CcSubjs objects filtered by the lastfail column + * @method array findByDbId(int $id) Return CcSubjs objects filtered by the id column + * @method array findByDbLogin(string $login) Return CcSubjs objects filtered by the login column + * @method array findByDbPass(string $pass) Return CcSubjs objects filtered by the pass column + * @method array findByDbType(string $type) Return CcSubjs objects filtered by the type column + * @method array findByDbFirstName(string $first_name) Return CcSubjs objects filtered by the first_name column + * @method array findByDbLastName(string $last_name) Return CcSubjs objects filtered by the last_name column + * @method array findByDbLastlogin(string $lastlogin) Return CcSubjs objects filtered by the lastlogin column + * @method array findByDbLastfail(string $lastfail) Return CcSubjs objects filtered by the lastfail column * * @package propel.generator.campcaster.om */ @@ -184,127 +188,149 @@ abstract class BaseCcSubjsQuery extends ModelCriteria /** * Filter the query on the id column * - * @param int|array $id The value to use as filter. + * @param int|array $dbId The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterById($id = null, $comparison = null) + public function filterByDbId($dbId = null, $comparison = null) { - if (is_array($id) && null === $comparison) { + if (is_array($dbId) && null === $comparison) { $comparison = Criteria::IN; } - return $this->addUsingAlias(CcSubjsPeer::ID, $id, $comparison); + return $this->addUsingAlias(CcSubjsPeer::ID, $dbId, $comparison); } /** * Filter the query on the login column * - * @param string $login The value to use as filter. + * @param string $dbLogin The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterByLogin($login = null, $comparison = null) + public function filterByDbLogin($dbLogin = null, $comparison = null) { if (null === $comparison) { - if (is_array($login)) { + if (is_array($dbLogin)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $login)) { - $login = str_replace('*', '%', $login); + } elseif (preg_match('/[\%\*]/', $dbLogin)) { + $dbLogin = str_replace('*', '%', $dbLogin); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcSubjsPeer::LOGIN, $login, $comparison); + return $this->addUsingAlias(CcSubjsPeer::LOGIN, $dbLogin, $comparison); } /** * Filter the query on the pass column * - * @param string $pass The value to use as filter. + * @param string $dbPass The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterByPass($pass = null, $comparison = null) + public function filterByDbPass($dbPass = null, $comparison = null) { if (null === $comparison) { - if (is_array($pass)) { + if (is_array($dbPass)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $pass)) { - $pass = str_replace('*', '%', $pass); + } elseif (preg_match('/[\%\*]/', $dbPass)) { + $dbPass = str_replace('*', '%', $dbPass); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcSubjsPeer::PASS, $pass, $comparison); + return $this->addUsingAlias(CcSubjsPeer::PASS, $dbPass, $comparison); } /** * Filter the query on the type column * - * @param string $type The value to use as filter. + * @param string $dbType The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterByType($type = null, $comparison = null) + public function filterByDbType($dbType = null, $comparison = null) { if (null === $comparison) { - if (is_array($type)) { + if (is_array($dbType)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $type)) { - $type = str_replace('*', '%', $type); + } elseif (preg_match('/[\%\*]/', $dbType)) { + $dbType = str_replace('*', '%', $dbType); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcSubjsPeer::TYPE, $type, $comparison); + return $this->addUsingAlias(CcSubjsPeer::TYPE, $dbType, $comparison); } /** - * Filter the query on the realname column + * Filter the query on the first_name column * - * @param string $realname The value to use as filter. + * @param string $dbFirstName The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterByRealname($realname = null, $comparison = null) + public function filterByDbFirstName($dbFirstName = null, $comparison = null) { if (null === $comparison) { - if (is_array($realname)) { + if (is_array($dbFirstName)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $realname)) { - $realname = str_replace('*', '%', $realname); + } elseif (preg_match('/[\%\*]/', $dbFirstName)) { + $dbFirstName = str_replace('*', '%', $dbFirstName); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcSubjsPeer::REALNAME, $realname, $comparison); + return $this->addUsingAlias(CcSubjsPeer::FIRST_NAME, $dbFirstName, $comparison); + } + + /** + * Filter the query on the last_name column + * + * @param string $dbLastName The value to use as filter. + * Accepts wildcards (* and % trigger a LIKE) + * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL + * + * @return CcSubjsQuery The current query, for fluid interface + */ + public function filterByDbLastName($dbLastName = null, $comparison = null) + { + if (null === $comparison) { + if (is_array($dbLastName)) { + $comparison = Criteria::IN; + } elseif (preg_match('/[\%\*]/', $dbLastName)) { + $dbLastName = str_replace('*', '%', $dbLastName); + $comparison = Criteria::LIKE; + } + } + return $this->addUsingAlias(CcSubjsPeer::LAST_NAME, $dbLastName, $comparison); } /** * Filter the query on the lastlogin column * - * @param string|array $lastlogin The value to use as filter. + * @param string|array $dbLastlogin The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterByLastlogin($lastlogin = null, $comparison = null) + public function filterByDbLastlogin($dbLastlogin = null, $comparison = null) { - if (is_array($lastlogin)) { + if (is_array($dbLastlogin)) { $useMinMax = false; - if (isset($lastlogin['min'])) { - $this->addUsingAlias(CcSubjsPeer::LASTLOGIN, $lastlogin['min'], Criteria::GREATER_EQUAL); + if (isset($dbLastlogin['min'])) { + $this->addUsingAlias(CcSubjsPeer::LASTLOGIN, $dbLastlogin['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($lastlogin['max'])) { - $this->addUsingAlias(CcSubjsPeer::LASTLOGIN, $lastlogin['max'], Criteria::LESS_EQUAL); + if (isset($dbLastlogin['max'])) { + $this->addUsingAlias(CcSubjsPeer::LASTLOGIN, $dbLastlogin['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -314,28 +340,28 @@ abstract class BaseCcSubjsQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcSubjsPeer::LASTLOGIN, $lastlogin, $comparison); + return $this->addUsingAlias(CcSubjsPeer::LASTLOGIN, $dbLastlogin, $comparison); } /** * Filter the query on the lastfail column * - * @param string|array $lastfail The value to use as filter. + * @param string|array $dbLastfail The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcSubjsQuery The current query, for fluid interface */ - public function filterByLastfail($lastfail = null, $comparison = null) + public function filterByDbLastfail($dbLastfail = null, $comparison = null) { - if (is_array($lastfail)) { + if (is_array($dbLastfail)) { $useMinMax = false; - if (isset($lastfail['min'])) { - $this->addUsingAlias(CcSubjsPeer::LASTFAIL, $lastfail['min'], Criteria::GREATER_EQUAL); + if (isset($dbLastfail['min'])) { + $this->addUsingAlias(CcSubjsPeer::LASTFAIL, $dbLastfail['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($lastfail['max'])) { - $this->addUsingAlias(CcSubjsPeer::LASTFAIL, $lastfail['max'], Criteria::LESS_EQUAL); + if (isset($dbLastfail['max'])) { + $this->addUsingAlias(CcSubjsPeer::LASTFAIL, $dbLastfail['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -345,7 +371,7 @@ abstract class BaseCcSubjsQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcSubjsPeer::LASTFAIL, $lastfail, $comparison); + return $this->addUsingAlias(CcSubjsPeer::LASTFAIL, $dbLastfail, $comparison); } /** @@ -806,7 +832,7 @@ abstract class BaseCcSubjsQuery extends ModelCriteria public function prune($ccSubjs = null) { if ($ccSubjs) { - $this->addUsingAlias(CcSubjsPeer::ID, $ccSubjs->getId(), Criteria::NOT_EQUAL); + $this->addUsingAlias(CcSubjsPeer::ID, $ccSubjs->getDbId(), Criteria::NOT_EQUAL); } return $this; diff --git a/application/views/scripts/user/add-user.phtml b/application/views/scripts/user/add-user.phtml new file mode 100644 index 000000000..161c48f78 --- /dev/null +++ b/application/views/scripts/user/add-user.phtml @@ -0,0 +1,3 @@ +form; diff --git a/application/views/scripts/user/index.phtml b/application/views/scripts/user/index.phtml new file mode 100644 index 000000000..e53548c2c --- /dev/null +++ b/application/views/scripts/user/index.phtml @@ -0,0 +1 @@ +

View script for controller User and script/action name index
\ No newline at end of file diff --git a/build/schema.xml b/build/schema.xml index 3156ab8a2..cb9e47b54 100644 --- a/build/schema.xml +++ b/build/schema.xml @@ -248,13 +248,14 @@
- - - - - - - + + + + + + + + diff --git a/build/sql/schema.sql b/build/sql/schema.sql index 65cbee9c8..ea794a500 100644 --- a/build/sql/schema.sql +++ b/build/sql/schema.sql @@ -393,7 +393,8 @@ CREATE TABLE "cc_subjs" "login" VARCHAR(255) default '' NOT NULL, "pass" VARCHAR(255) default '' NOT NULL, "type" CHAR(1) default 'U' NOT NULL, - "realname" VARCHAR(255) default '' NOT NULL, + "first_name" VARCHAR(255) default '' NOT NULL, + "last_name" VARCHAR(255) default '' NOT NULL, "lastlogin" TIMESTAMP, "lastfail" TIMESTAMP, PRIMARY KEY ("id"), From 8ce870bb959ab6f4af97ac70333aa9cb3b184382 Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 17 Dec 2010 18:05:59 -0500 Subject: [PATCH 4/5] prefixed everything in cc_files with Db for Propel to be consistent. --- .../models/campcaster/map/CcFilesTableMap.php | 104 +- .../models/campcaster/om/BaseCcFiles.php | 836 ++++++------- .../models/campcaster/om/BaseCcFilesPeer.php | 8 +- .../models/campcaster/om/BaseCcFilesQuery.php | 1060 ++++++++--------- .../models/campcaster/om/BaseCcSubjsQuery.php | 2 +- build/schema.xml | 104 +- 6 files changed, 1057 insertions(+), 1057 deletions(-) diff --git a/application/models/campcaster/map/CcFilesTableMap.php b/application/models/campcaster/map/CcFilesTableMap.php index 5c8fe05f1..e03aff8e0 100644 --- a/application/models/campcaster/map/CcFilesTableMap.php +++ b/application/models/campcaster/map/CcFilesTableMap.php @@ -39,59 +39,59 @@ class CcFilesTableMap extends TableMap { $this->setPrimaryKeyMethodInfo('cc_files_id_seq'); // columns $this->addPrimaryKey('ID', 'DbId', 'INTEGER', true, null, null); - $this->addColumn('GUNID', 'Gunid', 'CHAR', true, 32, null); - $this->addColumn('NAME', 'Name', 'VARCHAR', true, 255, ''); - $this->addColumn('MIME', 'Mime', 'VARCHAR', true, 255, ''); - $this->addColumn('FTYPE', 'Ftype', 'VARCHAR', true, 128, ''); - $this->addColumn('FILEPATH', 'filepath', 'LONGVARCHAR', false, null, ''); - $this->addColumn('STATE', 'State', 'VARCHAR', true, 128, 'empty'); - $this->addColumn('CURRENTLYACCESSING', 'Currentlyaccessing', 'INTEGER', true, null, 0); - $this->addForeignKey('EDITEDBY', 'Editedby', 'INTEGER', 'cc_subjs', 'ID', false, null, null); - $this->addColumn('MTIME', 'Mtime', 'TIMESTAMP', false, 6, null); - $this->addColumn('MD5', 'Md5', 'CHAR', false, 32, null); - $this->addColumn('TRACK_TITLE', 'TrackTitle', 'VARCHAR', false, 512, null); - $this->addColumn('ARTIST_NAME', 'ArtistName', 'VARCHAR', false, 512, null); - $this->addColumn('BIT_RATE', 'BitRate', 'VARCHAR', false, 32, null); - $this->addColumn('SAMPLE_RATE', 'SampleRate', 'VARCHAR', false, 32, null); - $this->addColumn('FORMAT', 'Format', 'VARCHAR', false, 128, null); + $this->addColumn('GUNID', 'DbGunid', 'CHAR', true, 32, null); + $this->addColumn('NAME', 'DbName', 'VARCHAR', true, 255, ''); + $this->addColumn('MIME', 'DbMime', 'VARCHAR', true, 255, ''); + $this->addColumn('FTYPE', 'DbFtype', 'VARCHAR', true, 128, ''); + $this->addColumn('FILEPATH', 'DbFilepath', 'LONGVARCHAR', false, null, ''); + $this->addColumn('STATE', 'DbState', 'VARCHAR', true, 128, 'empty'); + $this->addColumn('CURRENTLYACCESSING', 'DbCurrentlyaccessing', 'INTEGER', true, null, 0); + $this->addForeignKey('EDITEDBY', 'DbEditedby', 'INTEGER', 'cc_subjs', 'ID', false, null, null); + $this->addColumn('MTIME', 'DbMtime', 'TIMESTAMP', false, 6, null); + $this->addColumn('MD5', 'DbMd5', 'CHAR', false, 32, null); + $this->addColumn('TRACK_TITLE', 'DbTrackTitle', 'VARCHAR', false, 512, null); + $this->addColumn('ARTIST_NAME', 'DbArtistName', 'VARCHAR', false, 512, null); + $this->addColumn('BIT_RATE', 'DbBitRate', 'VARCHAR', false, 32, null); + $this->addColumn('SAMPLE_RATE', 'DbSampleRate', 'VARCHAR', false, 32, null); + $this->addColumn('FORMAT', 'DbFormat', 'VARCHAR', false, 128, null); $this->addColumn('LENGTH', 'DbLength', 'TIME', false, null, null); - $this->addColumn('ALBUM_TITLE', 'AlbumTitle', 'VARCHAR', false, 512, null); - $this->addColumn('GENRE', 'Genre', 'VARCHAR', false, 64, null); - $this->addColumn('COMMENTS', 'Comments', 'LONGVARCHAR', false, null, null); - $this->addColumn('YEAR', 'Year', 'VARCHAR', false, 16, null); - $this->addColumn('TRACK_NUMBER', 'TrackNumber', 'INTEGER', false, null, null); - $this->addColumn('CHANNELS', 'Channels', 'INTEGER', false, null, null); - $this->addColumn('URL', 'Url', 'VARCHAR', false, 1024, null); - $this->addColumn('BPM', 'Bpm', 'VARCHAR', false, 8, null); - $this->addColumn('RATING', 'Rating', 'VARCHAR', false, 8, null); - $this->addColumn('ENCODED_BY', 'EncodedBy', 'VARCHAR', false, 255, null); - $this->addColumn('DISC_NUMBER', 'DiscNumber', 'VARCHAR', false, 8, null); - $this->addColumn('MOOD', 'Mood', 'VARCHAR', false, 64, null); - $this->addColumn('LABEL', 'Label', 'VARCHAR', false, 512, null); - $this->addColumn('COMPOSER', 'Composer', 'VARCHAR', false, 512, null); - $this->addColumn('ENCODER', 'Encoder', 'VARCHAR', false, 64, null); - $this->addColumn('CHECKSUM', 'Checksum', 'VARCHAR', false, 256, null); - $this->addColumn('LYRICS', 'Lyrics', 'LONGVARCHAR', false, null, null); - $this->addColumn('ORCHESTRA', 'Orchestra', 'VARCHAR', false, 512, null); - $this->addColumn('CONDUCTOR', 'Conductor', 'VARCHAR', false, 512, null); - $this->addColumn('LYRICIST', 'Lyricist', 'VARCHAR', false, 512, null); - $this->addColumn('ORIGINAL_LYRICIST', 'OriginalLyricist', 'VARCHAR', false, 512, null); - $this->addColumn('RADIO_STATION_NAME', 'RadioStationName', 'VARCHAR', false, 512, null); - $this->addColumn('INFO_URL', 'InfoUrl', 'VARCHAR', false, 512, null); - $this->addColumn('ARTIST_URL', 'ArtistUrl', 'VARCHAR', false, 512, null); - $this->addColumn('AUDIO_SOURCE_URL', 'AudioSourceUrl', 'VARCHAR', false, 512, null); - $this->addColumn('RADIO_STATION_URL', 'RadioStationUrl', 'VARCHAR', false, 512, null); - $this->addColumn('BUY_THIS_URL', 'BuyThisUrl', 'VARCHAR', false, 512, null); - $this->addColumn('ISRC_NUMBER', 'IsrcNumber', 'VARCHAR', false, 512, null); - $this->addColumn('CATALOG_NUMBER', 'CatalogNumber', 'VARCHAR', false, 512, null); - $this->addColumn('ORIGINAL_ARTIST', 'OriginalArtist', 'VARCHAR', false, 512, null); - $this->addColumn('COPYRIGHT', 'Copyright', 'VARCHAR', false, 512, null); - $this->addColumn('REPORT_DATETIME', 'ReportDatetime', 'VARCHAR', false, 32, null); - $this->addColumn('REPORT_LOCATION', 'ReportLocation', 'VARCHAR', false, 512, null); - $this->addColumn('REPORT_ORGANIZATION', 'ReportOrganization', 'VARCHAR', false, 512, null); - $this->addColumn('SUBJECT', 'Subject', 'VARCHAR', false, 512, null); - $this->addColumn('CONTRIBUTOR', 'Contributor', 'VARCHAR', false, 512, null); - $this->addColumn('LANGUAGE', 'Language', 'VARCHAR', false, 512, null); + $this->addColumn('ALBUM_TITLE', 'DbAlbumTitle', 'VARCHAR', false, 512, null); + $this->addColumn('GENRE', 'DbGenre', 'VARCHAR', false, 64, null); + $this->addColumn('COMMENTS', 'DbComments', 'LONGVARCHAR', false, null, null); + $this->addColumn('YEAR', 'DbYear', 'VARCHAR', false, 16, null); + $this->addColumn('TRACK_NUMBER', 'DbTrackNumber', 'INTEGER', false, null, null); + $this->addColumn('CHANNELS', 'DbChannels', 'INTEGER', false, null, null); + $this->addColumn('URL', 'DbUrl', 'VARCHAR', false, 1024, null); + $this->addColumn('BPM', 'DbBpm', 'VARCHAR', false, 8, null); + $this->addColumn('RATING', 'DbRating', 'VARCHAR', false, 8, null); + $this->addColumn('ENCODED_BY', 'DbEncodedBy', 'VARCHAR', false, 255, null); + $this->addColumn('DISC_NUMBER', 'DbDiscNumber', 'VARCHAR', false, 8, null); + $this->addColumn('MOOD', 'DbMood', 'VARCHAR', false, 64, null); + $this->addColumn('LABEL', 'DbLabel', 'VARCHAR', false, 512, null); + $this->addColumn('COMPOSER', 'DbComposer', 'VARCHAR', false, 512, null); + $this->addColumn('ENCODER', 'DbEncoder', 'VARCHAR', false, 64, null); + $this->addColumn('CHECKSUM', 'DbChecksum', 'VARCHAR', false, 256, null); + $this->addColumn('LYRICS', 'DbLyrics', 'LONGVARCHAR', false, null, null); + $this->addColumn('ORCHESTRA', 'DbOrchestra', 'VARCHAR', false, 512, null); + $this->addColumn('CONDUCTOR', 'DbConductor', 'VARCHAR', false, 512, null); + $this->addColumn('LYRICIST', 'DbLyricist', 'VARCHAR', false, 512, null); + $this->addColumn('ORIGINAL_LYRICIST', 'DbOriginalLyricist', 'VARCHAR', false, 512, null); + $this->addColumn('RADIO_STATION_NAME', 'DbRadioStationName', 'VARCHAR', false, 512, null); + $this->addColumn('INFO_URL', 'DbInfoUrl', 'VARCHAR', false, 512, null); + $this->addColumn('ARTIST_URL', 'DbArtistUrl', 'VARCHAR', false, 512, null); + $this->addColumn('AUDIO_SOURCE_URL', 'DbAudioSourceUrl', 'VARCHAR', false, 512, null); + $this->addColumn('RADIO_STATION_URL', 'DbRadioStationUrl', 'VARCHAR', false, 512, null); + $this->addColumn('BUY_THIS_URL', 'DbBuyThisUrl', 'VARCHAR', false, 512, null); + $this->addColumn('ISRC_NUMBER', 'DbIsrcNumber', 'VARCHAR', false, 512, null); + $this->addColumn('CATALOG_NUMBER', 'DbCatalogNumber', 'VARCHAR', false, 512, null); + $this->addColumn('ORIGINAL_ARTIST', 'DbOriginalArtist', 'VARCHAR', false, 512, null); + $this->addColumn('COPYRIGHT', 'DbCopyright', 'VARCHAR', false, 512, null); + $this->addColumn('REPORT_DATETIME', 'DbReportDatetime', 'VARCHAR', false, 32, null); + $this->addColumn('REPORT_LOCATION', 'DbReportLocation', 'VARCHAR', false, 512, null); + $this->addColumn('REPORT_ORGANIZATION', 'DbReportOrganization', 'VARCHAR', false, 512, null); + $this->addColumn('SUBJECT', 'DbSubject', 'VARCHAR', false, 512, null); + $this->addColumn('CONTRIBUTOR', 'DbContributor', 'VARCHAR', false, 512, null); + $this->addColumn('LANGUAGE', 'DbLanguage', 'VARCHAR', false, 512, null); // validators } // initialize() diff --git a/application/models/campcaster/om/BaseCcFiles.php b/application/models/campcaster/om/BaseCcFiles.php index 06f5dd86b..509ef9403 100644 --- a/application/models/campcaster/om/BaseCcFiles.php +++ b/application/models/campcaster/om/BaseCcFiles.php @@ -419,7 +419,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getGunid() + public function getDbGunid() { return $this->gunid; } @@ -429,7 +429,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getName() + public function getDbName() { return $this->name; } @@ -439,7 +439,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getMime() + public function getDbMime() { return $this->mime; } @@ -449,7 +449,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getFtype() + public function getDbFtype() { return $this->ftype; } @@ -459,7 +459,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getfilepath() + public function getDbFilepath() { return $this->filepath; } @@ -469,7 +469,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getState() + public function getDbState() { return $this->state; } @@ -479,7 +479,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return int */ - public function getCurrentlyaccessing() + public function getDbCurrentlyaccessing() { return $this->currentlyaccessing; } @@ -489,7 +489,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return int */ - public function getEditedby() + public function getDbEditedby() { return $this->editedby; } @@ -503,7 +503,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @return mixed Formatted date/time value as string or DateTime object (if format is NULL), NULL if column is NULL * @throws PropelException - if unable to parse/validate the date/time value. */ - public function getMtime($format = 'Y-m-d H:i:s') + public function getDbMtime($format = 'Y-m-d H:i:s') { if ($this->mtime === null) { return null; @@ -532,7 +532,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getMd5() + public function getDbMd5() { return $this->md5; } @@ -542,7 +542,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getTrackTitle() + public function getDbTrackTitle() { return $this->track_title; } @@ -552,7 +552,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getArtistName() + public function getDbArtistName() { return $this->artist_name; } @@ -562,7 +562,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getBitRate() + public function getDbBitRate() { return $this->bit_rate; } @@ -572,7 +572,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getSampleRate() + public function getDbSampleRate() { return $this->sample_rate; } @@ -582,7 +582,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getFormat() + public function getDbFormat() { return $this->format; } @@ -625,7 +625,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getAlbumTitle() + public function getDbAlbumTitle() { return $this->album_title; } @@ -635,7 +635,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getGenre() + public function getDbGenre() { return $this->genre; } @@ -645,7 +645,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getComments() + public function getDbComments() { return $this->comments; } @@ -655,7 +655,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getYear() + public function getDbYear() { return $this->year; } @@ -665,7 +665,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return int */ - public function getTrackNumber() + public function getDbTrackNumber() { return $this->track_number; } @@ -675,7 +675,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return int */ - public function getChannels() + public function getDbChannels() { return $this->channels; } @@ -685,7 +685,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getUrl() + public function getDbUrl() { return $this->url; } @@ -695,7 +695,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getBpm() + public function getDbBpm() { return $this->bpm; } @@ -705,7 +705,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getRating() + public function getDbRating() { return $this->rating; } @@ -715,7 +715,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getEncodedBy() + public function getDbEncodedBy() { return $this->encoded_by; } @@ -725,7 +725,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getDiscNumber() + public function getDbDiscNumber() { return $this->disc_number; } @@ -735,7 +735,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getMood() + public function getDbMood() { return $this->mood; } @@ -745,7 +745,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getLabel() + public function getDbLabel() { return $this->label; } @@ -755,7 +755,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getComposer() + public function getDbComposer() { return $this->composer; } @@ -765,7 +765,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getEncoder() + public function getDbEncoder() { return $this->encoder; } @@ -775,7 +775,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getChecksum() + public function getDbChecksum() { return $this->checksum; } @@ -785,7 +785,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getLyrics() + public function getDbLyrics() { return $this->lyrics; } @@ -795,7 +795,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getOrchestra() + public function getDbOrchestra() { return $this->orchestra; } @@ -805,7 +805,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getConductor() + public function getDbConductor() { return $this->conductor; } @@ -815,7 +815,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getLyricist() + public function getDbLyricist() { return $this->lyricist; } @@ -825,7 +825,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getOriginalLyricist() + public function getDbOriginalLyricist() { return $this->original_lyricist; } @@ -835,7 +835,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getRadioStationName() + public function getDbRadioStationName() { return $this->radio_station_name; } @@ -845,7 +845,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getInfoUrl() + public function getDbInfoUrl() { return $this->info_url; } @@ -855,7 +855,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getArtistUrl() + public function getDbArtistUrl() { return $this->artist_url; } @@ -865,7 +865,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getAudioSourceUrl() + public function getDbAudioSourceUrl() { return $this->audio_source_url; } @@ -875,7 +875,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getRadioStationUrl() + public function getDbRadioStationUrl() { return $this->radio_station_url; } @@ -885,7 +885,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getBuyThisUrl() + public function getDbBuyThisUrl() { return $this->buy_this_url; } @@ -895,7 +895,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getIsrcNumber() + public function getDbIsrcNumber() { return $this->isrc_number; } @@ -905,7 +905,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getCatalogNumber() + public function getDbCatalogNumber() { return $this->catalog_number; } @@ -915,7 +915,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getOriginalArtist() + public function getDbOriginalArtist() { return $this->original_artist; } @@ -925,7 +925,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getCopyright() + public function getDbCopyright() { return $this->copyright; } @@ -935,7 +935,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getReportDatetime() + public function getDbReportDatetime() { return $this->report_datetime; } @@ -945,7 +945,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getReportLocation() + public function getDbReportLocation() { return $this->report_location; } @@ -955,7 +955,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getReportOrganization() + public function getDbReportOrganization() { return $this->report_organization; } @@ -965,7 +965,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getSubject() + public function getDbSubject() { return $this->subject; } @@ -975,7 +975,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getContributor() + public function getDbContributor() { return $this->contributor; } @@ -985,7 +985,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * * @return string */ - public function getLanguage() + public function getDbLanguage() { return $this->language; } @@ -1016,7 +1016,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setGunid($v) + public function setDbGunid($v) { if ($v !== null) { $v = (string) $v; @@ -1028,7 +1028,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setGunid() + } // setDbGunid() /** * Set the value of [name] column. @@ -1036,7 +1036,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setName($v) + public function setDbName($v) { if ($v !== null) { $v = (string) $v; @@ -1048,7 +1048,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setName() + } // setDbName() /** * Set the value of [mime] column. @@ -1056,7 +1056,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setMime($v) + public function setDbMime($v) { if ($v !== null) { $v = (string) $v; @@ -1068,7 +1068,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setMime() + } // setDbMime() /** * Set the value of [ftype] column. @@ -1076,7 +1076,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setFtype($v) + public function setDbFtype($v) { if ($v !== null) { $v = (string) $v; @@ -1088,7 +1088,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setFtype() + } // setDbFtype() /** * Set the value of [filepath] column. @@ -1096,7 +1096,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setfilepath($v) + public function setDbFilepath($v) { if ($v !== null) { $v = (string) $v; @@ -1108,7 +1108,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setfilepath() + } // setDbFilepath() /** * Set the value of [state] column. @@ -1116,7 +1116,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setState($v) + public function setDbState($v) { if ($v !== null) { $v = (string) $v; @@ -1128,7 +1128,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setState() + } // setDbState() /** * Set the value of [currentlyaccessing] column. @@ -1136,7 +1136,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param int $v new value * @return CcFiles The current object (for fluent API support) */ - public function setCurrentlyaccessing($v) + public function setDbCurrentlyaccessing($v) { if ($v !== null) { $v = (int) $v; @@ -1148,7 +1148,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setCurrentlyaccessing() + } // setDbCurrentlyaccessing() /** * Set the value of [editedby] column. @@ -1156,7 +1156,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param int $v new value * @return CcFiles The current object (for fluent API support) */ - public function setEditedby($v) + public function setDbEditedby($v) { if ($v !== null) { $v = (int) $v; @@ -1172,7 +1172,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setEditedby() + } // setDbEditedby() /** * Sets the value of [mtime] column to a normalized version of the date/time value specified. @@ -1181,7 +1181,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * be treated as NULL for temporal objects. * @return CcFiles The current object (for fluent API support) */ - public function setMtime($v) + public function setDbMtime($v) { // we treat '' as NULL for temporal objects because DateTime('') == DateTime('now') // -- which is unexpected, to say the least. @@ -1221,7 +1221,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } // if either are not null return $this; - } // setMtime() + } // setDbMtime() /** * Set the value of [md5] column. @@ -1229,7 +1229,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setMd5($v) + public function setDbMd5($v) { if ($v !== null) { $v = (string) $v; @@ -1241,7 +1241,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setMd5() + } // setDbMd5() /** * Set the value of [track_title] column. @@ -1249,7 +1249,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setTrackTitle($v) + public function setDbTrackTitle($v) { if ($v !== null) { $v = (string) $v; @@ -1261,7 +1261,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setTrackTitle() + } // setDbTrackTitle() /** * Set the value of [artist_name] column. @@ -1269,7 +1269,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setArtistName($v) + public function setDbArtistName($v) { if ($v !== null) { $v = (string) $v; @@ -1281,7 +1281,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setArtistName() + } // setDbArtistName() /** * Set the value of [bit_rate] column. @@ -1289,7 +1289,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setBitRate($v) + public function setDbBitRate($v) { if ($v !== null) { $v = (string) $v; @@ -1301,7 +1301,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setBitRate() + } // setDbBitRate() /** * Set the value of [sample_rate] column. @@ -1309,7 +1309,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setSampleRate($v) + public function setDbSampleRate($v) { if ($v !== null) { $v = (string) $v; @@ -1321,7 +1321,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setSampleRate() + } // setDbSampleRate() /** * Set the value of [format] column. @@ -1329,7 +1329,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setFormat($v) + public function setDbFormat($v) { if ($v !== null) { $v = (string) $v; @@ -1341,7 +1341,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setFormat() + } // setDbFormat() /** * Sets the value of [length] column to a normalized version of the date/time value specified. @@ -1398,7 +1398,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setAlbumTitle($v) + public function setDbAlbumTitle($v) { if ($v !== null) { $v = (string) $v; @@ -1410,7 +1410,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setAlbumTitle() + } // setDbAlbumTitle() /** * Set the value of [genre] column. @@ -1418,7 +1418,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setGenre($v) + public function setDbGenre($v) { if ($v !== null) { $v = (string) $v; @@ -1430,7 +1430,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setGenre() + } // setDbGenre() /** * Set the value of [comments] column. @@ -1438,7 +1438,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setComments($v) + public function setDbComments($v) { if ($v !== null) { $v = (string) $v; @@ -1450,7 +1450,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setComments() + } // setDbComments() /** * Set the value of [year] column. @@ -1458,7 +1458,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setYear($v) + public function setDbYear($v) { if ($v !== null) { $v = (string) $v; @@ -1470,7 +1470,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setYear() + } // setDbYear() /** * Set the value of [track_number] column. @@ -1478,7 +1478,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param int $v new value * @return CcFiles The current object (for fluent API support) */ - public function setTrackNumber($v) + public function setDbTrackNumber($v) { if ($v !== null) { $v = (int) $v; @@ -1490,7 +1490,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setTrackNumber() + } // setDbTrackNumber() /** * Set the value of [channels] column. @@ -1498,7 +1498,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param int $v new value * @return CcFiles The current object (for fluent API support) */ - public function setChannels($v) + public function setDbChannels($v) { if ($v !== null) { $v = (int) $v; @@ -1510,7 +1510,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setChannels() + } // setDbChannels() /** * Set the value of [url] column. @@ -1518,7 +1518,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setUrl($v) + public function setDbUrl($v) { if ($v !== null) { $v = (string) $v; @@ -1530,7 +1530,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setUrl() + } // setDbUrl() /** * Set the value of [bpm] column. @@ -1538,7 +1538,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setBpm($v) + public function setDbBpm($v) { if ($v !== null) { $v = (string) $v; @@ -1550,7 +1550,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setBpm() + } // setDbBpm() /** * Set the value of [rating] column. @@ -1558,7 +1558,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setRating($v) + public function setDbRating($v) { if ($v !== null) { $v = (string) $v; @@ -1570,7 +1570,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setRating() + } // setDbRating() /** * Set the value of [encoded_by] column. @@ -1578,7 +1578,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setEncodedBy($v) + public function setDbEncodedBy($v) { if ($v !== null) { $v = (string) $v; @@ -1590,7 +1590,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setEncodedBy() + } // setDbEncodedBy() /** * Set the value of [disc_number] column. @@ -1598,7 +1598,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setDiscNumber($v) + public function setDbDiscNumber($v) { if ($v !== null) { $v = (string) $v; @@ -1610,7 +1610,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setDiscNumber() + } // setDbDiscNumber() /** * Set the value of [mood] column. @@ -1618,7 +1618,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setMood($v) + public function setDbMood($v) { if ($v !== null) { $v = (string) $v; @@ -1630,7 +1630,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setMood() + } // setDbMood() /** * Set the value of [label] column. @@ -1638,7 +1638,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setLabel($v) + public function setDbLabel($v) { if ($v !== null) { $v = (string) $v; @@ -1650,7 +1650,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setLabel() + } // setDbLabel() /** * Set the value of [composer] column. @@ -1658,7 +1658,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setComposer($v) + public function setDbComposer($v) { if ($v !== null) { $v = (string) $v; @@ -1670,7 +1670,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setComposer() + } // setDbComposer() /** * Set the value of [encoder] column. @@ -1678,7 +1678,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setEncoder($v) + public function setDbEncoder($v) { if ($v !== null) { $v = (string) $v; @@ -1690,7 +1690,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setEncoder() + } // setDbEncoder() /** * Set the value of [checksum] column. @@ -1698,7 +1698,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setChecksum($v) + public function setDbChecksum($v) { if ($v !== null) { $v = (string) $v; @@ -1710,7 +1710,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setChecksum() + } // setDbChecksum() /** * Set the value of [lyrics] column. @@ -1718,7 +1718,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setLyrics($v) + public function setDbLyrics($v) { if ($v !== null) { $v = (string) $v; @@ -1730,7 +1730,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setLyrics() + } // setDbLyrics() /** * Set the value of [orchestra] column. @@ -1738,7 +1738,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setOrchestra($v) + public function setDbOrchestra($v) { if ($v !== null) { $v = (string) $v; @@ -1750,7 +1750,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setOrchestra() + } // setDbOrchestra() /** * Set the value of [conductor] column. @@ -1758,7 +1758,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setConductor($v) + public function setDbConductor($v) { if ($v !== null) { $v = (string) $v; @@ -1770,7 +1770,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setConductor() + } // setDbConductor() /** * Set the value of [lyricist] column. @@ -1778,7 +1778,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setLyricist($v) + public function setDbLyricist($v) { if ($v !== null) { $v = (string) $v; @@ -1790,7 +1790,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setLyricist() + } // setDbLyricist() /** * Set the value of [original_lyricist] column. @@ -1798,7 +1798,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setOriginalLyricist($v) + public function setDbOriginalLyricist($v) { if ($v !== null) { $v = (string) $v; @@ -1810,7 +1810,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setOriginalLyricist() + } // setDbOriginalLyricist() /** * Set the value of [radio_station_name] column. @@ -1818,7 +1818,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setRadioStationName($v) + public function setDbRadioStationName($v) { if ($v !== null) { $v = (string) $v; @@ -1830,7 +1830,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setRadioStationName() + } // setDbRadioStationName() /** * Set the value of [info_url] column. @@ -1838,7 +1838,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setInfoUrl($v) + public function setDbInfoUrl($v) { if ($v !== null) { $v = (string) $v; @@ -1850,7 +1850,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setInfoUrl() + } // setDbInfoUrl() /** * Set the value of [artist_url] column. @@ -1858,7 +1858,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setArtistUrl($v) + public function setDbArtistUrl($v) { if ($v !== null) { $v = (string) $v; @@ -1870,7 +1870,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setArtistUrl() + } // setDbArtistUrl() /** * Set the value of [audio_source_url] column. @@ -1878,7 +1878,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setAudioSourceUrl($v) + public function setDbAudioSourceUrl($v) { if ($v !== null) { $v = (string) $v; @@ -1890,7 +1890,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setAudioSourceUrl() + } // setDbAudioSourceUrl() /** * Set the value of [radio_station_url] column. @@ -1898,7 +1898,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setRadioStationUrl($v) + public function setDbRadioStationUrl($v) { if ($v !== null) { $v = (string) $v; @@ -1910,7 +1910,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setRadioStationUrl() + } // setDbRadioStationUrl() /** * Set the value of [buy_this_url] column. @@ -1918,7 +1918,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setBuyThisUrl($v) + public function setDbBuyThisUrl($v) { if ($v !== null) { $v = (string) $v; @@ -1930,7 +1930,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setBuyThisUrl() + } // setDbBuyThisUrl() /** * Set the value of [isrc_number] column. @@ -1938,7 +1938,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setIsrcNumber($v) + public function setDbIsrcNumber($v) { if ($v !== null) { $v = (string) $v; @@ -1950,7 +1950,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setIsrcNumber() + } // setDbIsrcNumber() /** * Set the value of [catalog_number] column. @@ -1958,7 +1958,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setCatalogNumber($v) + public function setDbCatalogNumber($v) { if ($v !== null) { $v = (string) $v; @@ -1970,7 +1970,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setCatalogNumber() + } // setDbCatalogNumber() /** * Set the value of [original_artist] column. @@ -1978,7 +1978,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setOriginalArtist($v) + public function setDbOriginalArtist($v) { if ($v !== null) { $v = (string) $v; @@ -1990,7 +1990,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setOriginalArtist() + } // setDbOriginalArtist() /** * Set the value of [copyright] column. @@ -1998,7 +1998,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setCopyright($v) + public function setDbCopyright($v) { if ($v !== null) { $v = (string) $v; @@ -2010,7 +2010,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setCopyright() + } // setDbCopyright() /** * Set the value of [report_datetime] column. @@ -2018,7 +2018,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setReportDatetime($v) + public function setDbReportDatetime($v) { if ($v !== null) { $v = (string) $v; @@ -2030,7 +2030,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setReportDatetime() + } // setDbReportDatetime() /** * Set the value of [report_location] column. @@ -2038,7 +2038,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setReportLocation($v) + public function setDbReportLocation($v) { if ($v !== null) { $v = (string) $v; @@ -2050,7 +2050,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setReportLocation() + } // setDbReportLocation() /** * Set the value of [report_organization] column. @@ -2058,7 +2058,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setReportOrganization($v) + public function setDbReportOrganization($v) { if ($v !== null) { $v = (string) $v; @@ -2070,7 +2070,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setReportOrganization() + } // setDbReportOrganization() /** * Set the value of [subject] column. @@ -2078,7 +2078,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setSubject($v) + public function setDbSubject($v) { if ($v !== null) { $v = (string) $v; @@ -2090,7 +2090,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setSubject() + } // setDbSubject() /** * Set the value of [contributor] column. @@ -2098,7 +2098,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setContributor($v) + public function setDbContributor($v) { if ($v !== null) { $v = (string) $v; @@ -2110,7 +2110,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setContributor() + } // setDbContributor() /** * Set the value of [language] column. @@ -2118,7 +2118,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent * @param string $v new value * @return CcFiles The current object (for fluent API support) */ - public function setLanguage($v) + public function setDbLanguage($v) { if ($v !== null) { $v = (string) $v; @@ -2130,7 +2130,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent } return $this; - } // setLanguage() + } // setDbLanguage() /** * Indicates whether the columns in this object are only set to default values. @@ -2599,163 +2599,163 @@ abstract class BaseCcFiles extends BaseObject implements Persistent return $this->getDbId(); break; case 1: - return $this->getGunid(); + return $this->getDbGunid(); break; case 2: - return $this->getName(); + return $this->getDbName(); break; case 3: - return $this->getMime(); + return $this->getDbMime(); break; case 4: - return $this->getFtype(); + return $this->getDbFtype(); break; case 5: - return $this->getfilepath(); + return $this->getDbFilepath(); break; case 6: - return $this->getState(); + return $this->getDbState(); break; case 7: - return $this->getCurrentlyaccessing(); + return $this->getDbCurrentlyaccessing(); break; case 8: - return $this->getEditedby(); + return $this->getDbEditedby(); break; case 9: - return $this->getMtime(); + return $this->getDbMtime(); break; case 10: - return $this->getMd5(); + return $this->getDbMd5(); break; case 11: - return $this->getTrackTitle(); + return $this->getDbTrackTitle(); break; case 12: - return $this->getArtistName(); + return $this->getDbArtistName(); break; case 13: - return $this->getBitRate(); + return $this->getDbBitRate(); break; case 14: - return $this->getSampleRate(); + return $this->getDbSampleRate(); break; case 15: - return $this->getFormat(); + return $this->getDbFormat(); break; case 16: return $this->getDbLength(); break; case 17: - return $this->getAlbumTitle(); + return $this->getDbAlbumTitle(); break; case 18: - return $this->getGenre(); + return $this->getDbGenre(); break; case 19: - return $this->getComments(); + return $this->getDbComments(); break; case 20: - return $this->getYear(); + return $this->getDbYear(); break; case 21: - return $this->getTrackNumber(); + return $this->getDbTrackNumber(); break; case 22: - return $this->getChannels(); + return $this->getDbChannels(); break; case 23: - return $this->getUrl(); + return $this->getDbUrl(); break; case 24: - return $this->getBpm(); + return $this->getDbBpm(); break; case 25: - return $this->getRating(); + return $this->getDbRating(); break; case 26: - return $this->getEncodedBy(); + return $this->getDbEncodedBy(); break; case 27: - return $this->getDiscNumber(); + return $this->getDbDiscNumber(); break; case 28: - return $this->getMood(); + return $this->getDbMood(); break; case 29: - return $this->getLabel(); + return $this->getDbLabel(); break; case 30: - return $this->getComposer(); + return $this->getDbComposer(); break; case 31: - return $this->getEncoder(); + return $this->getDbEncoder(); break; case 32: - return $this->getChecksum(); + return $this->getDbChecksum(); break; case 33: - return $this->getLyrics(); + return $this->getDbLyrics(); break; case 34: - return $this->getOrchestra(); + return $this->getDbOrchestra(); break; case 35: - return $this->getConductor(); + return $this->getDbConductor(); break; case 36: - return $this->getLyricist(); + return $this->getDbLyricist(); break; case 37: - return $this->getOriginalLyricist(); + return $this->getDbOriginalLyricist(); break; case 38: - return $this->getRadioStationName(); + return $this->getDbRadioStationName(); break; case 39: - return $this->getInfoUrl(); + return $this->getDbInfoUrl(); break; case 40: - return $this->getArtistUrl(); + return $this->getDbArtistUrl(); break; case 41: - return $this->getAudioSourceUrl(); + return $this->getDbAudioSourceUrl(); break; case 42: - return $this->getRadioStationUrl(); + return $this->getDbRadioStationUrl(); break; case 43: - return $this->getBuyThisUrl(); + return $this->getDbBuyThisUrl(); break; case 44: - return $this->getIsrcNumber(); + return $this->getDbIsrcNumber(); break; case 45: - return $this->getCatalogNumber(); + return $this->getDbCatalogNumber(); break; case 46: - return $this->getOriginalArtist(); + return $this->getDbOriginalArtist(); break; case 47: - return $this->getCopyright(); + return $this->getDbCopyright(); break; case 48: - return $this->getReportDatetime(); + return $this->getDbReportDatetime(); break; case 49: - return $this->getReportLocation(); + return $this->getDbReportLocation(); break; case 50: - return $this->getReportOrganization(); + return $this->getDbReportOrganization(); break; case 51: - return $this->getSubject(); + return $this->getDbSubject(); break; case 52: - return $this->getContributor(); + return $this->getDbContributor(); break; case 53: - return $this->getLanguage(); + return $this->getDbLanguage(); break; default: return null; @@ -2782,59 +2782,59 @@ abstract class BaseCcFiles extends BaseObject implements Persistent $keys = CcFilesPeer::getFieldNames($keyType); $result = array( $keys[0] => $this->getDbId(), - $keys[1] => $this->getGunid(), - $keys[2] => $this->getName(), - $keys[3] => $this->getMime(), - $keys[4] => $this->getFtype(), - $keys[5] => $this->getfilepath(), - $keys[6] => $this->getState(), - $keys[7] => $this->getCurrentlyaccessing(), - $keys[8] => $this->getEditedby(), - $keys[9] => $this->getMtime(), - $keys[10] => $this->getMd5(), - $keys[11] => $this->getTrackTitle(), - $keys[12] => $this->getArtistName(), - $keys[13] => $this->getBitRate(), - $keys[14] => $this->getSampleRate(), - $keys[15] => $this->getFormat(), + $keys[1] => $this->getDbGunid(), + $keys[2] => $this->getDbName(), + $keys[3] => $this->getDbMime(), + $keys[4] => $this->getDbFtype(), + $keys[5] => $this->getDbFilepath(), + $keys[6] => $this->getDbState(), + $keys[7] => $this->getDbCurrentlyaccessing(), + $keys[8] => $this->getDbEditedby(), + $keys[9] => $this->getDbMtime(), + $keys[10] => $this->getDbMd5(), + $keys[11] => $this->getDbTrackTitle(), + $keys[12] => $this->getDbArtistName(), + $keys[13] => $this->getDbBitRate(), + $keys[14] => $this->getDbSampleRate(), + $keys[15] => $this->getDbFormat(), $keys[16] => $this->getDbLength(), - $keys[17] => $this->getAlbumTitle(), - $keys[18] => $this->getGenre(), - $keys[19] => $this->getComments(), - $keys[20] => $this->getYear(), - $keys[21] => $this->getTrackNumber(), - $keys[22] => $this->getChannels(), - $keys[23] => $this->getUrl(), - $keys[24] => $this->getBpm(), - $keys[25] => $this->getRating(), - $keys[26] => $this->getEncodedBy(), - $keys[27] => $this->getDiscNumber(), - $keys[28] => $this->getMood(), - $keys[29] => $this->getLabel(), - $keys[30] => $this->getComposer(), - $keys[31] => $this->getEncoder(), - $keys[32] => $this->getChecksum(), - $keys[33] => $this->getLyrics(), - $keys[34] => $this->getOrchestra(), - $keys[35] => $this->getConductor(), - $keys[36] => $this->getLyricist(), - $keys[37] => $this->getOriginalLyricist(), - $keys[38] => $this->getRadioStationName(), - $keys[39] => $this->getInfoUrl(), - $keys[40] => $this->getArtistUrl(), - $keys[41] => $this->getAudioSourceUrl(), - $keys[42] => $this->getRadioStationUrl(), - $keys[43] => $this->getBuyThisUrl(), - $keys[44] => $this->getIsrcNumber(), - $keys[45] => $this->getCatalogNumber(), - $keys[46] => $this->getOriginalArtist(), - $keys[47] => $this->getCopyright(), - $keys[48] => $this->getReportDatetime(), - $keys[49] => $this->getReportLocation(), - $keys[50] => $this->getReportOrganization(), - $keys[51] => $this->getSubject(), - $keys[52] => $this->getContributor(), - $keys[53] => $this->getLanguage(), + $keys[17] => $this->getDbAlbumTitle(), + $keys[18] => $this->getDbGenre(), + $keys[19] => $this->getDbComments(), + $keys[20] => $this->getDbYear(), + $keys[21] => $this->getDbTrackNumber(), + $keys[22] => $this->getDbChannels(), + $keys[23] => $this->getDbUrl(), + $keys[24] => $this->getDbBpm(), + $keys[25] => $this->getDbRating(), + $keys[26] => $this->getDbEncodedBy(), + $keys[27] => $this->getDbDiscNumber(), + $keys[28] => $this->getDbMood(), + $keys[29] => $this->getDbLabel(), + $keys[30] => $this->getDbComposer(), + $keys[31] => $this->getDbEncoder(), + $keys[32] => $this->getDbChecksum(), + $keys[33] => $this->getDbLyrics(), + $keys[34] => $this->getDbOrchestra(), + $keys[35] => $this->getDbConductor(), + $keys[36] => $this->getDbLyricist(), + $keys[37] => $this->getDbOriginalLyricist(), + $keys[38] => $this->getDbRadioStationName(), + $keys[39] => $this->getDbInfoUrl(), + $keys[40] => $this->getDbArtistUrl(), + $keys[41] => $this->getDbAudioSourceUrl(), + $keys[42] => $this->getDbRadioStationUrl(), + $keys[43] => $this->getDbBuyThisUrl(), + $keys[44] => $this->getDbIsrcNumber(), + $keys[45] => $this->getDbCatalogNumber(), + $keys[46] => $this->getDbOriginalArtist(), + $keys[47] => $this->getDbCopyright(), + $keys[48] => $this->getDbReportDatetime(), + $keys[49] => $this->getDbReportLocation(), + $keys[50] => $this->getDbReportOrganization(), + $keys[51] => $this->getDbSubject(), + $keys[52] => $this->getDbContributor(), + $keys[53] => $this->getDbLanguage(), ); if ($includeForeignObjects) { if (null !== $this->aCcSubjs) { @@ -2875,163 +2875,163 @@ abstract class BaseCcFiles extends BaseObject implements Persistent $this->setDbId($value); break; case 1: - $this->setGunid($value); + $this->setDbGunid($value); break; case 2: - $this->setName($value); + $this->setDbName($value); break; case 3: - $this->setMime($value); + $this->setDbMime($value); break; case 4: - $this->setFtype($value); + $this->setDbFtype($value); break; case 5: - $this->setfilepath($value); + $this->setDbFilepath($value); break; case 6: - $this->setState($value); + $this->setDbState($value); break; case 7: - $this->setCurrentlyaccessing($value); + $this->setDbCurrentlyaccessing($value); break; case 8: - $this->setEditedby($value); + $this->setDbEditedby($value); break; case 9: - $this->setMtime($value); + $this->setDbMtime($value); break; case 10: - $this->setMd5($value); + $this->setDbMd5($value); break; case 11: - $this->setTrackTitle($value); + $this->setDbTrackTitle($value); break; case 12: - $this->setArtistName($value); + $this->setDbArtistName($value); break; case 13: - $this->setBitRate($value); + $this->setDbBitRate($value); break; case 14: - $this->setSampleRate($value); + $this->setDbSampleRate($value); break; case 15: - $this->setFormat($value); + $this->setDbFormat($value); break; case 16: $this->setDbLength($value); break; case 17: - $this->setAlbumTitle($value); + $this->setDbAlbumTitle($value); break; case 18: - $this->setGenre($value); + $this->setDbGenre($value); break; case 19: - $this->setComments($value); + $this->setDbComments($value); break; case 20: - $this->setYear($value); + $this->setDbYear($value); break; case 21: - $this->setTrackNumber($value); + $this->setDbTrackNumber($value); break; case 22: - $this->setChannels($value); + $this->setDbChannels($value); break; case 23: - $this->setUrl($value); + $this->setDbUrl($value); break; case 24: - $this->setBpm($value); + $this->setDbBpm($value); break; case 25: - $this->setRating($value); + $this->setDbRating($value); break; case 26: - $this->setEncodedBy($value); + $this->setDbEncodedBy($value); break; case 27: - $this->setDiscNumber($value); + $this->setDbDiscNumber($value); break; case 28: - $this->setMood($value); + $this->setDbMood($value); break; case 29: - $this->setLabel($value); + $this->setDbLabel($value); break; case 30: - $this->setComposer($value); + $this->setDbComposer($value); break; case 31: - $this->setEncoder($value); + $this->setDbEncoder($value); break; case 32: - $this->setChecksum($value); + $this->setDbChecksum($value); break; case 33: - $this->setLyrics($value); + $this->setDbLyrics($value); break; case 34: - $this->setOrchestra($value); + $this->setDbOrchestra($value); break; case 35: - $this->setConductor($value); + $this->setDbConductor($value); break; case 36: - $this->setLyricist($value); + $this->setDbLyricist($value); break; case 37: - $this->setOriginalLyricist($value); + $this->setDbOriginalLyricist($value); break; case 38: - $this->setRadioStationName($value); + $this->setDbRadioStationName($value); break; case 39: - $this->setInfoUrl($value); + $this->setDbInfoUrl($value); break; case 40: - $this->setArtistUrl($value); + $this->setDbArtistUrl($value); break; case 41: - $this->setAudioSourceUrl($value); + $this->setDbAudioSourceUrl($value); break; case 42: - $this->setRadioStationUrl($value); + $this->setDbRadioStationUrl($value); break; case 43: - $this->setBuyThisUrl($value); + $this->setDbBuyThisUrl($value); break; case 44: - $this->setIsrcNumber($value); + $this->setDbIsrcNumber($value); break; case 45: - $this->setCatalogNumber($value); + $this->setDbCatalogNumber($value); break; case 46: - $this->setOriginalArtist($value); + $this->setDbOriginalArtist($value); break; case 47: - $this->setCopyright($value); + $this->setDbCopyright($value); break; case 48: - $this->setReportDatetime($value); + $this->setDbReportDatetime($value); break; case 49: - $this->setReportLocation($value); + $this->setDbReportLocation($value); break; case 50: - $this->setReportOrganization($value); + $this->setDbReportOrganization($value); break; case 51: - $this->setSubject($value); + $this->setDbSubject($value); break; case 52: - $this->setContributor($value); + $this->setDbContributor($value); break; case 53: - $this->setLanguage($value); + $this->setDbLanguage($value); break; } // switch() } @@ -3058,59 +3058,59 @@ abstract class BaseCcFiles extends BaseObject implements Persistent $keys = CcFilesPeer::getFieldNames($keyType); if (array_key_exists($keys[0], $arr)) $this->setDbId($arr[$keys[0]]); - if (array_key_exists($keys[1], $arr)) $this->setGunid($arr[$keys[1]]); - if (array_key_exists($keys[2], $arr)) $this->setName($arr[$keys[2]]); - if (array_key_exists($keys[3], $arr)) $this->setMime($arr[$keys[3]]); - if (array_key_exists($keys[4], $arr)) $this->setFtype($arr[$keys[4]]); - if (array_key_exists($keys[5], $arr)) $this->setfilepath($arr[$keys[5]]); - if (array_key_exists($keys[6], $arr)) $this->setState($arr[$keys[6]]); - if (array_key_exists($keys[7], $arr)) $this->setCurrentlyaccessing($arr[$keys[7]]); - if (array_key_exists($keys[8], $arr)) $this->setEditedby($arr[$keys[8]]); - if (array_key_exists($keys[9], $arr)) $this->setMtime($arr[$keys[9]]); - if (array_key_exists($keys[10], $arr)) $this->setMd5($arr[$keys[10]]); - if (array_key_exists($keys[11], $arr)) $this->setTrackTitle($arr[$keys[11]]); - if (array_key_exists($keys[12], $arr)) $this->setArtistName($arr[$keys[12]]); - if (array_key_exists($keys[13], $arr)) $this->setBitRate($arr[$keys[13]]); - if (array_key_exists($keys[14], $arr)) $this->setSampleRate($arr[$keys[14]]); - if (array_key_exists($keys[15], $arr)) $this->setFormat($arr[$keys[15]]); + if (array_key_exists($keys[1], $arr)) $this->setDbGunid($arr[$keys[1]]); + if (array_key_exists($keys[2], $arr)) $this->setDbName($arr[$keys[2]]); + if (array_key_exists($keys[3], $arr)) $this->setDbMime($arr[$keys[3]]); + if (array_key_exists($keys[4], $arr)) $this->setDbFtype($arr[$keys[4]]); + if (array_key_exists($keys[5], $arr)) $this->setDbFilepath($arr[$keys[5]]); + if (array_key_exists($keys[6], $arr)) $this->setDbState($arr[$keys[6]]); + if (array_key_exists($keys[7], $arr)) $this->setDbCurrentlyaccessing($arr[$keys[7]]); + if (array_key_exists($keys[8], $arr)) $this->setDbEditedby($arr[$keys[8]]); + if (array_key_exists($keys[9], $arr)) $this->setDbMtime($arr[$keys[9]]); + if (array_key_exists($keys[10], $arr)) $this->setDbMd5($arr[$keys[10]]); + if (array_key_exists($keys[11], $arr)) $this->setDbTrackTitle($arr[$keys[11]]); + if (array_key_exists($keys[12], $arr)) $this->setDbArtistName($arr[$keys[12]]); + if (array_key_exists($keys[13], $arr)) $this->setDbBitRate($arr[$keys[13]]); + if (array_key_exists($keys[14], $arr)) $this->setDbSampleRate($arr[$keys[14]]); + if (array_key_exists($keys[15], $arr)) $this->setDbFormat($arr[$keys[15]]); if (array_key_exists($keys[16], $arr)) $this->setDbLength($arr[$keys[16]]); - if (array_key_exists($keys[17], $arr)) $this->setAlbumTitle($arr[$keys[17]]); - if (array_key_exists($keys[18], $arr)) $this->setGenre($arr[$keys[18]]); - if (array_key_exists($keys[19], $arr)) $this->setComments($arr[$keys[19]]); - if (array_key_exists($keys[20], $arr)) $this->setYear($arr[$keys[20]]); - if (array_key_exists($keys[21], $arr)) $this->setTrackNumber($arr[$keys[21]]); - if (array_key_exists($keys[22], $arr)) $this->setChannels($arr[$keys[22]]); - if (array_key_exists($keys[23], $arr)) $this->setUrl($arr[$keys[23]]); - if (array_key_exists($keys[24], $arr)) $this->setBpm($arr[$keys[24]]); - if (array_key_exists($keys[25], $arr)) $this->setRating($arr[$keys[25]]); - if (array_key_exists($keys[26], $arr)) $this->setEncodedBy($arr[$keys[26]]); - if (array_key_exists($keys[27], $arr)) $this->setDiscNumber($arr[$keys[27]]); - if (array_key_exists($keys[28], $arr)) $this->setMood($arr[$keys[28]]); - if (array_key_exists($keys[29], $arr)) $this->setLabel($arr[$keys[29]]); - if (array_key_exists($keys[30], $arr)) $this->setComposer($arr[$keys[30]]); - if (array_key_exists($keys[31], $arr)) $this->setEncoder($arr[$keys[31]]); - if (array_key_exists($keys[32], $arr)) $this->setChecksum($arr[$keys[32]]); - if (array_key_exists($keys[33], $arr)) $this->setLyrics($arr[$keys[33]]); - if (array_key_exists($keys[34], $arr)) $this->setOrchestra($arr[$keys[34]]); - if (array_key_exists($keys[35], $arr)) $this->setConductor($arr[$keys[35]]); - if (array_key_exists($keys[36], $arr)) $this->setLyricist($arr[$keys[36]]); - if (array_key_exists($keys[37], $arr)) $this->setOriginalLyricist($arr[$keys[37]]); - if (array_key_exists($keys[38], $arr)) $this->setRadioStationName($arr[$keys[38]]); - if (array_key_exists($keys[39], $arr)) $this->setInfoUrl($arr[$keys[39]]); - if (array_key_exists($keys[40], $arr)) $this->setArtistUrl($arr[$keys[40]]); - if (array_key_exists($keys[41], $arr)) $this->setAudioSourceUrl($arr[$keys[41]]); - if (array_key_exists($keys[42], $arr)) $this->setRadioStationUrl($arr[$keys[42]]); - if (array_key_exists($keys[43], $arr)) $this->setBuyThisUrl($arr[$keys[43]]); - if (array_key_exists($keys[44], $arr)) $this->setIsrcNumber($arr[$keys[44]]); - if (array_key_exists($keys[45], $arr)) $this->setCatalogNumber($arr[$keys[45]]); - if (array_key_exists($keys[46], $arr)) $this->setOriginalArtist($arr[$keys[46]]); - if (array_key_exists($keys[47], $arr)) $this->setCopyright($arr[$keys[47]]); - if (array_key_exists($keys[48], $arr)) $this->setReportDatetime($arr[$keys[48]]); - if (array_key_exists($keys[49], $arr)) $this->setReportLocation($arr[$keys[49]]); - if (array_key_exists($keys[50], $arr)) $this->setReportOrganization($arr[$keys[50]]); - if (array_key_exists($keys[51], $arr)) $this->setSubject($arr[$keys[51]]); - if (array_key_exists($keys[52], $arr)) $this->setContributor($arr[$keys[52]]); - if (array_key_exists($keys[53], $arr)) $this->setLanguage($arr[$keys[53]]); + if (array_key_exists($keys[17], $arr)) $this->setDbAlbumTitle($arr[$keys[17]]); + if (array_key_exists($keys[18], $arr)) $this->setDbGenre($arr[$keys[18]]); + if (array_key_exists($keys[19], $arr)) $this->setDbComments($arr[$keys[19]]); + if (array_key_exists($keys[20], $arr)) $this->setDbYear($arr[$keys[20]]); + if (array_key_exists($keys[21], $arr)) $this->setDbTrackNumber($arr[$keys[21]]); + if (array_key_exists($keys[22], $arr)) $this->setDbChannels($arr[$keys[22]]); + if (array_key_exists($keys[23], $arr)) $this->setDbUrl($arr[$keys[23]]); + if (array_key_exists($keys[24], $arr)) $this->setDbBpm($arr[$keys[24]]); + if (array_key_exists($keys[25], $arr)) $this->setDbRating($arr[$keys[25]]); + if (array_key_exists($keys[26], $arr)) $this->setDbEncodedBy($arr[$keys[26]]); + if (array_key_exists($keys[27], $arr)) $this->setDbDiscNumber($arr[$keys[27]]); + if (array_key_exists($keys[28], $arr)) $this->setDbMood($arr[$keys[28]]); + if (array_key_exists($keys[29], $arr)) $this->setDbLabel($arr[$keys[29]]); + if (array_key_exists($keys[30], $arr)) $this->setDbComposer($arr[$keys[30]]); + if (array_key_exists($keys[31], $arr)) $this->setDbEncoder($arr[$keys[31]]); + if (array_key_exists($keys[32], $arr)) $this->setDbChecksum($arr[$keys[32]]); + if (array_key_exists($keys[33], $arr)) $this->setDbLyrics($arr[$keys[33]]); + if (array_key_exists($keys[34], $arr)) $this->setDbOrchestra($arr[$keys[34]]); + if (array_key_exists($keys[35], $arr)) $this->setDbConductor($arr[$keys[35]]); + if (array_key_exists($keys[36], $arr)) $this->setDbLyricist($arr[$keys[36]]); + if (array_key_exists($keys[37], $arr)) $this->setDbOriginalLyricist($arr[$keys[37]]); + if (array_key_exists($keys[38], $arr)) $this->setDbRadioStationName($arr[$keys[38]]); + if (array_key_exists($keys[39], $arr)) $this->setDbInfoUrl($arr[$keys[39]]); + if (array_key_exists($keys[40], $arr)) $this->setDbArtistUrl($arr[$keys[40]]); + if (array_key_exists($keys[41], $arr)) $this->setDbAudioSourceUrl($arr[$keys[41]]); + if (array_key_exists($keys[42], $arr)) $this->setDbRadioStationUrl($arr[$keys[42]]); + if (array_key_exists($keys[43], $arr)) $this->setDbBuyThisUrl($arr[$keys[43]]); + if (array_key_exists($keys[44], $arr)) $this->setDbIsrcNumber($arr[$keys[44]]); + if (array_key_exists($keys[45], $arr)) $this->setDbCatalogNumber($arr[$keys[45]]); + if (array_key_exists($keys[46], $arr)) $this->setDbOriginalArtist($arr[$keys[46]]); + if (array_key_exists($keys[47], $arr)) $this->setDbCopyright($arr[$keys[47]]); + if (array_key_exists($keys[48], $arr)) $this->setDbReportDatetime($arr[$keys[48]]); + if (array_key_exists($keys[49], $arr)) $this->setDbReportLocation($arr[$keys[49]]); + if (array_key_exists($keys[50], $arr)) $this->setDbReportOrganization($arr[$keys[50]]); + if (array_key_exists($keys[51], $arr)) $this->setDbSubject($arr[$keys[51]]); + if (array_key_exists($keys[52], $arr)) $this->setDbContributor($arr[$keys[52]]); + if (array_key_exists($keys[53], $arr)) $this->setDbLanguage($arr[$keys[53]]); } /** @@ -3237,59 +3237,59 @@ abstract class BaseCcFiles extends BaseObject implements Persistent */ public function copyInto($copyObj, $deepCopy = false) { - $copyObj->setGunid($this->gunid); - $copyObj->setName($this->name); - $copyObj->setMime($this->mime); - $copyObj->setFtype($this->ftype); - $copyObj->setfilepath($this->filepath); - $copyObj->setState($this->state); - $copyObj->setCurrentlyaccessing($this->currentlyaccessing); - $copyObj->setEditedby($this->editedby); - $copyObj->setMtime($this->mtime); - $copyObj->setMd5($this->md5); - $copyObj->setTrackTitle($this->track_title); - $copyObj->setArtistName($this->artist_name); - $copyObj->setBitRate($this->bit_rate); - $copyObj->setSampleRate($this->sample_rate); - $copyObj->setFormat($this->format); + $copyObj->setDbGunid($this->gunid); + $copyObj->setDbName($this->name); + $copyObj->setDbMime($this->mime); + $copyObj->setDbFtype($this->ftype); + $copyObj->setDbFilepath($this->filepath); + $copyObj->setDbState($this->state); + $copyObj->setDbCurrentlyaccessing($this->currentlyaccessing); + $copyObj->setDbEditedby($this->editedby); + $copyObj->setDbMtime($this->mtime); + $copyObj->setDbMd5($this->md5); + $copyObj->setDbTrackTitle($this->track_title); + $copyObj->setDbArtistName($this->artist_name); + $copyObj->setDbBitRate($this->bit_rate); + $copyObj->setDbSampleRate($this->sample_rate); + $copyObj->setDbFormat($this->format); $copyObj->setDbLength($this->length); - $copyObj->setAlbumTitle($this->album_title); - $copyObj->setGenre($this->genre); - $copyObj->setComments($this->comments); - $copyObj->setYear($this->year); - $copyObj->setTrackNumber($this->track_number); - $copyObj->setChannels($this->channels); - $copyObj->setUrl($this->url); - $copyObj->setBpm($this->bpm); - $copyObj->setRating($this->rating); - $copyObj->setEncodedBy($this->encoded_by); - $copyObj->setDiscNumber($this->disc_number); - $copyObj->setMood($this->mood); - $copyObj->setLabel($this->label); - $copyObj->setComposer($this->composer); - $copyObj->setEncoder($this->encoder); - $copyObj->setChecksum($this->checksum); - $copyObj->setLyrics($this->lyrics); - $copyObj->setOrchestra($this->orchestra); - $copyObj->setConductor($this->conductor); - $copyObj->setLyricist($this->lyricist); - $copyObj->setOriginalLyricist($this->original_lyricist); - $copyObj->setRadioStationName($this->radio_station_name); - $copyObj->setInfoUrl($this->info_url); - $copyObj->setArtistUrl($this->artist_url); - $copyObj->setAudioSourceUrl($this->audio_source_url); - $copyObj->setRadioStationUrl($this->radio_station_url); - $copyObj->setBuyThisUrl($this->buy_this_url); - $copyObj->setIsrcNumber($this->isrc_number); - $copyObj->setCatalogNumber($this->catalog_number); - $copyObj->setOriginalArtist($this->original_artist); - $copyObj->setCopyright($this->copyright); - $copyObj->setReportDatetime($this->report_datetime); - $copyObj->setReportLocation($this->report_location); - $copyObj->setReportOrganization($this->report_organization); - $copyObj->setSubject($this->subject); - $copyObj->setContributor($this->contributor); - $copyObj->setLanguage($this->language); + $copyObj->setDbAlbumTitle($this->album_title); + $copyObj->setDbGenre($this->genre); + $copyObj->setDbComments($this->comments); + $copyObj->setDbYear($this->year); + $copyObj->setDbTrackNumber($this->track_number); + $copyObj->setDbChannels($this->channels); + $copyObj->setDbUrl($this->url); + $copyObj->setDbBpm($this->bpm); + $copyObj->setDbRating($this->rating); + $copyObj->setDbEncodedBy($this->encoded_by); + $copyObj->setDbDiscNumber($this->disc_number); + $copyObj->setDbMood($this->mood); + $copyObj->setDbLabel($this->label); + $copyObj->setDbComposer($this->composer); + $copyObj->setDbEncoder($this->encoder); + $copyObj->setDbChecksum($this->checksum); + $copyObj->setDbLyrics($this->lyrics); + $copyObj->setDbOrchestra($this->orchestra); + $copyObj->setDbConductor($this->conductor); + $copyObj->setDbLyricist($this->lyricist); + $copyObj->setDbOriginalLyricist($this->original_lyricist); + $copyObj->setDbRadioStationName($this->radio_station_name); + $copyObj->setDbInfoUrl($this->info_url); + $copyObj->setDbArtistUrl($this->artist_url); + $copyObj->setDbAudioSourceUrl($this->audio_source_url); + $copyObj->setDbRadioStationUrl($this->radio_station_url); + $copyObj->setDbBuyThisUrl($this->buy_this_url); + $copyObj->setDbIsrcNumber($this->isrc_number); + $copyObj->setDbCatalogNumber($this->catalog_number); + $copyObj->setDbOriginalArtist($this->original_artist); + $copyObj->setDbCopyright($this->copyright); + $copyObj->setDbReportDatetime($this->report_datetime); + $copyObj->setDbReportLocation($this->report_location); + $copyObj->setDbReportOrganization($this->report_organization); + $copyObj->setDbSubject($this->subject); + $copyObj->setDbContributor($this->contributor); + $copyObj->setDbLanguage($this->language); if ($deepCopy) { // important: temporarily setNew(false) because this affects the behavior of @@ -3357,9 +3357,9 @@ abstract class BaseCcFiles extends BaseObject implements Persistent public function setCcSubjs(CcSubjs $v = null) { if ($v === null) { - $this->setEditedby(NULL); + $this->setDbEditedby(NULL); } else { - $this->setEditedby($v->getDbId()); + $this->setDbEditedby($v->getDbId()); } $this->aCcSubjs = $v; diff --git a/application/models/campcaster/om/BaseCcFilesPeer.php b/application/models/campcaster/om/BaseCcFilesPeer.php index 8f48b5fc9..2f62a743d 100644 --- a/application/models/campcaster/om/BaseCcFilesPeer.php +++ b/application/models/campcaster/om/BaseCcFilesPeer.php @@ -209,8 +209,8 @@ abstract class BaseCcFilesPeer { * e.g. self::$fieldNames[self::TYPE_PHPNAME][0] = 'Id' */ private static $fieldNames = array ( - BasePeer::TYPE_PHPNAME => array ('DbId', 'Gunid', 'Name', 'Mime', 'Ftype', 'filepath', 'State', 'Currentlyaccessing', 'Editedby', 'Mtime', 'Md5', 'TrackTitle', 'ArtistName', 'BitRate', 'SampleRate', 'Format', 'DbLength', 'AlbumTitle', 'Genre', 'Comments', 'Year', 'TrackNumber', 'Channels', 'Url', 'Bpm', 'Rating', 'EncodedBy', 'DiscNumber', 'Mood', 'Label', 'Composer', 'Encoder', 'Checksum', 'Lyrics', 'Orchestra', 'Conductor', 'Lyricist', 'OriginalLyricist', 'RadioStationName', 'InfoUrl', 'ArtistUrl', 'AudioSourceUrl', 'RadioStationUrl', 'BuyThisUrl', 'IsrcNumber', 'CatalogNumber', 'OriginalArtist', 'Copyright', 'ReportDatetime', 'ReportLocation', 'ReportOrganization', 'Subject', 'Contributor', 'Language', ), - BasePeer::TYPE_STUDLYPHPNAME => array ('dbId', 'gunid', 'name', 'mime', 'ftype', 'filepath', 'state', 'currentlyaccessing', 'editedby', 'mtime', 'md5', 'trackTitle', 'artistName', 'bitRate', 'sampleRate', 'format', 'dbLength', 'albumTitle', 'genre', 'comments', 'year', 'trackNumber', 'channels', 'url', 'bpm', 'rating', 'encodedBy', 'discNumber', 'mood', 'label', 'composer', 'encoder', 'checksum', 'lyrics', 'orchestra', 'conductor', 'lyricist', 'originalLyricist', 'radioStationName', 'infoUrl', 'artistUrl', 'audioSourceUrl', 'radioStationUrl', 'buyThisUrl', 'isrcNumber', 'catalogNumber', 'originalArtist', 'copyright', 'reportDatetime', 'reportLocation', 'reportOrganization', 'subject', 'contributor', 'language', ), + BasePeer::TYPE_PHPNAME => array ('DbId', 'DbGunid', 'DbName', 'DbMime', 'DbFtype', 'DbFilepath', 'DbState', 'DbCurrentlyaccessing', 'DbEditedby', 'DbMtime', 'DbMd5', 'DbTrackTitle', 'DbArtistName', 'DbBitRate', 'DbSampleRate', 'DbFormat', 'DbLength', 'DbAlbumTitle', 'DbGenre', 'DbComments', 'DbYear', 'DbTrackNumber', 'DbChannels', 'DbUrl', 'DbBpm', 'DbRating', 'DbEncodedBy', 'DbDiscNumber', 'DbMood', 'DbLabel', 'DbComposer', 'DbEncoder', 'DbChecksum', 'DbLyrics', 'DbOrchestra', 'DbConductor', 'DbLyricist', 'DbOriginalLyricist', 'DbRadioStationName', 'DbInfoUrl', 'DbArtistUrl', 'DbAudioSourceUrl', 'DbRadioStationUrl', 'DbBuyThisUrl', 'DbIsrcNumber', 'DbCatalogNumber', 'DbOriginalArtist', 'DbCopyright', 'DbReportDatetime', 'DbReportLocation', 'DbReportOrganization', 'DbSubject', 'DbContributor', 'DbLanguage', ), + BasePeer::TYPE_STUDLYPHPNAME => array ('dbId', 'dbGunid', 'dbName', 'dbMime', 'dbFtype', 'dbFilepath', 'dbState', 'dbCurrentlyaccessing', 'dbEditedby', 'dbMtime', 'dbMd5', 'dbTrackTitle', 'dbArtistName', 'dbBitRate', 'dbSampleRate', 'dbFormat', 'dbLength', 'dbAlbumTitle', 'dbGenre', 'dbComments', 'dbYear', 'dbTrackNumber', 'dbChannels', 'dbUrl', 'dbBpm', 'dbRating', 'dbEncodedBy', 'dbDiscNumber', 'dbMood', 'dbLabel', 'dbComposer', 'dbEncoder', 'dbChecksum', 'dbLyrics', 'dbOrchestra', 'dbConductor', 'dbLyricist', 'dbOriginalLyricist', 'dbRadioStationName', 'dbInfoUrl', 'dbArtistUrl', 'dbAudioSourceUrl', 'dbRadioStationUrl', 'dbBuyThisUrl', 'dbIsrcNumber', 'dbCatalogNumber', 'dbOriginalArtist', 'dbCopyright', 'dbReportDatetime', 'dbReportLocation', 'dbReportOrganization', 'dbSubject', 'dbContributor', 'dbLanguage', ), BasePeer::TYPE_COLNAME => array (self::ID, self::GUNID, self::NAME, self::MIME, self::FTYPE, self::FILEPATH, self::STATE, self::CURRENTLYACCESSING, self::EDITEDBY, self::MTIME, self::MD5, self::TRACK_TITLE, self::ARTIST_NAME, self::BIT_RATE, self::SAMPLE_RATE, self::FORMAT, self::LENGTH, self::ALBUM_TITLE, self::GENRE, self::COMMENTS, self::YEAR, self::TRACK_NUMBER, self::CHANNELS, self::URL, self::BPM, self::RATING, self::ENCODED_BY, self::DISC_NUMBER, self::MOOD, self::LABEL, self::COMPOSER, self::ENCODER, self::CHECKSUM, self::LYRICS, self::ORCHESTRA, self::CONDUCTOR, self::LYRICIST, self::ORIGINAL_LYRICIST, self::RADIO_STATION_NAME, self::INFO_URL, self::ARTIST_URL, self::AUDIO_SOURCE_URL, self::RADIO_STATION_URL, self::BUY_THIS_URL, self::ISRC_NUMBER, self::CATALOG_NUMBER, self::ORIGINAL_ARTIST, self::COPYRIGHT, self::REPORT_DATETIME, self::REPORT_LOCATION, self::REPORT_ORGANIZATION, self::SUBJECT, self::CONTRIBUTOR, self::LANGUAGE, ), BasePeer::TYPE_RAW_COLNAME => array ('ID', 'GUNID', 'NAME', 'MIME', 'FTYPE', 'FILEPATH', 'STATE', 'CURRENTLYACCESSING', 'EDITEDBY', 'MTIME', 'MD5', 'TRACK_TITLE', 'ARTIST_NAME', 'BIT_RATE', 'SAMPLE_RATE', 'FORMAT', 'LENGTH', 'ALBUM_TITLE', 'GENRE', 'COMMENTS', 'YEAR', 'TRACK_NUMBER', 'CHANNELS', 'URL', 'BPM', 'RATING', 'ENCODED_BY', 'DISC_NUMBER', 'MOOD', 'LABEL', 'COMPOSER', 'ENCODER', 'CHECKSUM', 'LYRICS', 'ORCHESTRA', 'CONDUCTOR', 'LYRICIST', 'ORIGINAL_LYRICIST', 'RADIO_STATION_NAME', 'INFO_URL', 'ARTIST_URL', 'AUDIO_SOURCE_URL', 'RADIO_STATION_URL', 'BUY_THIS_URL', 'ISRC_NUMBER', 'CATALOG_NUMBER', 'ORIGINAL_ARTIST', 'COPYRIGHT', 'REPORT_DATETIME', 'REPORT_LOCATION', 'REPORT_ORGANIZATION', 'SUBJECT', 'CONTRIBUTOR', 'LANGUAGE', ), BasePeer::TYPE_FIELDNAME => array ('id', 'gunid', 'name', 'mime', 'ftype', 'filepath', 'state', 'currentlyaccessing', 'editedby', 'mtime', 'md5', 'track_title', 'artist_name', 'bit_rate', 'sample_rate', 'format', 'length', 'album_title', 'genre', 'comments', 'year', 'track_number', 'channels', 'url', 'bpm', 'rating', 'encoded_by', 'disc_number', 'mood', 'label', 'composer', 'encoder', 'checksum', 'lyrics', 'orchestra', 'conductor', 'lyricist', 'original_lyricist', 'radio_station_name', 'info_url', 'artist_url', 'audio_source_url', 'radio_station_url', 'buy_this_url', 'isrc_number', 'catalog_number', 'original_artist', 'copyright', 'report_datetime', 'report_location', 'report_organization', 'subject', 'contributor', 'language', ), @@ -224,8 +224,8 @@ abstract class BaseCcFilesPeer { * e.g. self::$fieldNames[BasePeer::TYPE_PHPNAME]['Id'] = 0 */ private static $fieldKeys = array ( - BasePeer::TYPE_PHPNAME => array ('DbId' => 0, 'Gunid' => 1, 'Name' => 2, 'Mime' => 3, 'Ftype' => 4, 'filepath' => 5, 'State' => 6, 'Currentlyaccessing' => 7, 'Editedby' => 8, 'Mtime' => 9, 'Md5' => 10, 'TrackTitle' => 11, 'ArtistName' => 12, 'BitRate' => 13, 'SampleRate' => 14, 'Format' => 15, 'DbLength' => 16, 'AlbumTitle' => 17, 'Genre' => 18, 'Comments' => 19, 'Year' => 20, 'TrackNumber' => 21, 'Channels' => 22, 'Url' => 23, 'Bpm' => 24, 'Rating' => 25, 'EncodedBy' => 26, 'DiscNumber' => 27, 'Mood' => 28, 'Label' => 29, 'Composer' => 30, 'Encoder' => 31, 'Checksum' => 32, 'Lyrics' => 33, 'Orchestra' => 34, 'Conductor' => 35, 'Lyricist' => 36, 'OriginalLyricist' => 37, 'RadioStationName' => 38, 'InfoUrl' => 39, 'ArtistUrl' => 40, 'AudioSourceUrl' => 41, 'RadioStationUrl' => 42, 'BuyThisUrl' => 43, 'IsrcNumber' => 44, 'CatalogNumber' => 45, 'OriginalArtist' => 46, 'Copyright' => 47, 'ReportDatetime' => 48, 'ReportLocation' => 49, 'ReportOrganization' => 50, 'Subject' => 51, 'Contributor' => 52, 'Language' => 53, ), - BasePeer::TYPE_STUDLYPHPNAME => array ('dbId' => 0, 'gunid' => 1, 'name' => 2, 'mime' => 3, 'ftype' => 4, 'filepath' => 5, 'state' => 6, 'currentlyaccessing' => 7, 'editedby' => 8, 'mtime' => 9, 'md5' => 10, 'trackTitle' => 11, 'artistName' => 12, 'bitRate' => 13, 'sampleRate' => 14, 'format' => 15, 'dbLength' => 16, 'albumTitle' => 17, 'genre' => 18, 'comments' => 19, 'year' => 20, 'trackNumber' => 21, 'channels' => 22, 'url' => 23, 'bpm' => 24, 'rating' => 25, 'encodedBy' => 26, 'discNumber' => 27, 'mood' => 28, 'label' => 29, 'composer' => 30, 'encoder' => 31, 'checksum' => 32, 'lyrics' => 33, 'orchestra' => 34, 'conductor' => 35, 'lyricist' => 36, 'originalLyricist' => 37, 'radioStationName' => 38, 'infoUrl' => 39, 'artistUrl' => 40, 'audioSourceUrl' => 41, 'radioStationUrl' => 42, 'buyThisUrl' => 43, 'isrcNumber' => 44, 'catalogNumber' => 45, 'originalArtist' => 46, 'copyright' => 47, 'reportDatetime' => 48, 'reportLocation' => 49, 'reportOrganization' => 50, 'subject' => 51, 'contributor' => 52, 'language' => 53, ), + BasePeer::TYPE_PHPNAME => array ('DbId' => 0, 'DbGunid' => 1, 'DbName' => 2, 'DbMime' => 3, 'DbFtype' => 4, 'DbFilepath' => 5, 'DbState' => 6, 'DbCurrentlyaccessing' => 7, 'DbEditedby' => 8, 'DbMtime' => 9, 'DbMd5' => 10, 'DbTrackTitle' => 11, 'DbArtistName' => 12, 'DbBitRate' => 13, 'DbSampleRate' => 14, 'DbFormat' => 15, 'DbLength' => 16, 'DbAlbumTitle' => 17, 'DbGenre' => 18, 'DbComments' => 19, 'DbYear' => 20, 'DbTrackNumber' => 21, 'DbChannels' => 22, 'DbUrl' => 23, 'DbBpm' => 24, 'DbRating' => 25, 'DbEncodedBy' => 26, 'DbDiscNumber' => 27, 'DbMood' => 28, 'DbLabel' => 29, 'DbComposer' => 30, 'DbEncoder' => 31, 'DbChecksum' => 32, 'DbLyrics' => 33, 'DbOrchestra' => 34, 'DbConductor' => 35, 'DbLyricist' => 36, 'DbOriginalLyricist' => 37, 'DbRadioStationName' => 38, 'DbInfoUrl' => 39, 'DbArtistUrl' => 40, 'DbAudioSourceUrl' => 41, 'DbRadioStationUrl' => 42, 'DbBuyThisUrl' => 43, 'DbIsrcNumber' => 44, 'DbCatalogNumber' => 45, 'DbOriginalArtist' => 46, 'DbCopyright' => 47, 'DbReportDatetime' => 48, 'DbReportLocation' => 49, 'DbReportOrganization' => 50, 'DbSubject' => 51, 'DbContributor' => 52, 'DbLanguage' => 53, ), + BasePeer::TYPE_STUDLYPHPNAME => array ('dbId' => 0, 'dbGunid' => 1, 'dbName' => 2, 'dbMime' => 3, 'dbFtype' => 4, 'dbFilepath' => 5, 'dbState' => 6, 'dbCurrentlyaccessing' => 7, 'dbEditedby' => 8, 'dbMtime' => 9, 'dbMd5' => 10, 'dbTrackTitle' => 11, 'dbArtistName' => 12, 'dbBitRate' => 13, 'dbSampleRate' => 14, 'dbFormat' => 15, 'dbLength' => 16, 'dbAlbumTitle' => 17, 'dbGenre' => 18, 'dbComments' => 19, 'dbYear' => 20, 'dbTrackNumber' => 21, 'dbChannels' => 22, 'dbUrl' => 23, 'dbBpm' => 24, 'dbRating' => 25, 'dbEncodedBy' => 26, 'dbDiscNumber' => 27, 'dbMood' => 28, 'dbLabel' => 29, 'dbComposer' => 30, 'dbEncoder' => 31, 'dbChecksum' => 32, 'dbLyrics' => 33, 'dbOrchestra' => 34, 'dbConductor' => 35, 'dbLyricist' => 36, 'dbOriginalLyricist' => 37, 'dbRadioStationName' => 38, 'dbInfoUrl' => 39, 'dbArtistUrl' => 40, 'dbAudioSourceUrl' => 41, 'dbRadioStationUrl' => 42, 'dbBuyThisUrl' => 43, 'dbIsrcNumber' => 44, 'dbCatalogNumber' => 45, 'dbOriginalArtist' => 46, 'dbCopyright' => 47, 'dbReportDatetime' => 48, 'dbReportLocation' => 49, 'dbReportOrganization' => 50, 'dbSubject' => 51, 'dbContributor' => 52, 'dbLanguage' => 53, ), BasePeer::TYPE_COLNAME => array (self::ID => 0, self::GUNID => 1, self::NAME => 2, self::MIME => 3, self::FTYPE => 4, self::FILEPATH => 5, self::STATE => 6, self::CURRENTLYACCESSING => 7, self::EDITEDBY => 8, self::MTIME => 9, self::MD5 => 10, self::TRACK_TITLE => 11, self::ARTIST_NAME => 12, self::BIT_RATE => 13, self::SAMPLE_RATE => 14, self::FORMAT => 15, self::LENGTH => 16, self::ALBUM_TITLE => 17, self::GENRE => 18, self::COMMENTS => 19, self::YEAR => 20, self::TRACK_NUMBER => 21, self::CHANNELS => 22, self::URL => 23, self::BPM => 24, self::RATING => 25, self::ENCODED_BY => 26, self::DISC_NUMBER => 27, self::MOOD => 28, self::LABEL => 29, self::COMPOSER => 30, self::ENCODER => 31, self::CHECKSUM => 32, self::LYRICS => 33, self::ORCHESTRA => 34, self::CONDUCTOR => 35, self::LYRICIST => 36, self::ORIGINAL_LYRICIST => 37, self::RADIO_STATION_NAME => 38, self::INFO_URL => 39, self::ARTIST_URL => 40, self::AUDIO_SOURCE_URL => 41, self::RADIO_STATION_URL => 42, self::BUY_THIS_URL => 43, self::ISRC_NUMBER => 44, self::CATALOG_NUMBER => 45, self::ORIGINAL_ARTIST => 46, self::COPYRIGHT => 47, self::REPORT_DATETIME => 48, self::REPORT_LOCATION => 49, self::REPORT_ORGANIZATION => 50, self::SUBJECT => 51, self::CONTRIBUTOR => 52, self::LANGUAGE => 53, ), BasePeer::TYPE_RAW_COLNAME => array ('ID' => 0, 'GUNID' => 1, 'NAME' => 2, 'MIME' => 3, 'FTYPE' => 4, 'FILEPATH' => 5, 'STATE' => 6, 'CURRENTLYACCESSING' => 7, 'EDITEDBY' => 8, 'MTIME' => 9, 'MD5' => 10, 'TRACK_TITLE' => 11, 'ARTIST_NAME' => 12, 'BIT_RATE' => 13, 'SAMPLE_RATE' => 14, 'FORMAT' => 15, 'LENGTH' => 16, 'ALBUM_TITLE' => 17, 'GENRE' => 18, 'COMMENTS' => 19, 'YEAR' => 20, 'TRACK_NUMBER' => 21, 'CHANNELS' => 22, 'URL' => 23, 'BPM' => 24, 'RATING' => 25, 'ENCODED_BY' => 26, 'DISC_NUMBER' => 27, 'MOOD' => 28, 'LABEL' => 29, 'COMPOSER' => 30, 'ENCODER' => 31, 'CHECKSUM' => 32, 'LYRICS' => 33, 'ORCHESTRA' => 34, 'CONDUCTOR' => 35, 'LYRICIST' => 36, 'ORIGINAL_LYRICIST' => 37, 'RADIO_STATION_NAME' => 38, 'INFO_URL' => 39, 'ARTIST_URL' => 40, 'AUDIO_SOURCE_URL' => 41, 'RADIO_STATION_URL' => 42, 'BUY_THIS_URL' => 43, 'ISRC_NUMBER' => 44, 'CATALOG_NUMBER' => 45, 'ORIGINAL_ARTIST' => 46, 'COPYRIGHT' => 47, 'REPORT_DATETIME' => 48, 'REPORT_LOCATION' => 49, 'REPORT_ORGANIZATION' => 50, 'SUBJECT' => 51, 'CONTRIBUTOR' => 52, 'LANGUAGE' => 53, ), BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'gunid' => 1, 'name' => 2, 'mime' => 3, 'ftype' => 4, 'filepath' => 5, 'state' => 6, 'currentlyaccessing' => 7, 'editedby' => 8, 'mtime' => 9, 'md5' => 10, 'track_title' => 11, 'artist_name' => 12, 'bit_rate' => 13, 'sample_rate' => 14, 'format' => 15, 'length' => 16, 'album_title' => 17, 'genre' => 18, 'comments' => 19, 'year' => 20, 'track_number' => 21, 'channels' => 22, 'url' => 23, 'bpm' => 24, 'rating' => 25, 'encoded_by' => 26, 'disc_number' => 27, 'mood' => 28, 'label' => 29, 'composer' => 30, 'encoder' => 31, 'checksum' => 32, 'lyrics' => 33, 'orchestra' => 34, 'conductor' => 35, 'lyricist' => 36, 'original_lyricist' => 37, 'radio_station_name' => 38, 'info_url' => 39, 'artist_url' => 40, 'audio_source_url' => 41, 'radio_station_url' => 42, 'buy_this_url' => 43, 'isrc_number' => 44, 'catalog_number' => 45, 'original_artist' => 46, 'copyright' => 47, 'report_datetime' => 48, 'report_location' => 49, 'report_organization' => 50, 'subject' => 51, 'contributor' => 52, 'language' => 53, ), diff --git a/application/models/campcaster/om/BaseCcFilesQuery.php b/application/models/campcaster/om/BaseCcFilesQuery.php index 1dc7400cb..4e380faff 100644 --- a/application/models/campcaster/om/BaseCcFilesQuery.php +++ b/application/models/campcaster/om/BaseCcFilesQuery.php @@ -7,114 +7,114 @@ * * * @method CcFilesQuery orderByDbId($order = Criteria::ASC) Order by the id column - * @method CcFilesQuery orderByGunid($order = Criteria::ASC) Order by the gunid column - * @method CcFilesQuery orderByName($order = Criteria::ASC) Order by the name column - * @method CcFilesQuery orderByMime($order = Criteria::ASC) Order by the mime column - * @method CcFilesQuery orderByFtype($order = Criteria::ASC) Order by the ftype column - * @method CcFilesQuery orderByfilepath($order = Criteria::ASC) Order by the filepath column - * @method CcFilesQuery orderByState($order = Criteria::ASC) Order by the state column - * @method CcFilesQuery orderByCurrentlyaccessing($order = Criteria::ASC) Order by the currentlyaccessing column - * @method CcFilesQuery orderByEditedby($order = Criteria::ASC) Order by the editedby column - * @method CcFilesQuery orderByMtime($order = Criteria::ASC) Order by the mtime column - * @method CcFilesQuery orderByMd5($order = Criteria::ASC) Order by the md5 column - * @method CcFilesQuery orderByTrackTitle($order = Criteria::ASC) Order by the track_title column - * @method CcFilesQuery orderByArtistName($order = Criteria::ASC) Order by the artist_name column - * @method CcFilesQuery orderByBitRate($order = Criteria::ASC) Order by the bit_rate column - * @method CcFilesQuery orderBySampleRate($order = Criteria::ASC) Order by the sample_rate column - * @method CcFilesQuery orderByFormat($order = Criteria::ASC) Order by the format column + * @method CcFilesQuery orderByDbGunid($order = Criteria::ASC) Order by the gunid column + * @method CcFilesQuery orderByDbName($order = Criteria::ASC) Order by the name column + * @method CcFilesQuery orderByDbMime($order = Criteria::ASC) Order by the mime column + * @method CcFilesQuery orderByDbFtype($order = Criteria::ASC) Order by the ftype column + * @method CcFilesQuery orderByDbFilepath($order = Criteria::ASC) Order by the filepath column + * @method CcFilesQuery orderByDbState($order = Criteria::ASC) Order by the state column + * @method CcFilesQuery orderByDbCurrentlyaccessing($order = Criteria::ASC) Order by the currentlyaccessing column + * @method CcFilesQuery orderByDbEditedby($order = Criteria::ASC) Order by the editedby column + * @method CcFilesQuery orderByDbMtime($order = Criteria::ASC) Order by the mtime column + * @method CcFilesQuery orderByDbMd5($order = Criteria::ASC) Order by the md5 column + * @method CcFilesQuery orderByDbTrackTitle($order = Criteria::ASC) Order by the track_title column + * @method CcFilesQuery orderByDbArtistName($order = Criteria::ASC) Order by the artist_name column + * @method CcFilesQuery orderByDbBitRate($order = Criteria::ASC) Order by the bit_rate column + * @method CcFilesQuery orderByDbSampleRate($order = Criteria::ASC) Order by the sample_rate column + * @method CcFilesQuery orderByDbFormat($order = Criteria::ASC) Order by the format column * @method CcFilesQuery orderByDbLength($order = Criteria::ASC) Order by the length column - * @method CcFilesQuery orderByAlbumTitle($order = Criteria::ASC) Order by the album_title column - * @method CcFilesQuery orderByGenre($order = Criteria::ASC) Order by the genre column - * @method CcFilesQuery orderByComments($order = Criteria::ASC) Order by the comments column - * @method CcFilesQuery orderByYear($order = Criteria::ASC) Order by the year column - * @method CcFilesQuery orderByTrackNumber($order = Criteria::ASC) Order by the track_number column - * @method CcFilesQuery orderByChannels($order = Criteria::ASC) Order by the channels column - * @method CcFilesQuery orderByUrl($order = Criteria::ASC) Order by the url column - * @method CcFilesQuery orderByBpm($order = Criteria::ASC) Order by the bpm column - * @method CcFilesQuery orderByRating($order = Criteria::ASC) Order by the rating column - * @method CcFilesQuery orderByEncodedBy($order = Criteria::ASC) Order by the encoded_by column - * @method CcFilesQuery orderByDiscNumber($order = Criteria::ASC) Order by the disc_number column - * @method CcFilesQuery orderByMood($order = Criteria::ASC) Order by the mood column - * @method CcFilesQuery orderByLabel($order = Criteria::ASC) Order by the label column - * @method CcFilesQuery orderByComposer($order = Criteria::ASC) Order by the composer column - * @method CcFilesQuery orderByEncoder($order = Criteria::ASC) Order by the encoder column - * @method CcFilesQuery orderByChecksum($order = Criteria::ASC) Order by the checksum column - * @method CcFilesQuery orderByLyrics($order = Criteria::ASC) Order by the lyrics column - * @method CcFilesQuery orderByOrchestra($order = Criteria::ASC) Order by the orchestra column - * @method CcFilesQuery orderByConductor($order = Criteria::ASC) Order by the conductor column - * @method CcFilesQuery orderByLyricist($order = Criteria::ASC) Order by the lyricist column - * @method CcFilesQuery orderByOriginalLyricist($order = Criteria::ASC) Order by the original_lyricist column - * @method CcFilesQuery orderByRadioStationName($order = Criteria::ASC) Order by the radio_station_name column - * @method CcFilesQuery orderByInfoUrl($order = Criteria::ASC) Order by the info_url column - * @method CcFilesQuery orderByArtistUrl($order = Criteria::ASC) Order by the artist_url column - * @method CcFilesQuery orderByAudioSourceUrl($order = Criteria::ASC) Order by the audio_source_url column - * @method CcFilesQuery orderByRadioStationUrl($order = Criteria::ASC) Order by the radio_station_url column - * @method CcFilesQuery orderByBuyThisUrl($order = Criteria::ASC) Order by the buy_this_url column - * @method CcFilesQuery orderByIsrcNumber($order = Criteria::ASC) Order by the isrc_number column - * @method CcFilesQuery orderByCatalogNumber($order = Criteria::ASC) Order by the catalog_number column - * @method CcFilesQuery orderByOriginalArtist($order = Criteria::ASC) Order by the original_artist column - * @method CcFilesQuery orderByCopyright($order = Criteria::ASC) Order by the copyright column - * @method CcFilesQuery orderByReportDatetime($order = Criteria::ASC) Order by the report_datetime column - * @method CcFilesQuery orderByReportLocation($order = Criteria::ASC) Order by the report_location column - * @method CcFilesQuery orderByReportOrganization($order = Criteria::ASC) Order by the report_organization column - * @method CcFilesQuery orderBySubject($order = Criteria::ASC) Order by the subject column - * @method CcFilesQuery orderByContributor($order = Criteria::ASC) Order by the contributor column - * @method CcFilesQuery orderByLanguage($order = Criteria::ASC) Order by the language column + * @method CcFilesQuery orderByDbAlbumTitle($order = Criteria::ASC) Order by the album_title column + * @method CcFilesQuery orderByDbGenre($order = Criteria::ASC) Order by the genre column + * @method CcFilesQuery orderByDbComments($order = Criteria::ASC) Order by the comments column + * @method CcFilesQuery orderByDbYear($order = Criteria::ASC) Order by the year column + * @method CcFilesQuery orderByDbTrackNumber($order = Criteria::ASC) Order by the track_number column + * @method CcFilesQuery orderByDbChannels($order = Criteria::ASC) Order by the channels column + * @method CcFilesQuery orderByDbUrl($order = Criteria::ASC) Order by the url column + * @method CcFilesQuery orderByDbBpm($order = Criteria::ASC) Order by the bpm column + * @method CcFilesQuery orderByDbRating($order = Criteria::ASC) Order by the rating column + * @method CcFilesQuery orderByDbEncodedBy($order = Criteria::ASC) Order by the encoded_by column + * @method CcFilesQuery orderByDbDiscNumber($order = Criteria::ASC) Order by the disc_number column + * @method CcFilesQuery orderByDbMood($order = Criteria::ASC) Order by the mood column + * @method CcFilesQuery orderByDbLabel($order = Criteria::ASC) Order by the label column + * @method CcFilesQuery orderByDbComposer($order = Criteria::ASC) Order by the composer column + * @method CcFilesQuery orderByDbEncoder($order = Criteria::ASC) Order by the encoder column + * @method CcFilesQuery orderByDbChecksum($order = Criteria::ASC) Order by the checksum column + * @method CcFilesQuery orderByDbLyrics($order = Criteria::ASC) Order by the lyrics column + * @method CcFilesQuery orderByDbOrchestra($order = Criteria::ASC) Order by the orchestra column + * @method CcFilesQuery orderByDbConductor($order = Criteria::ASC) Order by the conductor column + * @method CcFilesQuery orderByDbLyricist($order = Criteria::ASC) Order by the lyricist column + * @method CcFilesQuery orderByDbOriginalLyricist($order = Criteria::ASC) Order by the original_lyricist column + * @method CcFilesQuery orderByDbRadioStationName($order = Criteria::ASC) Order by the radio_station_name column + * @method CcFilesQuery orderByDbInfoUrl($order = Criteria::ASC) Order by the info_url column + * @method CcFilesQuery orderByDbArtistUrl($order = Criteria::ASC) Order by the artist_url column + * @method CcFilesQuery orderByDbAudioSourceUrl($order = Criteria::ASC) Order by the audio_source_url column + * @method CcFilesQuery orderByDbRadioStationUrl($order = Criteria::ASC) Order by the radio_station_url column + * @method CcFilesQuery orderByDbBuyThisUrl($order = Criteria::ASC) Order by the buy_this_url column + * @method CcFilesQuery orderByDbIsrcNumber($order = Criteria::ASC) Order by the isrc_number column + * @method CcFilesQuery orderByDbCatalogNumber($order = Criteria::ASC) Order by the catalog_number column + * @method CcFilesQuery orderByDbOriginalArtist($order = Criteria::ASC) Order by the original_artist column + * @method CcFilesQuery orderByDbCopyright($order = Criteria::ASC) Order by the copyright column + * @method CcFilesQuery orderByDbReportDatetime($order = Criteria::ASC) Order by the report_datetime column + * @method CcFilesQuery orderByDbReportLocation($order = Criteria::ASC) Order by the report_location column + * @method CcFilesQuery orderByDbReportOrganization($order = Criteria::ASC) Order by the report_organization column + * @method CcFilesQuery orderByDbSubject($order = Criteria::ASC) Order by the subject column + * @method CcFilesQuery orderByDbContributor($order = Criteria::ASC) Order by the contributor column + * @method CcFilesQuery orderByDbLanguage($order = Criteria::ASC) Order by the language column * * @method CcFilesQuery groupByDbId() Group by the id column - * @method CcFilesQuery groupByGunid() Group by the gunid column - * @method CcFilesQuery groupByName() Group by the name column - * @method CcFilesQuery groupByMime() Group by the mime column - * @method CcFilesQuery groupByFtype() Group by the ftype column - * @method CcFilesQuery groupByfilepath() Group by the filepath column - * @method CcFilesQuery groupByState() Group by the state column - * @method CcFilesQuery groupByCurrentlyaccessing() Group by the currentlyaccessing column - * @method CcFilesQuery groupByEditedby() Group by the editedby column - * @method CcFilesQuery groupByMtime() Group by the mtime column - * @method CcFilesQuery groupByMd5() Group by the md5 column - * @method CcFilesQuery groupByTrackTitle() Group by the track_title column - * @method CcFilesQuery groupByArtistName() Group by the artist_name column - * @method CcFilesQuery groupByBitRate() Group by the bit_rate column - * @method CcFilesQuery groupBySampleRate() Group by the sample_rate column - * @method CcFilesQuery groupByFormat() Group by the format column + * @method CcFilesQuery groupByDbGunid() Group by the gunid column + * @method CcFilesQuery groupByDbName() Group by the name column + * @method CcFilesQuery groupByDbMime() Group by the mime column + * @method CcFilesQuery groupByDbFtype() Group by the ftype column + * @method CcFilesQuery groupByDbFilepath() Group by the filepath column + * @method CcFilesQuery groupByDbState() Group by the state column + * @method CcFilesQuery groupByDbCurrentlyaccessing() Group by the currentlyaccessing column + * @method CcFilesQuery groupByDbEditedby() Group by the editedby column + * @method CcFilesQuery groupByDbMtime() Group by the mtime column + * @method CcFilesQuery groupByDbMd5() Group by the md5 column + * @method CcFilesQuery groupByDbTrackTitle() Group by the track_title column + * @method CcFilesQuery groupByDbArtistName() Group by the artist_name column + * @method CcFilesQuery groupByDbBitRate() Group by the bit_rate column + * @method CcFilesQuery groupByDbSampleRate() Group by the sample_rate column + * @method CcFilesQuery groupByDbFormat() Group by the format column * @method CcFilesQuery groupByDbLength() Group by the length column - * @method CcFilesQuery groupByAlbumTitle() Group by the album_title column - * @method CcFilesQuery groupByGenre() Group by the genre column - * @method CcFilesQuery groupByComments() Group by the comments column - * @method CcFilesQuery groupByYear() Group by the year column - * @method CcFilesQuery groupByTrackNumber() Group by the track_number column - * @method CcFilesQuery groupByChannels() Group by the channels column - * @method CcFilesQuery groupByUrl() Group by the url column - * @method CcFilesQuery groupByBpm() Group by the bpm column - * @method CcFilesQuery groupByRating() Group by the rating column - * @method CcFilesQuery groupByEncodedBy() Group by the encoded_by column - * @method CcFilesQuery groupByDiscNumber() Group by the disc_number column - * @method CcFilesQuery groupByMood() Group by the mood column - * @method CcFilesQuery groupByLabel() Group by the label column - * @method CcFilesQuery groupByComposer() Group by the composer column - * @method CcFilesQuery groupByEncoder() Group by the encoder column - * @method CcFilesQuery groupByChecksum() Group by the checksum column - * @method CcFilesQuery groupByLyrics() Group by the lyrics column - * @method CcFilesQuery groupByOrchestra() Group by the orchestra column - * @method CcFilesQuery groupByConductor() Group by the conductor column - * @method CcFilesQuery groupByLyricist() Group by the lyricist column - * @method CcFilesQuery groupByOriginalLyricist() Group by the original_lyricist column - * @method CcFilesQuery groupByRadioStationName() Group by the radio_station_name column - * @method CcFilesQuery groupByInfoUrl() Group by the info_url column - * @method CcFilesQuery groupByArtistUrl() Group by the artist_url column - * @method CcFilesQuery groupByAudioSourceUrl() Group by the audio_source_url column - * @method CcFilesQuery groupByRadioStationUrl() Group by the radio_station_url column - * @method CcFilesQuery groupByBuyThisUrl() Group by the buy_this_url column - * @method CcFilesQuery groupByIsrcNumber() Group by the isrc_number column - * @method CcFilesQuery groupByCatalogNumber() Group by the catalog_number column - * @method CcFilesQuery groupByOriginalArtist() Group by the original_artist column - * @method CcFilesQuery groupByCopyright() Group by the copyright column - * @method CcFilesQuery groupByReportDatetime() Group by the report_datetime column - * @method CcFilesQuery groupByReportLocation() Group by the report_location column - * @method CcFilesQuery groupByReportOrganization() Group by the report_organization column - * @method CcFilesQuery groupBySubject() Group by the subject column - * @method CcFilesQuery groupByContributor() Group by the contributor column - * @method CcFilesQuery groupByLanguage() Group by the language column + * @method CcFilesQuery groupByDbAlbumTitle() Group by the album_title column + * @method CcFilesQuery groupByDbGenre() Group by the genre column + * @method CcFilesQuery groupByDbComments() Group by the comments column + * @method CcFilesQuery groupByDbYear() Group by the year column + * @method CcFilesQuery groupByDbTrackNumber() Group by the track_number column + * @method CcFilesQuery groupByDbChannels() Group by the channels column + * @method CcFilesQuery groupByDbUrl() Group by the url column + * @method CcFilesQuery groupByDbBpm() Group by the bpm column + * @method CcFilesQuery groupByDbRating() Group by the rating column + * @method CcFilesQuery groupByDbEncodedBy() Group by the encoded_by column + * @method CcFilesQuery groupByDbDiscNumber() Group by the disc_number column + * @method CcFilesQuery groupByDbMood() Group by the mood column + * @method CcFilesQuery groupByDbLabel() Group by the label column + * @method CcFilesQuery groupByDbComposer() Group by the composer column + * @method CcFilesQuery groupByDbEncoder() Group by the encoder column + * @method CcFilesQuery groupByDbChecksum() Group by the checksum column + * @method CcFilesQuery groupByDbLyrics() Group by the lyrics column + * @method CcFilesQuery groupByDbOrchestra() Group by the orchestra column + * @method CcFilesQuery groupByDbConductor() Group by the conductor column + * @method CcFilesQuery groupByDbLyricist() Group by the lyricist column + * @method CcFilesQuery groupByDbOriginalLyricist() Group by the original_lyricist column + * @method CcFilesQuery groupByDbRadioStationName() Group by the radio_station_name column + * @method CcFilesQuery groupByDbInfoUrl() Group by the info_url column + * @method CcFilesQuery groupByDbArtistUrl() Group by the artist_url column + * @method CcFilesQuery groupByDbAudioSourceUrl() Group by the audio_source_url column + * @method CcFilesQuery groupByDbRadioStationUrl() Group by the radio_station_url column + * @method CcFilesQuery groupByDbBuyThisUrl() Group by the buy_this_url column + * @method CcFilesQuery groupByDbIsrcNumber() Group by the isrc_number column + * @method CcFilesQuery groupByDbCatalogNumber() Group by the catalog_number column + * @method CcFilesQuery groupByDbOriginalArtist() Group by the original_artist column + * @method CcFilesQuery groupByDbCopyright() Group by the copyright column + * @method CcFilesQuery groupByDbReportDatetime() Group by the report_datetime column + * @method CcFilesQuery groupByDbReportLocation() Group by the report_location column + * @method CcFilesQuery groupByDbReportOrganization() Group by the report_organization column + * @method CcFilesQuery groupByDbSubject() Group by the subject column + * @method CcFilesQuery groupByDbContributor() Group by the contributor column + * @method CcFilesQuery groupByDbLanguage() Group by the language column * * @method CcFilesQuery leftJoin($relation) Adds a LEFT JOIN clause to the query * @method CcFilesQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query @@ -132,114 +132,114 @@ * @method CcFiles findOneOrCreate(PropelPDO $con = null) Return the first CcFiles matching the query, or a new CcFiles object populated from the query conditions when no match is found * * @method CcFiles findOneByDbId(int $id) Return the first CcFiles filtered by the id column - * @method CcFiles findOneByGunid(string $gunid) Return the first CcFiles filtered by the gunid column - * @method CcFiles findOneByName(string $name) Return the first CcFiles filtered by the name column - * @method CcFiles findOneByMime(string $mime) Return the first CcFiles filtered by the mime column - * @method CcFiles findOneByFtype(string $ftype) Return the first CcFiles filtered by the ftype column - * @method CcFiles findOneByfilepath(string $filepath) Return the first CcFiles filtered by the filepath column - * @method CcFiles findOneByState(string $state) Return the first CcFiles filtered by the state column - * @method CcFiles findOneByCurrentlyaccessing(int $currentlyaccessing) Return the first CcFiles filtered by the currentlyaccessing column - * @method CcFiles findOneByEditedby(int $editedby) Return the first CcFiles filtered by the editedby column - * @method CcFiles findOneByMtime(string $mtime) Return the first CcFiles filtered by the mtime column - * @method CcFiles findOneByMd5(string $md5) Return the first CcFiles filtered by the md5 column - * @method CcFiles findOneByTrackTitle(string $track_title) Return the first CcFiles filtered by the track_title column - * @method CcFiles findOneByArtistName(string $artist_name) Return the first CcFiles filtered by the artist_name column - * @method CcFiles findOneByBitRate(string $bit_rate) Return the first CcFiles filtered by the bit_rate column - * @method CcFiles findOneBySampleRate(string $sample_rate) Return the first CcFiles filtered by the sample_rate column - * @method CcFiles findOneByFormat(string $format) Return the first CcFiles filtered by the format column + * @method CcFiles findOneByDbGunid(string $gunid) Return the first CcFiles filtered by the gunid column + * @method CcFiles findOneByDbName(string $name) Return the first CcFiles filtered by the name column + * @method CcFiles findOneByDbMime(string $mime) Return the first CcFiles filtered by the mime column + * @method CcFiles findOneByDbFtype(string $ftype) Return the first CcFiles filtered by the ftype column + * @method CcFiles findOneByDbFilepath(string $filepath) Return the first CcFiles filtered by the filepath column + * @method CcFiles findOneByDbState(string $state) Return the first CcFiles filtered by the state column + * @method CcFiles findOneByDbCurrentlyaccessing(int $currentlyaccessing) Return the first CcFiles filtered by the currentlyaccessing column + * @method CcFiles findOneByDbEditedby(int $editedby) Return the first CcFiles filtered by the editedby column + * @method CcFiles findOneByDbMtime(string $mtime) Return the first CcFiles filtered by the mtime column + * @method CcFiles findOneByDbMd5(string $md5) Return the first CcFiles filtered by the md5 column + * @method CcFiles findOneByDbTrackTitle(string $track_title) Return the first CcFiles filtered by the track_title column + * @method CcFiles findOneByDbArtistName(string $artist_name) Return the first CcFiles filtered by the artist_name column + * @method CcFiles findOneByDbBitRate(string $bit_rate) Return the first CcFiles filtered by the bit_rate column + * @method CcFiles findOneByDbSampleRate(string $sample_rate) Return the first CcFiles filtered by the sample_rate column + * @method CcFiles findOneByDbFormat(string $format) Return the first CcFiles filtered by the format column * @method CcFiles findOneByDbLength(string $length) Return the first CcFiles filtered by the length column - * @method CcFiles findOneByAlbumTitle(string $album_title) Return the first CcFiles filtered by the album_title column - * @method CcFiles findOneByGenre(string $genre) Return the first CcFiles filtered by the genre column - * @method CcFiles findOneByComments(string $comments) Return the first CcFiles filtered by the comments column - * @method CcFiles findOneByYear(string $year) Return the first CcFiles filtered by the year column - * @method CcFiles findOneByTrackNumber(int $track_number) Return the first CcFiles filtered by the track_number column - * @method CcFiles findOneByChannels(int $channels) Return the first CcFiles filtered by the channels column - * @method CcFiles findOneByUrl(string $url) Return the first CcFiles filtered by the url column - * @method CcFiles findOneByBpm(string $bpm) Return the first CcFiles filtered by the bpm column - * @method CcFiles findOneByRating(string $rating) Return the first CcFiles filtered by the rating column - * @method CcFiles findOneByEncodedBy(string $encoded_by) Return the first CcFiles filtered by the encoded_by column - * @method CcFiles findOneByDiscNumber(string $disc_number) Return the first CcFiles filtered by the disc_number column - * @method CcFiles findOneByMood(string $mood) Return the first CcFiles filtered by the mood column - * @method CcFiles findOneByLabel(string $label) Return the first CcFiles filtered by the label column - * @method CcFiles findOneByComposer(string $composer) Return the first CcFiles filtered by the composer column - * @method CcFiles findOneByEncoder(string $encoder) Return the first CcFiles filtered by the encoder column - * @method CcFiles findOneByChecksum(string $checksum) Return the first CcFiles filtered by the checksum column - * @method CcFiles findOneByLyrics(string $lyrics) Return the first CcFiles filtered by the lyrics column - * @method CcFiles findOneByOrchestra(string $orchestra) Return the first CcFiles filtered by the orchestra column - * @method CcFiles findOneByConductor(string $conductor) Return the first CcFiles filtered by the conductor column - * @method CcFiles findOneByLyricist(string $lyricist) Return the first CcFiles filtered by the lyricist column - * @method CcFiles findOneByOriginalLyricist(string $original_lyricist) Return the first CcFiles filtered by the original_lyricist column - * @method CcFiles findOneByRadioStationName(string $radio_station_name) Return the first CcFiles filtered by the radio_station_name column - * @method CcFiles findOneByInfoUrl(string $info_url) Return the first CcFiles filtered by the info_url column - * @method CcFiles findOneByArtistUrl(string $artist_url) Return the first CcFiles filtered by the artist_url column - * @method CcFiles findOneByAudioSourceUrl(string $audio_source_url) Return the first CcFiles filtered by the audio_source_url column - * @method CcFiles findOneByRadioStationUrl(string $radio_station_url) Return the first CcFiles filtered by the radio_station_url column - * @method CcFiles findOneByBuyThisUrl(string $buy_this_url) Return the first CcFiles filtered by the buy_this_url column - * @method CcFiles findOneByIsrcNumber(string $isrc_number) Return the first CcFiles filtered by the isrc_number column - * @method CcFiles findOneByCatalogNumber(string $catalog_number) Return the first CcFiles filtered by the catalog_number column - * @method CcFiles findOneByOriginalArtist(string $original_artist) Return the first CcFiles filtered by the original_artist column - * @method CcFiles findOneByCopyright(string $copyright) Return the first CcFiles filtered by the copyright column - * @method CcFiles findOneByReportDatetime(string $report_datetime) Return the first CcFiles filtered by the report_datetime column - * @method CcFiles findOneByReportLocation(string $report_location) Return the first CcFiles filtered by the report_location column - * @method CcFiles findOneByReportOrganization(string $report_organization) Return the first CcFiles filtered by the report_organization column - * @method CcFiles findOneBySubject(string $subject) Return the first CcFiles filtered by the subject column - * @method CcFiles findOneByContributor(string $contributor) Return the first CcFiles filtered by the contributor column - * @method CcFiles findOneByLanguage(string $language) Return the first CcFiles filtered by the language column + * @method CcFiles findOneByDbAlbumTitle(string $album_title) Return the first CcFiles filtered by the album_title column + * @method CcFiles findOneByDbGenre(string $genre) Return the first CcFiles filtered by the genre column + * @method CcFiles findOneByDbComments(string $comments) Return the first CcFiles filtered by the comments column + * @method CcFiles findOneByDbYear(string $year) Return the first CcFiles filtered by the year column + * @method CcFiles findOneByDbTrackNumber(int $track_number) Return the first CcFiles filtered by the track_number column + * @method CcFiles findOneByDbChannels(int $channels) Return the first CcFiles filtered by the channels column + * @method CcFiles findOneByDbUrl(string $url) Return the first CcFiles filtered by the url column + * @method CcFiles findOneByDbBpm(string $bpm) Return the first CcFiles filtered by the bpm column + * @method CcFiles findOneByDbRating(string $rating) Return the first CcFiles filtered by the rating column + * @method CcFiles findOneByDbEncodedBy(string $encoded_by) Return the first CcFiles filtered by the encoded_by column + * @method CcFiles findOneByDbDiscNumber(string $disc_number) Return the first CcFiles filtered by the disc_number column + * @method CcFiles findOneByDbMood(string $mood) Return the first CcFiles filtered by the mood column + * @method CcFiles findOneByDbLabel(string $label) Return the first CcFiles filtered by the label column + * @method CcFiles findOneByDbComposer(string $composer) Return the first CcFiles filtered by the composer column + * @method CcFiles findOneByDbEncoder(string $encoder) Return the first CcFiles filtered by the encoder column + * @method CcFiles findOneByDbChecksum(string $checksum) Return the first CcFiles filtered by the checksum column + * @method CcFiles findOneByDbLyrics(string $lyrics) Return the first CcFiles filtered by the lyrics column + * @method CcFiles findOneByDbOrchestra(string $orchestra) Return the first CcFiles filtered by the orchestra column + * @method CcFiles findOneByDbConductor(string $conductor) Return the first CcFiles filtered by the conductor column + * @method CcFiles findOneByDbLyricist(string $lyricist) Return the first CcFiles filtered by the lyricist column + * @method CcFiles findOneByDbOriginalLyricist(string $original_lyricist) Return the first CcFiles filtered by the original_lyricist column + * @method CcFiles findOneByDbRadioStationName(string $radio_station_name) Return the first CcFiles filtered by the radio_station_name column + * @method CcFiles findOneByDbInfoUrl(string $info_url) Return the first CcFiles filtered by the info_url column + * @method CcFiles findOneByDbArtistUrl(string $artist_url) Return the first CcFiles filtered by the artist_url column + * @method CcFiles findOneByDbAudioSourceUrl(string $audio_source_url) Return the first CcFiles filtered by the audio_source_url column + * @method CcFiles findOneByDbRadioStationUrl(string $radio_station_url) Return the first CcFiles filtered by the radio_station_url column + * @method CcFiles findOneByDbBuyThisUrl(string $buy_this_url) Return the first CcFiles filtered by the buy_this_url column + * @method CcFiles findOneByDbIsrcNumber(string $isrc_number) Return the first CcFiles filtered by the isrc_number column + * @method CcFiles findOneByDbCatalogNumber(string $catalog_number) Return the first CcFiles filtered by the catalog_number column + * @method CcFiles findOneByDbOriginalArtist(string $original_artist) Return the first CcFiles filtered by the original_artist column + * @method CcFiles findOneByDbCopyright(string $copyright) Return the first CcFiles filtered by the copyright column + * @method CcFiles findOneByDbReportDatetime(string $report_datetime) Return the first CcFiles filtered by the report_datetime column + * @method CcFiles findOneByDbReportLocation(string $report_location) Return the first CcFiles filtered by the report_location column + * @method CcFiles findOneByDbReportOrganization(string $report_organization) Return the first CcFiles filtered by the report_organization column + * @method CcFiles findOneByDbSubject(string $subject) Return the first CcFiles filtered by the subject column + * @method CcFiles findOneByDbContributor(string $contributor) Return the first CcFiles filtered by the contributor column + * @method CcFiles findOneByDbLanguage(string $language) Return the first CcFiles filtered by the language column * * @method array findByDbId(int $id) Return CcFiles objects filtered by the id column - * @method array findByGunid(string $gunid) Return CcFiles objects filtered by the gunid column - * @method array findByName(string $name) Return CcFiles objects filtered by the name column - * @method array findByMime(string $mime) Return CcFiles objects filtered by the mime column - * @method array findByFtype(string $ftype) Return CcFiles objects filtered by the ftype column - * @method array findByfilepath(string $filepath) Return CcFiles objects filtered by the filepath column - * @method array findByState(string $state) Return CcFiles objects filtered by the state column - * @method array findByCurrentlyaccessing(int $currentlyaccessing) Return CcFiles objects filtered by the currentlyaccessing column - * @method array findByEditedby(int $editedby) Return CcFiles objects filtered by the editedby column - * @method array findByMtime(string $mtime) Return CcFiles objects filtered by the mtime column - * @method array findByMd5(string $md5) Return CcFiles objects filtered by the md5 column - * @method array findByTrackTitle(string $track_title) Return CcFiles objects filtered by the track_title column - * @method array findByArtistName(string $artist_name) Return CcFiles objects filtered by the artist_name column - * @method array findByBitRate(string $bit_rate) Return CcFiles objects filtered by the bit_rate column - * @method array findBySampleRate(string $sample_rate) Return CcFiles objects filtered by the sample_rate column - * @method array findByFormat(string $format) Return CcFiles objects filtered by the format column + * @method array findByDbGunid(string $gunid) Return CcFiles objects filtered by the gunid column + * @method array findByDbName(string $name) Return CcFiles objects filtered by the name column + * @method array findByDbMime(string $mime) Return CcFiles objects filtered by the mime column + * @method array findByDbFtype(string $ftype) Return CcFiles objects filtered by the ftype column + * @method array findByDbFilepath(string $filepath) Return CcFiles objects filtered by the filepath column + * @method array findByDbState(string $state) Return CcFiles objects filtered by the state column + * @method array findByDbCurrentlyaccessing(int $currentlyaccessing) Return CcFiles objects filtered by the currentlyaccessing column + * @method array findByDbEditedby(int $editedby) Return CcFiles objects filtered by the editedby column + * @method array findByDbMtime(string $mtime) Return CcFiles objects filtered by the mtime column + * @method array findByDbMd5(string $md5) Return CcFiles objects filtered by the md5 column + * @method array findByDbTrackTitle(string $track_title) Return CcFiles objects filtered by the track_title column + * @method array findByDbArtistName(string $artist_name) Return CcFiles objects filtered by the artist_name column + * @method array findByDbBitRate(string $bit_rate) Return CcFiles objects filtered by the bit_rate column + * @method array findByDbSampleRate(string $sample_rate) Return CcFiles objects filtered by the sample_rate column + * @method array findByDbFormat(string $format) Return CcFiles objects filtered by the format column * @method array findByDbLength(string $length) Return CcFiles objects filtered by the length column - * @method array findByAlbumTitle(string $album_title) Return CcFiles objects filtered by the album_title column - * @method array findByGenre(string $genre) Return CcFiles objects filtered by the genre column - * @method array findByComments(string $comments) Return CcFiles objects filtered by the comments column - * @method array findByYear(string $year) Return CcFiles objects filtered by the year column - * @method array findByTrackNumber(int $track_number) Return CcFiles objects filtered by the track_number column - * @method array findByChannels(int $channels) Return CcFiles objects filtered by the channels column - * @method array findByUrl(string $url) Return CcFiles objects filtered by the url column - * @method array findByBpm(string $bpm) Return CcFiles objects filtered by the bpm column - * @method array findByRating(string $rating) Return CcFiles objects filtered by the rating column - * @method array findByEncodedBy(string $encoded_by) Return CcFiles objects filtered by the encoded_by column - * @method array findByDiscNumber(string $disc_number) Return CcFiles objects filtered by the disc_number column - * @method array findByMood(string $mood) Return CcFiles objects filtered by the mood column - * @method array findByLabel(string $label) Return CcFiles objects filtered by the label column - * @method array findByComposer(string $composer) Return CcFiles objects filtered by the composer column - * @method array findByEncoder(string $encoder) Return CcFiles objects filtered by the encoder column - * @method array findByChecksum(string $checksum) Return CcFiles objects filtered by the checksum column - * @method array findByLyrics(string $lyrics) Return CcFiles objects filtered by the lyrics column - * @method array findByOrchestra(string $orchestra) Return CcFiles objects filtered by the orchestra column - * @method array findByConductor(string $conductor) Return CcFiles objects filtered by the conductor column - * @method array findByLyricist(string $lyricist) Return CcFiles objects filtered by the lyricist column - * @method array findByOriginalLyricist(string $original_lyricist) Return CcFiles objects filtered by the original_lyricist column - * @method array findByRadioStationName(string $radio_station_name) Return CcFiles objects filtered by the radio_station_name column - * @method array findByInfoUrl(string $info_url) Return CcFiles objects filtered by the info_url column - * @method array findByArtistUrl(string $artist_url) Return CcFiles objects filtered by the artist_url column - * @method array findByAudioSourceUrl(string $audio_source_url) Return CcFiles objects filtered by the audio_source_url column - * @method array findByRadioStationUrl(string $radio_station_url) Return CcFiles objects filtered by the radio_station_url column - * @method array findByBuyThisUrl(string $buy_this_url) Return CcFiles objects filtered by the buy_this_url column - * @method array findByIsrcNumber(string $isrc_number) Return CcFiles objects filtered by the isrc_number column - * @method array findByCatalogNumber(string $catalog_number) Return CcFiles objects filtered by the catalog_number column - * @method array findByOriginalArtist(string $original_artist) Return CcFiles objects filtered by the original_artist column - * @method array findByCopyright(string $copyright) Return CcFiles objects filtered by the copyright column - * @method array findByReportDatetime(string $report_datetime) Return CcFiles objects filtered by the report_datetime column - * @method array findByReportLocation(string $report_location) Return CcFiles objects filtered by the report_location column - * @method array findByReportOrganization(string $report_organization) Return CcFiles objects filtered by the report_organization column - * @method array findBySubject(string $subject) Return CcFiles objects filtered by the subject column - * @method array findByContributor(string $contributor) Return CcFiles objects filtered by the contributor column - * @method array findByLanguage(string $language) Return CcFiles objects filtered by the language column + * @method array findByDbAlbumTitle(string $album_title) Return CcFiles objects filtered by the album_title column + * @method array findByDbGenre(string $genre) Return CcFiles objects filtered by the genre column + * @method array findByDbComments(string $comments) Return CcFiles objects filtered by the comments column + * @method array findByDbYear(string $year) Return CcFiles objects filtered by the year column + * @method array findByDbTrackNumber(int $track_number) Return CcFiles objects filtered by the track_number column + * @method array findByDbChannels(int $channels) Return CcFiles objects filtered by the channels column + * @method array findByDbUrl(string $url) Return CcFiles objects filtered by the url column + * @method array findByDbBpm(string $bpm) Return CcFiles objects filtered by the bpm column + * @method array findByDbRating(string $rating) Return CcFiles objects filtered by the rating column + * @method array findByDbEncodedBy(string $encoded_by) Return CcFiles objects filtered by the encoded_by column + * @method array findByDbDiscNumber(string $disc_number) Return CcFiles objects filtered by the disc_number column + * @method array findByDbMood(string $mood) Return CcFiles objects filtered by the mood column + * @method array findByDbLabel(string $label) Return CcFiles objects filtered by the label column + * @method array findByDbComposer(string $composer) Return CcFiles objects filtered by the composer column + * @method array findByDbEncoder(string $encoder) Return CcFiles objects filtered by the encoder column + * @method array findByDbChecksum(string $checksum) Return CcFiles objects filtered by the checksum column + * @method array findByDbLyrics(string $lyrics) Return CcFiles objects filtered by the lyrics column + * @method array findByDbOrchestra(string $orchestra) Return CcFiles objects filtered by the orchestra column + * @method array findByDbConductor(string $conductor) Return CcFiles objects filtered by the conductor column + * @method array findByDbLyricist(string $lyricist) Return CcFiles objects filtered by the lyricist column + * @method array findByDbOriginalLyricist(string $original_lyricist) Return CcFiles objects filtered by the original_lyricist column + * @method array findByDbRadioStationName(string $radio_station_name) Return CcFiles objects filtered by the radio_station_name column + * @method array findByDbInfoUrl(string $info_url) Return CcFiles objects filtered by the info_url column + * @method array findByDbArtistUrl(string $artist_url) Return CcFiles objects filtered by the artist_url column + * @method array findByDbAudioSourceUrl(string $audio_source_url) Return CcFiles objects filtered by the audio_source_url column + * @method array findByDbRadioStationUrl(string $radio_station_url) Return CcFiles objects filtered by the radio_station_url column + * @method array findByDbBuyThisUrl(string $buy_this_url) Return CcFiles objects filtered by the buy_this_url column + * @method array findByDbIsrcNumber(string $isrc_number) Return CcFiles objects filtered by the isrc_number column + * @method array findByDbCatalogNumber(string $catalog_number) Return CcFiles objects filtered by the catalog_number column + * @method array findByDbOriginalArtist(string $original_artist) Return CcFiles objects filtered by the original_artist column + * @method array findByDbCopyright(string $copyright) Return CcFiles objects filtered by the copyright column + * @method array findByDbReportDatetime(string $report_datetime) Return CcFiles objects filtered by the report_datetime column + * @method array findByDbReportLocation(string $report_location) Return CcFiles objects filtered by the report_location column + * @method array findByDbReportOrganization(string $report_organization) Return CcFiles objects filtered by the report_organization column + * @method array findByDbSubject(string $subject) Return CcFiles objects filtered by the subject 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 * * @package propel.generator.campcaster.om */ @@ -369,154 +369,154 @@ abstract class BaseCcFilesQuery extends ModelCriteria /** * Filter the query on the gunid column * - * @param string $gunid The value to use as filter. + * @param string $dbGunid The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByGunid($gunid = null, $comparison = null) + public function filterByDbGunid($dbGunid = null, $comparison = null) { if (null === $comparison) { - if (is_array($gunid)) { + if (is_array($dbGunid)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $gunid)) { - $gunid = str_replace('*', '%', $gunid); + } elseif (preg_match('/[\%\*]/', $dbGunid)) { + $dbGunid = str_replace('*', '%', $dbGunid); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::GUNID, $gunid, $comparison); + return $this->addUsingAlias(CcFilesPeer::GUNID, $dbGunid, $comparison); } /** * Filter the query on the name column * - * @param string $name The value to use as filter. + * @param string $dbName The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByName($name = null, $comparison = null) + public function filterByDbName($dbName = null, $comparison = null) { if (null === $comparison) { - if (is_array($name)) { + if (is_array($dbName)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $name)) { - $name = str_replace('*', '%', $name); + } elseif (preg_match('/[\%\*]/', $dbName)) { + $dbName = str_replace('*', '%', $dbName); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::NAME, $name, $comparison); + return $this->addUsingAlias(CcFilesPeer::NAME, $dbName, $comparison); } /** * Filter the query on the mime column * - * @param string $mime The value to use as filter. + * @param string $dbMime The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByMime($mime = null, $comparison = null) + public function filterByDbMime($dbMime = null, $comparison = null) { if (null === $comparison) { - if (is_array($mime)) { + if (is_array($dbMime)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $mime)) { - $mime = str_replace('*', '%', $mime); + } elseif (preg_match('/[\%\*]/', $dbMime)) { + $dbMime = str_replace('*', '%', $dbMime); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::MIME, $mime, $comparison); + return $this->addUsingAlias(CcFilesPeer::MIME, $dbMime, $comparison); } /** * Filter the query on the ftype column * - * @param string $ftype The value to use as filter. + * @param string $dbFtype The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByFtype($ftype = null, $comparison = null) + public function filterByDbFtype($dbFtype = null, $comparison = null) { if (null === $comparison) { - if (is_array($ftype)) { + if (is_array($dbFtype)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $ftype)) { - $ftype = str_replace('*', '%', $ftype); + } elseif (preg_match('/[\%\*]/', $dbFtype)) { + $dbFtype = str_replace('*', '%', $dbFtype); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::FTYPE, $ftype, $comparison); + return $this->addUsingAlias(CcFilesPeer::FTYPE, $dbFtype, $comparison); } /** * Filter the query on the filepath column * - * @param string $filepath The value to use as filter. + * @param string $dbFilepath The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByfilepath($filepath = null, $comparison = null) + public function filterByDbFilepath($dbFilepath = null, $comparison = null) { if (null === $comparison) { - if (is_array($filepath)) { + if (is_array($dbFilepath)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $filepath)) { - $filepath = str_replace('*', '%', $filepath); + } elseif (preg_match('/[\%\*]/', $dbFilepath)) { + $dbFilepath = str_replace('*', '%', $dbFilepath); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::FILEPATH, $filepath, $comparison); + return $this->addUsingAlias(CcFilesPeer::FILEPATH, $dbFilepath, $comparison); } /** * Filter the query on the state column * - * @param string $state The value to use as filter. + * @param string $dbState The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByState($state = null, $comparison = null) + public function filterByDbState($dbState = null, $comparison = null) { if (null === $comparison) { - if (is_array($state)) { + if (is_array($dbState)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $state)) { - $state = str_replace('*', '%', $state); + } elseif (preg_match('/[\%\*]/', $dbState)) { + $dbState = str_replace('*', '%', $dbState); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::STATE, $state, $comparison); + return $this->addUsingAlias(CcFilesPeer::STATE, $dbState, $comparison); } /** * Filter the query on the currentlyaccessing column * - * @param int|array $currentlyaccessing The value to use as filter. + * @param int|array $dbCurrentlyaccessing The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByCurrentlyaccessing($currentlyaccessing = null, $comparison = null) + public function filterByDbCurrentlyaccessing($dbCurrentlyaccessing = null, $comparison = null) { - if (is_array($currentlyaccessing)) { + if (is_array($dbCurrentlyaccessing)) { $useMinMax = false; - if (isset($currentlyaccessing['min'])) { - $this->addUsingAlias(CcFilesPeer::CURRENTLYACCESSING, $currentlyaccessing['min'], Criteria::GREATER_EQUAL); + if (isset($dbCurrentlyaccessing['min'])) { + $this->addUsingAlias(CcFilesPeer::CURRENTLYACCESSING, $dbCurrentlyaccessing['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($currentlyaccessing['max'])) { - $this->addUsingAlias(CcFilesPeer::CURRENTLYACCESSING, $currentlyaccessing['max'], Criteria::LESS_EQUAL); + if (isset($dbCurrentlyaccessing['max'])) { + $this->addUsingAlias(CcFilesPeer::CURRENTLYACCESSING, $dbCurrentlyaccessing['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -526,28 +526,28 @@ abstract class BaseCcFilesQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcFilesPeer::CURRENTLYACCESSING, $currentlyaccessing, $comparison); + return $this->addUsingAlias(CcFilesPeer::CURRENTLYACCESSING, $dbCurrentlyaccessing, $comparison); } /** * Filter the query on the editedby column * - * @param int|array $editedby The value to use as filter. + * @param int|array $dbEditedby The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByEditedby($editedby = null, $comparison = null) + public function filterByDbEditedby($dbEditedby = null, $comparison = null) { - if (is_array($editedby)) { + if (is_array($dbEditedby)) { $useMinMax = false; - if (isset($editedby['min'])) { - $this->addUsingAlias(CcFilesPeer::EDITEDBY, $editedby['min'], Criteria::GREATER_EQUAL); + if (isset($dbEditedby['min'])) { + $this->addUsingAlias(CcFilesPeer::EDITEDBY, $dbEditedby['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($editedby['max'])) { - $this->addUsingAlias(CcFilesPeer::EDITEDBY, $editedby['max'], Criteria::LESS_EQUAL); + if (isset($dbEditedby['max'])) { + $this->addUsingAlias(CcFilesPeer::EDITEDBY, $dbEditedby['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -557,28 +557,28 @@ abstract class BaseCcFilesQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcFilesPeer::EDITEDBY, $editedby, $comparison); + return $this->addUsingAlias(CcFilesPeer::EDITEDBY, $dbEditedby, $comparison); } /** * Filter the query on the mtime column * - * @param string|array $mtime The value to use as filter. + * @param string|array $dbMtime The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByMtime($mtime = null, $comparison = null) + public function filterByDbMtime($dbMtime = null, $comparison = null) { - if (is_array($mtime)) { + if (is_array($dbMtime)) { $useMinMax = false; - if (isset($mtime['min'])) { - $this->addUsingAlias(CcFilesPeer::MTIME, $mtime['min'], Criteria::GREATER_EQUAL); + if (isset($dbMtime['min'])) { + $this->addUsingAlias(CcFilesPeer::MTIME, $dbMtime['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($mtime['max'])) { - $this->addUsingAlias(CcFilesPeer::MTIME, $mtime['max'], Criteria::LESS_EQUAL); + if (isset($dbMtime['max'])) { + $this->addUsingAlias(CcFilesPeer::MTIME, $dbMtime['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -588,139 +588,139 @@ abstract class BaseCcFilesQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcFilesPeer::MTIME, $mtime, $comparison); + return $this->addUsingAlias(CcFilesPeer::MTIME, $dbMtime, $comparison); } /** * Filter the query on the md5 column * - * @param string $md5 The value to use as filter. + * @param string $dbMd5 The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByMd5($md5 = null, $comparison = null) + public function filterByDbMd5($dbMd5 = null, $comparison = null) { if (null === $comparison) { - if (is_array($md5)) { + if (is_array($dbMd5)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $md5)) { - $md5 = str_replace('*', '%', $md5); + } elseif (preg_match('/[\%\*]/', $dbMd5)) { + $dbMd5 = str_replace('*', '%', $dbMd5); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::MD5, $md5, $comparison); + return $this->addUsingAlias(CcFilesPeer::MD5, $dbMd5, $comparison); } /** * Filter the query on the track_title column * - * @param string $trackTitle The value to use as filter. + * @param string $dbTrackTitle The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByTrackTitle($trackTitle = null, $comparison = null) + public function filterByDbTrackTitle($dbTrackTitle = null, $comparison = null) { if (null === $comparison) { - if (is_array($trackTitle)) { + if (is_array($dbTrackTitle)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $trackTitle)) { - $trackTitle = str_replace('*', '%', $trackTitle); + } elseif (preg_match('/[\%\*]/', $dbTrackTitle)) { + $dbTrackTitle = str_replace('*', '%', $dbTrackTitle); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::TRACK_TITLE, $trackTitle, $comparison); + return $this->addUsingAlias(CcFilesPeer::TRACK_TITLE, $dbTrackTitle, $comparison); } /** * Filter the query on the artist_name column * - * @param string $artistName The value to use as filter. + * @param string $dbArtistName The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByArtistName($artistName = null, $comparison = null) + public function filterByDbArtistName($dbArtistName = null, $comparison = null) { if (null === $comparison) { - if (is_array($artistName)) { + if (is_array($dbArtistName)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $artistName)) { - $artistName = str_replace('*', '%', $artistName); + } elseif (preg_match('/[\%\*]/', $dbArtistName)) { + $dbArtistName = str_replace('*', '%', $dbArtistName); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ARTIST_NAME, $artistName, $comparison); + return $this->addUsingAlias(CcFilesPeer::ARTIST_NAME, $dbArtistName, $comparison); } /** * Filter the query on the bit_rate column * - * @param string $bitRate The value to use as filter. + * @param string $dbBitRate The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByBitRate($bitRate = null, $comparison = null) + public function filterByDbBitRate($dbBitRate = null, $comparison = null) { if (null === $comparison) { - if (is_array($bitRate)) { + if (is_array($dbBitRate)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $bitRate)) { - $bitRate = str_replace('*', '%', $bitRate); + } elseif (preg_match('/[\%\*]/', $dbBitRate)) { + $dbBitRate = str_replace('*', '%', $dbBitRate); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::BIT_RATE, $bitRate, $comparison); + return $this->addUsingAlias(CcFilesPeer::BIT_RATE, $dbBitRate, $comparison); } /** * Filter the query on the sample_rate column * - * @param string $sampleRate The value to use as filter. + * @param string $dbSampleRate The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterBySampleRate($sampleRate = null, $comparison = null) + public function filterByDbSampleRate($dbSampleRate = null, $comparison = null) { if (null === $comparison) { - if (is_array($sampleRate)) { + if (is_array($dbSampleRate)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $sampleRate)) { - $sampleRate = str_replace('*', '%', $sampleRate); + } elseif (preg_match('/[\%\*]/', $dbSampleRate)) { + $dbSampleRate = str_replace('*', '%', $dbSampleRate); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::SAMPLE_RATE, $sampleRate, $comparison); + return $this->addUsingAlias(CcFilesPeer::SAMPLE_RATE, $dbSampleRate, $comparison); } /** * Filter the query on the format column * - * @param string $format The value to use as filter. + * @param string $dbFormat The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByFormat($format = null, $comparison = null) + public function filterByDbFormat($dbFormat = null, $comparison = null) { if (null === $comparison) { - if (is_array($format)) { + if (is_array($dbFormat)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $format)) { - $format = str_replace('*', '%', $format); + } elseif (preg_match('/[\%\*]/', $dbFormat)) { + $dbFormat = str_replace('*', '%', $dbFormat); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::FORMAT, $format, $comparison); + return $this->addUsingAlias(CcFilesPeer::FORMAT, $dbFormat, $comparison); } /** @@ -757,110 +757,110 @@ abstract class BaseCcFilesQuery extends ModelCriteria /** * Filter the query on the album_title column * - * @param string $albumTitle The value to use as filter. + * @param string $dbAlbumTitle The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByAlbumTitle($albumTitle = null, $comparison = null) + public function filterByDbAlbumTitle($dbAlbumTitle = null, $comparison = null) { if (null === $comparison) { - if (is_array($albumTitle)) { + if (is_array($dbAlbumTitle)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $albumTitle)) { - $albumTitle = str_replace('*', '%', $albumTitle); + } elseif (preg_match('/[\%\*]/', $dbAlbumTitle)) { + $dbAlbumTitle = str_replace('*', '%', $dbAlbumTitle); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ALBUM_TITLE, $albumTitle, $comparison); + return $this->addUsingAlias(CcFilesPeer::ALBUM_TITLE, $dbAlbumTitle, $comparison); } /** * Filter the query on the genre column * - * @param string $genre The value to use as filter. + * @param string $dbGenre The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByGenre($genre = null, $comparison = null) + public function filterByDbGenre($dbGenre = null, $comparison = null) { if (null === $comparison) { - if (is_array($genre)) { + if (is_array($dbGenre)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $genre)) { - $genre = str_replace('*', '%', $genre); + } elseif (preg_match('/[\%\*]/', $dbGenre)) { + $dbGenre = str_replace('*', '%', $dbGenre); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::GENRE, $genre, $comparison); + return $this->addUsingAlias(CcFilesPeer::GENRE, $dbGenre, $comparison); } /** * Filter the query on the comments column * - * @param string $comments The value to use as filter. + * @param string $dbComments The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByComments($comments = null, $comparison = null) + public function filterByDbComments($dbComments = null, $comparison = null) { if (null === $comparison) { - if (is_array($comments)) { + if (is_array($dbComments)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $comments)) { - $comments = str_replace('*', '%', $comments); + } elseif (preg_match('/[\%\*]/', $dbComments)) { + $dbComments = str_replace('*', '%', $dbComments); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::COMMENTS, $comments, $comparison); + return $this->addUsingAlias(CcFilesPeer::COMMENTS, $dbComments, $comparison); } /** * Filter the query on the year column * - * @param string $year The value to use as filter. + * @param string $dbYear The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByYear($year = null, $comparison = null) + public function filterByDbYear($dbYear = null, $comparison = null) { if (null === $comparison) { - if (is_array($year)) { + if (is_array($dbYear)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $year)) { - $year = str_replace('*', '%', $year); + } elseif (preg_match('/[\%\*]/', $dbYear)) { + $dbYear = str_replace('*', '%', $dbYear); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::YEAR, $year, $comparison); + return $this->addUsingAlias(CcFilesPeer::YEAR, $dbYear, $comparison); } /** * Filter the query on the track_number column * - * @param int|array $trackNumber The value to use as filter. + * @param int|array $dbTrackNumber The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByTrackNumber($trackNumber = null, $comparison = null) + public function filterByDbTrackNumber($dbTrackNumber = null, $comparison = null) { - if (is_array($trackNumber)) { + if (is_array($dbTrackNumber)) { $useMinMax = false; - if (isset($trackNumber['min'])) { - $this->addUsingAlias(CcFilesPeer::TRACK_NUMBER, $trackNumber['min'], Criteria::GREATER_EQUAL); + if (isset($dbTrackNumber['min'])) { + $this->addUsingAlias(CcFilesPeer::TRACK_NUMBER, $dbTrackNumber['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($trackNumber['max'])) { - $this->addUsingAlias(CcFilesPeer::TRACK_NUMBER, $trackNumber['max'], Criteria::LESS_EQUAL); + if (isset($dbTrackNumber['max'])) { + $this->addUsingAlias(CcFilesPeer::TRACK_NUMBER, $dbTrackNumber['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -870,28 +870,28 @@ abstract class BaseCcFilesQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcFilesPeer::TRACK_NUMBER, $trackNumber, $comparison); + return $this->addUsingAlias(CcFilesPeer::TRACK_NUMBER, $dbTrackNumber, $comparison); } /** * Filter the query on the channels column * - * @param int|array $channels The value to use as filter. + * @param int|array $dbChannels The value to use as filter. * Accepts an associative array('min' => $minValue, 'max' => $maxValue) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByChannels($channels = null, $comparison = null) + public function filterByDbChannels($dbChannels = null, $comparison = null) { - if (is_array($channels)) { + if (is_array($dbChannels)) { $useMinMax = false; - if (isset($channels['min'])) { - $this->addUsingAlias(CcFilesPeer::CHANNELS, $channels['min'], Criteria::GREATER_EQUAL); + if (isset($dbChannels['min'])) { + $this->addUsingAlias(CcFilesPeer::CHANNELS, $dbChannels['min'], Criteria::GREATER_EQUAL); $useMinMax = true; } - if (isset($channels['max'])) { - $this->addUsingAlias(CcFilesPeer::CHANNELS, $channels['max'], Criteria::LESS_EQUAL); + if (isset($dbChannels['max'])) { + $this->addUsingAlias(CcFilesPeer::CHANNELS, $dbChannels['max'], Criteria::LESS_EQUAL); $useMinMax = true; } if ($useMinMax) { @@ -901,689 +901,689 @@ abstract class BaseCcFilesQuery extends ModelCriteria $comparison = Criteria::IN; } } - return $this->addUsingAlias(CcFilesPeer::CHANNELS, $channels, $comparison); + return $this->addUsingAlias(CcFilesPeer::CHANNELS, $dbChannels, $comparison); } /** * Filter the query on the url column * - * @param string $url The value to use as filter. + * @param string $dbUrl The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByUrl($url = null, $comparison = null) + public function filterByDbUrl($dbUrl = null, $comparison = null) { if (null === $comparison) { - if (is_array($url)) { + if (is_array($dbUrl)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $url)) { - $url = str_replace('*', '%', $url); + } elseif (preg_match('/[\%\*]/', $dbUrl)) { + $dbUrl = str_replace('*', '%', $dbUrl); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::URL, $url, $comparison); + return $this->addUsingAlias(CcFilesPeer::URL, $dbUrl, $comparison); } /** * Filter the query on the bpm column * - * @param string $bpm The value to use as filter. + * @param string $dbBpm The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByBpm($bpm = null, $comparison = null) + public function filterByDbBpm($dbBpm = null, $comparison = null) { if (null === $comparison) { - if (is_array($bpm)) { + if (is_array($dbBpm)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $bpm)) { - $bpm = str_replace('*', '%', $bpm); + } elseif (preg_match('/[\%\*]/', $dbBpm)) { + $dbBpm = str_replace('*', '%', $dbBpm); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::BPM, $bpm, $comparison); + return $this->addUsingAlias(CcFilesPeer::BPM, $dbBpm, $comparison); } /** * Filter the query on the rating column * - * @param string $rating The value to use as filter. + * @param string $dbRating The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByRating($rating = null, $comparison = null) + public function filterByDbRating($dbRating = null, $comparison = null) { if (null === $comparison) { - if (is_array($rating)) { + if (is_array($dbRating)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $rating)) { - $rating = str_replace('*', '%', $rating); + } elseif (preg_match('/[\%\*]/', $dbRating)) { + $dbRating = str_replace('*', '%', $dbRating); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::RATING, $rating, $comparison); + return $this->addUsingAlias(CcFilesPeer::RATING, $dbRating, $comparison); } /** * Filter the query on the encoded_by column * - * @param string $encodedBy The value to use as filter. + * @param string $dbEncodedBy The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByEncodedBy($encodedBy = null, $comparison = null) + public function filterByDbEncodedBy($dbEncodedBy = null, $comparison = null) { if (null === $comparison) { - if (is_array($encodedBy)) { + if (is_array($dbEncodedBy)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $encodedBy)) { - $encodedBy = str_replace('*', '%', $encodedBy); + } elseif (preg_match('/[\%\*]/', $dbEncodedBy)) { + $dbEncodedBy = str_replace('*', '%', $dbEncodedBy); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ENCODED_BY, $encodedBy, $comparison); + return $this->addUsingAlias(CcFilesPeer::ENCODED_BY, $dbEncodedBy, $comparison); } /** * Filter the query on the disc_number column * - * @param string $discNumber The value to use as filter. + * @param string $dbDiscNumber The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByDiscNumber($discNumber = null, $comparison = null) + public function filterByDbDiscNumber($dbDiscNumber = null, $comparison = null) { if (null === $comparison) { - if (is_array($discNumber)) { + if (is_array($dbDiscNumber)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $discNumber)) { - $discNumber = str_replace('*', '%', $discNumber); + } elseif (preg_match('/[\%\*]/', $dbDiscNumber)) { + $dbDiscNumber = str_replace('*', '%', $dbDiscNumber); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::DISC_NUMBER, $discNumber, $comparison); + return $this->addUsingAlias(CcFilesPeer::DISC_NUMBER, $dbDiscNumber, $comparison); } /** * Filter the query on the mood column * - * @param string $mood The value to use as filter. + * @param string $dbMood The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByMood($mood = null, $comparison = null) + public function filterByDbMood($dbMood = null, $comparison = null) { if (null === $comparison) { - if (is_array($mood)) { + if (is_array($dbMood)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $mood)) { - $mood = str_replace('*', '%', $mood); + } elseif (preg_match('/[\%\*]/', $dbMood)) { + $dbMood = str_replace('*', '%', $dbMood); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::MOOD, $mood, $comparison); + return $this->addUsingAlias(CcFilesPeer::MOOD, $dbMood, $comparison); } /** * Filter the query on the label column * - * @param string $label The value to use as filter. + * @param string $dbLabel The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByLabel($label = null, $comparison = null) + public function filterByDbLabel($dbLabel = null, $comparison = null) { if (null === $comparison) { - if (is_array($label)) { + if (is_array($dbLabel)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $label)) { - $label = str_replace('*', '%', $label); + } elseif (preg_match('/[\%\*]/', $dbLabel)) { + $dbLabel = str_replace('*', '%', $dbLabel); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::LABEL, $label, $comparison); + return $this->addUsingAlias(CcFilesPeer::LABEL, $dbLabel, $comparison); } /** * Filter the query on the composer column * - * @param string $composer The value to use as filter. + * @param string $dbComposer The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByComposer($composer = null, $comparison = null) + public function filterByDbComposer($dbComposer = null, $comparison = null) { if (null === $comparison) { - if (is_array($composer)) { + if (is_array($dbComposer)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $composer)) { - $composer = str_replace('*', '%', $composer); + } elseif (preg_match('/[\%\*]/', $dbComposer)) { + $dbComposer = str_replace('*', '%', $dbComposer); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::COMPOSER, $composer, $comparison); + return $this->addUsingAlias(CcFilesPeer::COMPOSER, $dbComposer, $comparison); } /** * Filter the query on the encoder column * - * @param string $encoder The value to use as filter. + * @param string $dbEncoder The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByEncoder($encoder = null, $comparison = null) + public function filterByDbEncoder($dbEncoder = null, $comparison = null) { if (null === $comparison) { - if (is_array($encoder)) { + if (is_array($dbEncoder)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $encoder)) { - $encoder = str_replace('*', '%', $encoder); + } elseif (preg_match('/[\%\*]/', $dbEncoder)) { + $dbEncoder = str_replace('*', '%', $dbEncoder); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ENCODER, $encoder, $comparison); + return $this->addUsingAlias(CcFilesPeer::ENCODER, $dbEncoder, $comparison); } /** * Filter the query on the checksum column * - * @param string $checksum The value to use as filter. + * @param string $dbChecksum The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByChecksum($checksum = null, $comparison = null) + public function filterByDbChecksum($dbChecksum = null, $comparison = null) { if (null === $comparison) { - if (is_array($checksum)) { + if (is_array($dbChecksum)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $checksum)) { - $checksum = str_replace('*', '%', $checksum); + } elseif (preg_match('/[\%\*]/', $dbChecksum)) { + $dbChecksum = str_replace('*', '%', $dbChecksum); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::CHECKSUM, $checksum, $comparison); + return $this->addUsingAlias(CcFilesPeer::CHECKSUM, $dbChecksum, $comparison); } /** * Filter the query on the lyrics column * - * @param string $lyrics The value to use as filter. + * @param string $dbLyrics The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByLyrics($lyrics = null, $comparison = null) + public function filterByDbLyrics($dbLyrics = null, $comparison = null) { if (null === $comparison) { - if (is_array($lyrics)) { + if (is_array($dbLyrics)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $lyrics)) { - $lyrics = str_replace('*', '%', $lyrics); + } elseif (preg_match('/[\%\*]/', $dbLyrics)) { + $dbLyrics = str_replace('*', '%', $dbLyrics); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::LYRICS, $lyrics, $comparison); + return $this->addUsingAlias(CcFilesPeer::LYRICS, $dbLyrics, $comparison); } /** * Filter the query on the orchestra column * - * @param string $orchestra The value to use as filter. + * @param string $dbOrchestra The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByOrchestra($orchestra = null, $comparison = null) + public function filterByDbOrchestra($dbOrchestra = null, $comparison = null) { if (null === $comparison) { - if (is_array($orchestra)) { + if (is_array($dbOrchestra)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $orchestra)) { - $orchestra = str_replace('*', '%', $orchestra); + } elseif (preg_match('/[\%\*]/', $dbOrchestra)) { + $dbOrchestra = str_replace('*', '%', $dbOrchestra); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ORCHESTRA, $orchestra, $comparison); + return $this->addUsingAlias(CcFilesPeer::ORCHESTRA, $dbOrchestra, $comparison); } /** * Filter the query on the conductor column * - * @param string $conductor The value to use as filter. + * @param string $dbConductor The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByConductor($conductor = null, $comparison = null) + public function filterByDbConductor($dbConductor = null, $comparison = null) { if (null === $comparison) { - if (is_array($conductor)) { + if (is_array($dbConductor)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $conductor)) { - $conductor = str_replace('*', '%', $conductor); + } elseif (preg_match('/[\%\*]/', $dbConductor)) { + $dbConductor = str_replace('*', '%', $dbConductor); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::CONDUCTOR, $conductor, $comparison); + return $this->addUsingAlias(CcFilesPeer::CONDUCTOR, $dbConductor, $comparison); } /** * Filter the query on the lyricist column * - * @param string $lyricist The value to use as filter. + * @param string $dbLyricist The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByLyricist($lyricist = null, $comparison = null) + public function filterByDbLyricist($dbLyricist = null, $comparison = null) { if (null === $comparison) { - if (is_array($lyricist)) { + if (is_array($dbLyricist)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $lyricist)) { - $lyricist = str_replace('*', '%', $lyricist); + } elseif (preg_match('/[\%\*]/', $dbLyricist)) { + $dbLyricist = str_replace('*', '%', $dbLyricist); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::LYRICIST, $lyricist, $comparison); + return $this->addUsingAlias(CcFilesPeer::LYRICIST, $dbLyricist, $comparison); } /** * Filter the query on the original_lyricist column * - * @param string $originalLyricist The value to use as filter. + * @param string $dbOriginalLyricist The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByOriginalLyricist($originalLyricist = null, $comparison = null) + public function filterByDbOriginalLyricist($dbOriginalLyricist = null, $comparison = null) { if (null === $comparison) { - if (is_array($originalLyricist)) { + if (is_array($dbOriginalLyricist)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $originalLyricist)) { - $originalLyricist = str_replace('*', '%', $originalLyricist); + } elseif (preg_match('/[\%\*]/', $dbOriginalLyricist)) { + $dbOriginalLyricist = str_replace('*', '%', $dbOriginalLyricist); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ORIGINAL_LYRICIST, $originalLyricist, $comparison); + return $this->addUsingAlias(CcFilesPeer::ORIGINAL_LYRICIST, $dbOriginalLyricist, $comparison); } /** * Filter the query on the radio_station_name column * - * @param string $radioStationName The value to use as filter. + * @param string $dbRadioStationName The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByRadioStationName($radioStationName = null, $comparison = null) + public function filterByDbRadioStationName($dbRadioStationName = null, $comparison = null) { if (null === $comparison) { - if (is_array($radioStationName)) { + if (is_array($dbRadioStationName)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $radioStationName)) { - $radioStationName = str_replace('*', '%', $radioStationName); + } elseif (preg_match('/[\%\*]/', $dbRadioStationName)) { + $dbRadioStationName = str_replace('*', '%', $dbRadioStationName); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::RADIO_STATION_NAME, $radioStationName, $comparison); + return $this->addUsingAlias(CcFilesPeer::RADIO_STATION_NAME, $dbRadioStationName, $comparison); } /** * Filter the query on the info_url column * - * @param string $infoUrl The value to use as filter. + * @param string $dbInfoUrl The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByInfoUrl($infoUrl = null, $comparison = null) + public function filterByDbInfoUrl($dbInfoUrl = null, $comparison = null) { if (null === $comparison) { - if (is_array($infoUrl)) { + if (is_array($dbInfoUrl)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $infoUrl)) { - $infoUrl = str_replace('*', '%', $infoUrl); + } elseif (preg_match('/[\%\*]/', $dbInfoUrl)) { + $dbInfoUrl = str_replace('*', '%', $dbInfoUrl); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::INFO_URL, $infoUrl, $comparison); + return $this->addUsingAlias(CcFilesPeer::INFO_URL, $dbInfoUrl, $comparison); } /** * Filter the query on the artist_url column * - * @param string $artistUrl The value to use as filter. + * @param string $dbArtistUrl The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByArtistUrl($artistUrl = null, $comparison = null) + public function filterByDbArtistUrl($dbArtistUrl = null, $comparison = null) { if (null === $comparison) { - if (is_array($artistUrl)) { + if (is_array($dbArtistUrl)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $artistUrl)) { - $artistUrl = str_replace('*', '%', $artistUrl); + } elseif (preg_match('/[\%\*]/', $dbArtistUrl)) { + $dbArtistUrl = str_replace('*', '%', $dbArtistUrl); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ARTIST_URL, $artistUrl, $comparison); + return $this->addUsingAlias(CcFilesPeer::ARTIST_URL, $dbArtistUrl, $comparison); } /** * Filter the query on the audio_source_url column * - * @param string $audioSourceUrl The value to use as filter. + * @param string $dbAudioSourceUrl The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByAudioSourceUrl($audioSourceUrl = null, $comparison = null) + public function filterByDbAudioSourceUrl($dbAudioSourceUrl = null, $comparison = null) { if (null === $comparison) { - if (is_array($audioSourceUrl)) { + if (is_array($dbAudioSourceUrl)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $audioSourceUrl)) { - $audioSourceUrl = str_replace('*', '%', $audioSourceUrl); + } elseif (preg_match('/[\%\*]/', $dbAudioSourceUrl)) { + $dbAudioSourceUrl = str_replace('*', '%', $dbAudioSourceUrl); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::AUDIO_SOURCE_URL, $audioSourceUrl, $comparison); + return $this->addUsingAlias(CcFilesPeer::AUDIO_SOURCE_URL, $dbAudioSourceUrl, $comparison); } /** * Filter the query on the radio_station_url column * - * @param string $radioStationUrl The value to use as filter. + * @param string $dbRadioStationUrl The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByRadioStationUrl($radioStationUrl = null, $comparison = null) + public function filterByDbRadioStationUrl($dbRadioStationUrl = null, $comparison = null) { if (null === $comparison) { - if (is_array($radioStationUrl)) { + if (is_array($dbRadioStationUrl)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $radioStationUrl)) { - $radioStationUrl = str_replace('*', '%', $radioStationUrl); + } elseif (preg_match('/[\%\*]/', $dbRadioStationUrl)) { + $dbRadioStationUrl = str_replace('*', '%', $dbRadioStationUrl); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::RADIO_STATION_URL, $radioStationUrl, $comparison); + return $this->addUsingAlias(CcFilesPeer::RADIO_STATION_URL, $dbRadioStationUrl, $comparison); } /** * Filter the query on the buy_this_url column * - * @param string $buyThisUrl The value to use as filter. + * @param string $dbBuyThisUrl The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByBuyThisUrl($buyThisUrl = null, $comparison = null) + public function filterByDbBuyThisUrl($dbBuyThisUrl = null, $comparison = null) { if (null === $comparison) { - if (is_array($buyThisUrl)) { + if (is_array($dbBuyThisUrl)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $buyThisUrl)) { - $buyThisUrl = str_replace('*', '%', $buyThisUrl); + } elseif (preg_match('/[\%\*]/', $dbBuyThisUrl)) { + $dbBuyThisUrl = str_replace('*', '%', $dbBuyThisUrl); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::BUY_THIS_URL, $buyThisUrl, $comparison); + return $this->addUsingAlias(CcFilesPeer::BUY_THIS_URL, $dbBuyThisUrl, $comparison); } /** * Filter the query on the isrc_number column * - * @param string $isrcNumber The value to use as filter. + * @param string $dbIsrcNumber The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByIsrcNumber($isrcNumber = null, $comparison = null) + public function filterByDbIsrcNumber($dbIsrcNumber = null, $comparison = null) { if (null === $comparison) { - if (is_array($isrcNumber)) { + if (is_array($dbIsrcNumber)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $isrcNumber)) { - $isrcNumber = str_replace('*', '%', $isrcNumber); + } elseif (preg_match('/[\%\*]/', $dbIsrcNumber)) { + $dbIsrcNumber = str_replace('*', '%', $dbIsrcNumber); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ISRC_NUMBER, $isrcNumber, $comparison); + return $this->addUsingAlias(CcFilesPeer::ISRC_NUMBER, $dbIsrcNumber, $comparison); } /** * Filter the query on the catalog_number column * - * @param string $catalogNumber The value to use as filter. + * @param string $dbCatalogNumber The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByCatalogNumber($catalogNumber = null, $comparison = null) + public function filterByDbCatalogNumber($dbCatalogNumber = null, $comparison = null) { if (null === $comparison) { - if (is_array($catalogNumber)) { + if (is_array($dbCatalogNumber)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $catalogNumber)) { - $catalogNumber = str_replace('*', '%', $catalogNumber); + } elseif (preg_match('/[\%\*]/', $dbCatalogNumber)) { + $dbCatalogNumber = str_replace('*', '%', $dbCatalogNumber); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::CATALOG_NUMBER, $catalogNumber, $comparison); + return $this->addUsingAlias(CcFilesPeer::CATALOG_NUMBER, $dbCatalogNumber, $comparison); } /** * Filter the query on the original_artist column * - * @param string $originalArtist The value to use as filter. + * @param string $dbOriginalArtist The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByOriginalArtist($originalArtist = null, $comparison = null) + public function filterByDbOriginalArtist($dbOriginalArtist = null, $comparison = null) { if (null === $comparison) { - if (is_array($originalArtist)) { + if (is_array($dbOriginalArtist)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $originalArtist)) { - $originalArtist = str_replace('*', '%', $originalArtist); + } elseif (preg_match('/[\%\*]/', $dbOriginalArtist)) { + $dbOriginalArtist = str_replace('*', '%', $dbOriginalArtist); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::ORIGINAL_ARTIST, $originalArtist, $comparison); + return $this->addUsingAlias(CcFilesPeer::ORIGINAL_ARTIST, $dbOriginalArtist, $comparison); } /** * Filter the query on the copyright column * - * @param string $copyright The value to use as filter. + * @param string $dbCopyright The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByCopyright($copyright = null, $comparison = null) + public function filterByDbCopyright($dbCopyright = null, $comparison = null) { if (null === $comparison) { - if (is_array($copyright)) { + if (is_array($dbCopyright)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $copyright)) { - $copyright = str_replace('*', '%', $copyright); + } elseif (preg_match('/[\%\*]/', $dbCopyright)) { + $dbCopyright = str_replace('*', '%', $dbCopyright); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::COPYRIGHT, $copyright, $comparison); + return $this->addUsingAlias(CcFilesPeer::COPYRIGHT, $dbCopyright, $comparison); } /** * Filter the query on the report_datetime column * - * @param string $reportDatetime The value to use as filter. + * @param string $dbReportDatetime The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByReportDatetime($reportDatetime = null, $comparison = null) + public function filterByDbReportDatetime($dbReportDatetime = null, $comparison = null) { if (null === $comparison) { - if (is_array($reportDatetime)) { + if (is_array($dbReportDatetime)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $reportDatetime)) { - $reportDatetime = str_replace('*', '%', $reportDatetime); + } elseif (preg_match('/[\%\*]/', $dbReportDatetime)) { + $dbReportDatetime = str_replace('*', '%', $dbReportDatetime); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::REPORT_DATETIME, $reportDatetime, $comparison); + return $this->addUsingAlias(CcFilesPeer::REPORT_DATETIME, $dbReportDatetime, $comparison); } /** * Filter the query on the report_location column * - * @param string $reportLocation The value to use as filter. + * @param string $dbReportLocation The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByReportLocation($reportLocation = null, $comparison = null) + public function filterByDbReportLocation($dbReportLocation = null, $comparison = null) { if (null === $comparison) { - if (is_array($reportLocation)) { + if (is_array($dbReportLocation)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $reportLocation)) { - $reportLocation = str_replace('*', '%', $reportLocation); + } elseif (preg_match('/[\%\*]/', $dbReportLocation)) { + $dbReportLocation = str_replace('*', '%', $dbReportLocation); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::REPORT_LOCATION, $reportLocation, $comparison); + return $this->addUsingAlias(CcFilesPeer::REPORT_LOCATION, $dbReportLocation, $comparison); } /** * Filter the query on the report_organization column * - * @param string $reportOrganization The value to use as filter. + * @param string $dbReportOrganization The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByReportOrganization($reportOrganization = null, $comparison = null) + public function filterByDbReportOrganization($dbReportOrganization = null, $comparison = null) { if (null === $comparison) { - if (is_array($reportOrganization)) { + if (is_array($dbReportOrganization)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $reportOrganization)) { - $reportOrganization = str_replace('*', '%', $reportOrganization); + } elseif (preg_match('/[\%\*]/', $dbReportOrganization)) { + $dbReportOrganization = str_replace('*', '%', $dbReportOrganization); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::REPORT_ORGANIZATION, $reportOrganization, $comparison); + return $this->addUsingAlias(CcFilesPeer::REPORT_ORGANIZATION, $dbReportOrganization, $comparison); } /** * Filter the query on the subject column * - * @param string $subject The value to use as filter. + * @param string $dbSubject The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterBySubject($subject = null, $comparison = null) + public function filterByDbSubject($dbSubject = null, $comparison = null) { if (null === $comparison) { - if (is_array($subject)) { + if (is_array($dbSubject)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $subject)) { - $subject = str_replace('*', '%', $subject); + } elseif (preg_match('/[\%\*]/', $dbSubject)) { + $dbSubject = str_replace('*', '%', $dbSubject); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::SUBJECT, $subject, $comparison); + return $this->addUsingAlias(CcFilesPeer::SUBJECT, $dbSubject, $comparison); } /** * Filter the query on the contributor column * - * @param string $contributor The value to use as filter. + * @param string $dbContributor The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByContributor($contributor = null, $comparison = null) + public function filterByDbContributor($dbContributor = null, $comparison = null) { if (null === $comparison) { - if (is_array($contributor)) { + if (is_array($dbContributor)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $contributor)) { - $contributor = str_replace('*', '%', $contributor); + } elseif (preg_match('/[\%\*]/', $dbContributor)) { + $dbContributor = str_replace('*', '%', $dbContributor); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::CONTRIBUTOR, $contributor, $comparison); + return $this->addUsingAlias(CcFilesPeer::CONTRIBUTOR, $dbContributor, $comparison); } /** * Filter the query on the language column * - * @param string $language The value to use as filter. + * @param string $dbLanguage The value to use as filter. * Accepts wildcards (* and % trigger a LIKE) * @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL * * @return CcFilesQuery The current query, for fluid interface */ - public function filterByLanguage($language = null, $comparison = null) + public function filterByDbLanguage($dbLanguage = null, $comparison = null) { if (null === $comparison) { - if (is_array($language)) { + if (is_array($dbLanguage)) { $comparison = Criteria::IN; - } elseif (preg_match('/[\%\*]/', $language)) { - $language = str_replace('*', '%', $language); + } elseif (preg_match('/[\%\*]/', $dbLanguage)) { + $dbLanguage = str_replace('*', '%', $dbLanguage); $comparison = Criteria::LIKE; } } - return $this->addUsingAlias(CcFilesPeer::LANGUAGE, $language, $comparison); + return $this->addUsingAlias(CcFilesPeer::LANGUAGE, $dbLanguage, $comparison); } /** diff --git a/application/models/campcaster/om/BaseCcSubjsQuery.php b/application/models/campcaster/om/BaseCcSubjsQuery.php index 8b055f6d1..50371c86e 100644 --- a/application/models/campcaster/om/BaseCcSubjsQuery.php +++ b/application/models/campcaster/om/BaseCcSubjsQuery.php @@ -449,7 +449,7 @@ abstract class BaseCcSubjsQuery extends ModelCriteria public function filterByCcFiles($ccFiles, $comparison = null) { return $this - ->addUsingAlias(CcSubjsPeer::ID, $ccFiles->getEditedby(), $comparison); + ->addUsingAlias(CcSubjsPeer::ID, $ccFiles->getDbEditedby(), $comparison); } /** diff --git a/build/schema.xml b/build/schema.xml index cb9e47b54..599b679e4 100644 --- a/build/schema.xml +++ b/build/schema.xml @@ -33,59 +33,59 @@
- - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 707bb2b18339ad60bda525d788ed0b811ee5de1e Mon Sep 17 00:00:00 2001 From: Naomi Date: Fri, 17 Dec 2010 18:23:27 -0500 Subject: [PATCH 5/5] put resources for ACL on all nav items. --- application/configs/navigation.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/application/configs/navigation.php b/application/configs/navigation.php index 3500a5800..e40c92b0f 100644 --- a/application/configs/navigation.php +++ b/application/configs/navigation.php @@ -27,12 +27,14 @@ $pages = array( 'module' => 'default', 'controller' => 'Playlist', 'action' => 'index', + 'resource' => 'playlist', 'pages' => array( array( 'label' => 'New', 'module' => 'default', 'controller' => 'Playlist', 'action' => 'new', + 'resource' => 'playlist', 'visible' => false ), array( @@ -40,6 +42,7 @@ $pages = array( 'module' => 'default', 'controller' => 'Playlist', 'action' => 'edit', + 'resource' => 'playlist', 'visible' => false ) ) @@ -49,18 +52,21 @@ $pages = array( 'module' => 'default', 'controller' => 'Library', 'action' => 'index', + 'resource' => 'library', 'pages' => array( array( 'label' => 'Add Audio', 'module' => 'default', 'controller' => 'Plupload', - 'action' => 'plupload' + 'action' => 'plupload', + 'resource' => 'plupload' ), array( 'label' => 'Search', 'module' => 'default', 'controller' => 'Search', - 'action' => 'display' + 'action' => 'display', + 'resource' => 'search' ) ) ), @@ -75,7 +81,8 @@ $pages = array( 'label' => 'Logout', 'module' => 'default', 'controller' => 'Login', - 'action' => 'logout' + 'action' => 'logout', + 'resource' => 'login' ) );