DateTime stuff for PHP 5.3

ini_get('date.timezone') seems to not behave properly though... defaults to America/Toronto.
This commit is contained in:
naomiaro 2010-11-12 11:02:27 -05:00
parent 4022afa8b9
commit d65cc390a5
10 changed files with 369 additions and 307 deletions

View File

@ -67,8 +67,7 @@ class Playlist {
// Create the StoredPlaylist object
$storedPlaylist = new Playlist();
$storedPlaylist->name = isset($p_values['filename']) ? $p_values['filename'] : date("H:i:s");
$tz = ini_get('date.timezone');
$storedPlaylist->mtime = new DateTime("now", new DateTimeZone($tz));
$storedPlaylist->mtime = new DateTime("now");
$pl = new CcPlaylist();
$pl->setDbName($storedPlaylist->name);
@ -132,7 +131,7 @@ class Playlist {
return FALSE;
$pl->setDbName($p_newname);
$pl->setDbMtime(new DateTime("now", new DateTimeZone(ini_get('date.timezone'))));
$pl->setDbMtime(new DateTime("now"));
$pl->save();
$this->name = $p_newname;
@ -175,7 +174,7 @@ class Playlist {
return FALSE;
$pl->setDbState($p_state);
$pl->setDbMtime(new DateTime("now", new DateTimeZone(ini_get('date.timezone'))));
$pl->setDbMtime(new DateTime("now"));
$eb = (!is_null($p_editedby) ? $p_editedby : NULL);
$pl->setDbEditedby($eb);

View File

@ -39,7 +39,7 @@ class CcAccessTableMap extends TableMap {
$this->setPrimaryKeyMethodInfo('cc_access_id_seq');
// columns
$this->addPrimaryKey('ID', 'Id', 'INTEGER', true, null, null);
$this->addColumn('GUNID', 'Gunid', 'BIGINT', false, null, null);
$this->addColumn('GUNID', 'Gunid', 'CHAR', false, 32, null);
$this->addColumn('TOKEN', 'Token', 'BIGINT', false, null, null);
$this->addColumn('CHSUM', 'Chsum', 'CHAR', true, 32, '');
$this->addColumn('EXT', 'Ext', 'VARCHAR', true, 128, '');

View File

@ -39,10 +39,11 @@ class CcFilesTableMap extends TableMap {
$this->setPrimaryKeyMethodInfo('cc_files_id_seq');
// columns
$this->addPrimaryKey('ID', 'DbId', 'INTEGER', true, null, null);
$this->addColumn('GUNID', 'Gunid', 'BIGINT', 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);

View File

@ -47,7 +47,7 @@ class CcTransTableMap extends TableMap {
$this->addColumn('TARGET', 'Target', 'VARCHAR', false, 255, null);
$this->addColumn('RTRTOK', 'Rtrtok', 'CHAR', false, 16, null);
$this->addColumn('MDTRTOK', 'Mdtrtok', 'CHAR', false, 16, null);
$this->addColumn('GUNID', 'Gunid', 'BIGINT', false, null, null);
$this->addColumn('GUNID', 'Gunid', 'CHAR', false, 32, null);
$this->addColumn('PDTOKEN', 'Pdtoken', 'BIGINT', false, null, null);
$this->addColumn('URL', 'Url', 'VARCHAR', false, 255, null);
$this->addColumn('LOCALFILE', 'Localfile', 'VARCHAR', false, 255, null);

View File

@ -185,29 +185,20 @@ abstract class BaseCcAccessQuery extends ModelCriteria
/**
* Filter the query on the gunid column
*
* @param string|array $gunid The value to use as filter.
* Accepts an associative array('min' => $minValue, 'max' => $maxValue)
* @param string $gunid The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return CcAccessQuery The current query, for fluid interface
*/
public function filterByGunid($gunid = null, $comparison = null)
{
if (is_array($gunid)) {
$useMinMax = false;
if (isset($gunid['min'])) {
$this->addUsingAlias(CcAccessPeer::GUNID, $gunid['min'], Criteria::GREATER_EQUAL);
$useMinMax = true;
}
if (isset($gunid['max'])) {
$this->addUsingAlias(CcAccessPeer::GUNID, $gunid['max'], Criteria::LESS_EQUAL);
$useMinMax = true;
}
if ($useMinMax) {
return $this;
}
if (null === $comparison) {
if (null === $comparison) {
if (is_array($gunid)) {
$comparison = Criteria::IN;
} elseif (preg_match('/[\%\*]/', $gunid)) {
$gunid = str_replace('*', '%', $gunid);
$comparison = Criteria::LIKE;
}
}
return $this->addUsingAlias(CcAccessPeer::GUNID, $gunid, $comparison);

View File

@ -57,6 +57,13 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
*/
protected $ftype;
/**
* The value for the filepath field.
* Note: this column has a database default value of: ''
* @var string
*/
protected $filepath;
/**
* The value for the state field.
* Note: this column has a database default value of: 'empty'
@ -382,6 +389,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$this->name = '';
$this->mime = '';
$this->ftype = '';
$this->filepath = '';
$this->state = 'empty';
$this->currentlyaccessing = 0;
}
@ -446,6 +454,16 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
return $this->ftype;
}
/**
* Get the [filepath] column value.
*
* @return string
*/
public function getfilepath()
{
return $this->filepath;
}
/**
* Get the [state] column value.
*
@ -1072,6 +1090,26 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
return $this;
} // setFtype()
/**
* Set the value of [filepath] column.
*
* @param string $v new value
* @return CcFiles The current object (for fluent API support)
*/
public function setfilepath($v)
{
if ($v !== null) {
$v = (string) $v;
}
if ($this->filepath !== $v || $this->isNew()) {
$this->filepath = $v;
$this->modifiedColumns[] = CcFilesPeer::FILEPATH;
}
return $this;
} // setfilepath()
/**
* Set the value of [state] column.
*
@ -2116,6 +2154,10 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
return false;
}
if ($this->filepath !== '') {
return false;
}
if ($this->state !== 'empty') {
return false;
}
@ -2151,54 +2193,55 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$this->name = ($row[$startcol + 2] !== null) ? (string) $row[$startcol + 2] : null;
$this->mime = ($row[$startcol + 3] !== null) ? (string) $row[$startcol + 3] : null;
$this->ftype = ($row[$startcol + 4] !== null) ? (string) $row[$startcol + 4] : null;
$this->state = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null;
$this->currentlyaccessing = ($row[$startcol + 6] !== null) ? (int) $row[$startcol + 6] : null;
$this->editedby = ($row[$startcol + 7] !== null) ? (int) $row[$startcol + 7] : null;
$this->mtime = ($row[$startcol + 8] !== null) ? (string) $row[$startcol + 8] : null;
$this->md5 = ($row[$startcol + 9] !== null) ? (string) $row[$startcol + 9] : null;
$this->track_title = ($row[$startcol + 10] !== null) ? (string) $row[$startcol + 10] : null;
$this->artist_name = ($row[$startcol + 11] !== null) ? (string) $row[$startcol + 11] : null;
$this->bit_rate = ($row[$startcol + 12] !== null) ? (string) $row[$startcol + 12] : null;
$this->sample_rate = ($row[$startcol + 13] !== null) ? (string) $row[$startcol + 13] : null;
$this->format = ($row[$startcol + 14] !== null) ? (string) $row[$startcol + 14] : null;
$this->length = ($row[$startcol + 15] !== null) ? (string) $row[$startcol + 15] : null;
$this->album_title = ($row[$startcol + 16] !== null) ? (string) $row[$startcol + 16] : null;
$this->genre = ($row[$startcol + 17] !== null) ? (string) $row[$startcol + 17] : null;
$this->comments = ($row[$startcol + 18] !== null) ? (string) $row[$startcol + 18] : null;
$this->year = ($row[$startcol + 19] !== null) ? (string) $row[$startcol + 19] : null;
$this->track_number = ($row[$startcol + 20] !== null) ? (int) $row[$startcol + 20] : null;
$this->channels = ($row[$startcol + 21] !== null) ? (int) $row[$startcol + 21] : null;
$this->url = ($row[$startcol + 22] !== null) ? (string) $row[$startcol + 22] : null;
$this->bpm = ($row[$startcol + 23] !== null) ? (string) $row[$startcol + 23] : null;
$this->rating = ($row[$startcol + 24] !== null) ? (string) $row[$startcol + 24] : null;
$this->encoded_by = ($row[$startcol + 25] !== null) ? (string) $row[$startcol + 25] : null;
$this->disc_number = ($row[$startcol + 26] !== null) ? (string) $row[$startcol + 26] : null;
$this->mood = ($row[$startcol + 27] !== null) ? (string) $row[$startcol + 27] : null;
$this->label = ($row[$startcol + 28] !== null) ? (string) $row[$startcol + 28] : null;
$this->composer = ($row[$startcol + 29] !== null) ? (string) $row[$startcol + 29] : null;
$this->encoder = ($row[$startcol + 30] !== null) ? (string) $row[$startcol + 30] : null;
$this->checksum = ($row[$startcol + 31] !== null) ? (string) $row[$startcol + 31] : null;
$this->lyrics = ($row[$startcol + 32] !== null) ? (string) $row[$startcol + 32] : null;
$this->orchestra = ($row[$startcol + 33] !== null) ? (string) $row[$startcol + 33] : null;
$this->conductor = ($row[$startcol + 34] !== null) ? (string) $row[$startcol + 34] : null;
$this->lyricist = ($row[$startcol + 35] !== null) ? (string) $row[$startcol + 35] : null;
$this->original_lyricist = ($row[$startcol + 36] !== null) ? (string) $row[$startcol + 36] : null;
$this->radio_station_name = ($row[$startcol + 37] !== null) ? (string) $row[$startcol + 37] : null;
$this->info_url = ($row[$startcol + 38] !== null) ? (string) $row[$startcol + 38] : null;
$this->artist_url = ($row[$startcol + 39] !== null) ? (string) $row[$startcol + 39] : null;
$this->audio_source_url = ($row[$startcol + 40] !== null) ? (string) $row[$startcol + 40] : null;
$this->radio_station_url = ($row[$startcol + 41] !== null) ? (string) $row[$startcol + 41] : null;
$this->buy_this_url = ($row[$startcol + 42] !== null) ? (string) $row[$startcol + 42] : null;
$this->isrc_number = ($row[$startcol + 43] !== null) ? (string) $row[$startcol + 43] : null;
$this->catalog_number = ($row[$startcol + 44] !== null) ? (string) $row[$startcol + 44] : null;
$this->original_artist = ($row[$startcol + 45] !== null) ? (string) $row[$startcol + 45] : null;
$this->copyright = ($row[$startcol + 46] !== null) ? (string) $row[$startcol + 46] : null;
$this->report_datetime = ($row[$startcol + 47] !== null) ? (string) $row[$startcol + 47] : null;
$this->report_location = ($row[$startcol + 48] !== null) ? (string) $row[$startcol + 48] : null;
$this->report_organization = ($row[$startcol + 49] !== null) ? (string) $row[$startcol + 49] : null;
$this->subject = ($row[$startcol + 50] !== null) ? (string) $row[$startcol + 50] : null;
$this->contributor = ($row[$startcol + 51] !== null) ? (string) $row[$startcol + 51] : null;
$this->language = ($row[$startcol + 52] !== null) ? (string) $row[$startcol + 52] : null;
$this->filepath = ($row[$startcol + 5] !== null) ? (string) $row[$startcol + 5] : null;
$this->state = ($row[$startcol + 6] !== null) ? (string) $row[$startcol + 6] : null;
$this->currentlyaccessing = ($row[$startcol + 7] !== null) ? (int) $row[$startcol + 7] : null;
$this->editedby = ($row[$startcol + 8] !== null) ? (int) $row[$startcol + 8] : null;
$this->mtime = ($row[$startcol + 9] !== null) ? (string) $row[$startcol + 9] : null;
$this->md5 = ($row[$startcol + 10] !== null) ? (string) $row[$startcol + 10] : null;
$this->track_title = ($row[$startcol + 11] !== null) ? (string) $row[$startcol + 11] : null;
$this->artist_name = ($row[$startcol + 12] !== null) ? (string) $row[$startcol + 12] : null;
$this->bit_rate = ($row[$startcol + 13] !== null) ? (string) $row[$startcol + 13] : null;
$this->sample_rate = ($row[$startcol + 14] !== null) ? (string) $row[$startcol + 14] : null;
$this->format = ($row[$startcol + 15] !== null) ? (string) $row[$startcol + 15] : null;
$this->length = ($row[$startcol + 16] !== null) ? (string) $row[$startcol + 16] : null;
$this->album_title = ($row[$startcol + 17] !== null) ? (string) $row[$startcol + 17] : null;
$this->genre = ($row[$startcol + 18] !== null) ? (string) $row[$startcol + 18] : null;
$this->comments = ($row[$startcol + 19] !== null) ? (string) $row[$startcol + 19] : null;
$this->year = ($row[$startcol + 20] !== null) ? (string) $row[$startcol + 20] : null;
$this->track_number = ($row[$startcol + 21] !== null) ? (int) $row[$startcol + 21] : null;
$this->channels = ($row[$startcol + 22] !== null) ? (int) $row[$startcol + 22] : null;
$this->url = ($row[$startcol + 23] !== null) ? (string) $row[$startcol + 23] : null;
$this->bpm = ($row[$startcol + 24] !== null) ? (string) $row[$startcol + 24] : null;
$this->rating = ($row[$startcol + 25] !== null) ? (string) $row[$startcol + 25] : null;
$this->encoded_by = ($row[$startcol + 26] !== null) ? (string) $row[$startcol + 26] : null;
$this->disc_number = ($row[$startcol + 27] !== null) ? (string) $row[$startcol + 27] : null;
$this->mood = ($row[$startcol + 28] !== null) ? (string) $row[$startcol + 28] : null;
$this->label = ($row[$startcol + 29] !== null) ? (string) $row[$startcol + 29] : null;
$this->composer = ($row[$startcol + 30] !== null) ? (string) $row[$startcol + 30] : null;
$this->encoder = ($row[$startcol + 31] !== null) ? (string) $row[$startcol + 31] : null;
$this->checksum = ($row[$startcol + 32] !== null) ? (string) $row[$startcol + 32] : null;
$this->lyrics = ($row[$startcol + 33] !== null) ? (string) $row[$startcol + 33] : null;
$this->orchestra = ($row[$startcol + 34] !== null) ? (string) $row[$startcol + 34] : null;
$this->conductor = ($row[$startcol + 35] !== null) ? (string) $row[$startcol + 35] : null;
$this->lyricist = ($row[$startcol + 36] !== null) ? (string) $row[$startcol + 36] : null;
$this->original_lyricist = ($row[$startcol + 37] !== null) ? (string) $row[$startcol + 37] : null;
$this->radio_station_name = ($row[$startcol + 38] !== null) ? (string) $row[$startcol + 38] : null;
$this->info_url = ($row[$startcol + 39] !== null) ? (string) $row[$startcol + 39] : null;
$this->artist_url = ($row[$startcol + 40] !== null) ? (string) $row[$startcol + 40] : null;
$this->audio_source_url = ($row[$startcol + 41] !== null) ? (string) $row[$startcol + 41] : null;
$this->radio_station_url = ($row[$startcol + 42] !== null) ? (string) $row[$startcol + 42] : null;
$this->buy_this_url = ($row[$startcol + 43] !== null) ? (string) $row[$startcol + 43] : null;
$this->isrc_number = ($row[$startcol + 44] !== null) ? (string) $row[$startcol + 44] : null;
$this->catalog_number = ($row[$startcol + 45] !== null) ? (string) $row[$startcol + 45] : null;
$this->original_artist = ($row[$startcol + 46] !== null) ? (string) $row[$startcol + 46] : null;
$this->copyright = ($row[$startcol + 47] !== null) ? (string) $row[$startcol + 47] : null;
$this->report_datetime = ($row[$startcol + 48] !== null) ? (string) $row[$startcol + 48] : null;
$this->report_location = ($row[$startcol + 49] !== null) ? (string) $row[$startcol + 49] : null;
$this->report_organization = ($row[$startcol + 50] !== null) ? (string) $row[$startcol + 50] : null;
$this->subject = ($row[$startcol + 51] !== null) ? (string) $row[$startcol + 51] : null;
$this->contributor = ($row[$startcol + 52] !== null) ? (string) $row[$startcol + 52] : null;
$this->language = ($row[$startcol + 53] !== null) ? (string) $row[$startcol + 53] : null;
$this->resetModified();
$this->setNew(false);
@ -2207,7 +2250,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$this->ensureConsistency();
}
return $startcol + 53; // 53 = CcFilesPeer::NUM_COLUMNS - CcFilesPeer::NUM_LAZY_LOAD_COLUMNS).
return $startcol + 54; // 54 = CcFilesPeer::NUM_COLUMNS - CcFilesPeer::NUM_LAZY_LOAD_COLUMNS).
} catch (Exception $e) {
throw new PropelException("Error populating CcFiles object", $e);
@ -2568,147 +2611,150 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
return $this->getFtype();
break;
case 5:
return $this->getState();
return $this->getfilepath();
break;
case 6:
return $this->getCurrentlyaccessing();
return $this->getState();
break;
case 7:
return $this->getEditedby();
return $this->getCurrentlyaccessing();
break;
case 8:
return $this->getMtime();
return $this->getEditedby();
break;
case 9:
return $this->getMd5();
return $this->getMtime();
break;
case 10:
return $this->getTrackTitle();
return $this->getMd5();
break;
case 11:
return $this->getArtistName();
return $this->getTrackTitle();
break;
case 12:
return $this->getBitRate();
return $this->getArtistName();
break;
case 13:
return $this->getSampleRate();
return $this->getBitRate();
break;
case 14:
return $this->getFormat();
return $this->getSampleRate();
break;
case 15:
return $this->getDbLength();
return $this->getFormat();
break;
case 16:
return $this->getAlbumTitle();
return $this->getDbLength();
break;
case 17:
return $this->getGenre();
return $this->getAlbumTitle();
break;
case 18:
return $this->getComments();
return $this->getGenre();
break;
case 19:
return $this->getYear();
return $this->getComments();
break;
case 20:
return $this->getTrackNumber();
return $this->getYear();
break;
case 21:
return $this->getChannels();
return $this->getTrackNumber();
break;
case 22:
return $this->getUrl();
return $this->getChannels();
break;
case 23:
return $this->getBpm();
return $this->getUrl();
break;
case 24:
return $this->getRating();
return $this->getBpm();
break;
case 25:
return $this->getEncodedBy();
return $this->getRating();
break;
case 26:
return $this->getDiscNumber();
return $this->getEncodedBy();
break;
case 27:
return $this->getMood();
return $this->getDiscNumber();
break;
case 28:
return $this->getLabel();
return $this->getMood();
break;
case 29:
return $this->getComposer();
return $this->getLabel();
break;
case 30:
return $this->getEncoder();
return $this->getComposer();
break;
case 31:
return $this->getChecksum();
return $this->getEncoder();
break;
case 32:
return $this->getLyrics();
return $this->getChecksum();
break;
case 33:
return $this->getOrchestra();
return $this->getLyrics();
break;
case 34:
return $this->getConductor();
return $this->getOrchestra();
break;
case 35:
return $this->getLyricist();
return $this->getConductor();
break;
case 36:
return $this->getOriginalLyricist();
return $this->getLyricist();
break;
case 37:
return $this->getRadioStationName();
return $this->getOriginalLyricist();
break;
case 38:
return $this->getInfoUrl();
return $this->getRadioStationName();
break;
case 39:
return $this->getArtistUrl();
return $this->getInfoUrl();
break;
case 40:
return $this->getAudioSourceUrl();
return $this->getArtistUrl();
break;
case 41:
return $this->getRadioStationUrl();
return $this->getAudioSourceUrl();
break;
case 42:
return $this->getBuyThisUrl();
return $this->getRadioStationUrl();
break;
case 43:
return $this->getIsrcNumber();
return $this->getBuyThisUrl();
break;
case 44:
return $this->getCatalogNumber();
return $this->getIsrcNumber();
break;
case 45:
return $this->getOriginalArtist();
return $this->getCatalogNumber();
break;
case 46:
return $this->getCopyright();
return $this->getOriginalArtist();
break;
case 47:
return $this->getReportDatetime();
return $this->getCopyright();
break;
case 48:
return $this->getReportLocation();
return $this->getReportDatetime();
break;
case 49:
return $this->getReportOrganization();
return $this->getReportLocation();
break;
case 50:
return $this->getSubject();
return $this->getReportOrganization();
break;
case 51:
return $this->getContributor();
return $this->getSubject();
break;
case 52:
return $this->getContributor();
break;
case 53:
return $this->getLanguage();
break;
default:
@ -2740,54 +2786,55 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$keys[2] => $this->getName(),
$keys[3] => $this->getMime(),
$keys[4] => $this->getFtype(),
$keys[5] => $this->getState(),
$keys[6] => $this->getCurrentlyaccessing(),
$keys[7] => $this->getEditedby(),
$keys[8] => $this->getMtime(),
$keys[9] => $this->getMd5(),
$keys[10] => $this->getTrackTitle(),
$keys[11] => $this->getArtistName(),
$keys[12] => $this->getBitRate(),
$keys[13] => $this->getSampleRate(),
$keys[14] => $this->getFormat(),
$keys[15] => $this->getDbLength(),
$keys[16] => $this->getAlbumTitle(),
$keys[17] => $this->getGenre(),
$keys[18] => $this->getComments(),
$keys[19] => $this->getYear(),
$keys[20] => $this->getTrackNumber(),
$keys[21] => $this->getChannels(),
$keys[22] => $this->getUrl(),
$keys[23] => $this->getBpm(),
$keys[24] => $this->getRating(),
$keys[25] => $this->getEncodedBy(),
$keys[26] => $this->getDiscNumber(),
$keys[27] => $this->getMood(),
$keys[28] => $this->getLabel(),
$keys[29] => $this->getComposer(),
$keys[30] => $this->getEncoder(),
$keys[31] => $this->getChecksum(),
$keys[32] => $this->getLyrics(),
$keys[33] => $this->getOrchestra(),
$keys[34] => $this->getConductor(),
$keys[35] => $this->getLyricist(),
$keys[36] => $this->getOriginalLyricist(),
$keys[37] => $this->getRadioStationName(),
$keys[38] => $this->getInfoUrl(),
$keys[39] => $this->getArtistUrl(),
$keys[40] => $this->getAudioSourceUrl(),
$keys[41] => $this->getRadioStationUrl(),
$keys[42] => $this->getBuyThisUrl(),
$keys[43] => $this->getIsrcNumber(),
$keys[44] => $this->getCatalogNumber(),
$keys[45] => $this->getOriginalArtist(),
$keys[46] => $this->getCopyright(),
$keys[47] => $this->getReportDatetime(),
$keys[48] => $this->getReportLocation(),
$keys[49] => $this->getReportOrganization(),
$keys[50] => $this->getSubject(),
$keys[51] => $this->getContributor(),
$keys[52] => $this->getLanguage(),
$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[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(),
);
if ($includeForeignObjects) {
if (null !== $this->aCcSubjs) {
@ -2840,147 +2887,150 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$this->setFtype($value);
break;
case 5:
$this->setState($value);
$this->setfilepath($value);
break;
case 6:
$this->setCurrentlyaccessing($value);
$this->setState($value);
break;
case 7:
$this->setEditedby($value);
$this->setCurrentlyaccessing($value);
break;
case 8:
$this->setMtime($value);
$this->setEditedby($value);
break;
case 9:
$this->setMd5($value);
$this->setMtime($value);
break;
case 10:
$this->setTrackTitle($value);
$this->setMd5($value);
break;
case 11:
$this->setArtistName($value);
$this->setTrackTitle($value);
break;
case 12:
$this->setBitRate($value);
$this->setArtistName($value);
break;
case 13:
$this->setSampleRate($value);
$this->setBitRate($value);
break;
case 14:
$this->setFormat($value);
$this->setSampleRate($value);
break;
case 15:
$this->setDbLength($value);
$this->setFormat($value);
break;
case 16:
$this->setAlbumTitle($value);
$this->setDbLength($value);
break;
case 17:
$this->setGenre($value);
$this->setAlbumTitle($value);
break;
case 18:
$this->setComments($value);
$this->setGenre($value);
break;
case 19:
$this->setYear($value);
$this->setComments($value);
break;
case 20:
$this->setTrackNumber($value);
$this->setYear($value);
break;
case 21:
$this->setChannels($value);
$this->setTrackNumber($value);
break;
case 22:
$this->setUrl($value);
$this->setChannels($value);
break;
case 23:
$this->setBpm($value);
$this->setUrl($value);
break;
case 24:
$this->setRating($value);
$this->setBpm($value);
break;
case 25:
$this->setEncodedBy($value);
$this->setRating($value);
break;
case 26:
$this->setDiscNumber($value);
$this->setEncodedBy($value);
break;
case 27:
$this->setMood($value);
$this->setDiscNumber($value);
break;
case 28:
$this->setLabel($value);
$this->setMood($value);
break;
case 29:
$this->setComposer($value);
$this->setLabel($value);
break;
case 30:
$this->setEncoder($value);
$this->setComposer($value);
break;
case 31:
$this->setChecksum($value);
$this->setEncoder($value);
break;
case 32:
$this->setLyrics($value);
$this->setChecksum($value);
break;
case 33:
$this->setOrchestra($value);
$this->setLyrics($value);
break;
case 34:
$this->setConductor($value);
$this->setOrchestra($value);
break;
case 35:
$this->setLyricist($value);
$this->setConductor($value);
break;
case 36:
$this->setOriginalLyricist($value);
$this->setLyricist($value);
break;
case 37:
$this->setRadioStationName($value);
$this->setOriginalLyricist($value);
break;
case 38:
$this->setInfoUrl($value);
$this->setRadioStationName($value);
break;
case 39:
$this->setArtistUrl($value);
$this->setInfoUrl($value);
break;
case 40:
$this->setAudioSourceUrl($value);
$this->setArtistUrl($value);
break;
case 41:
$this->setRadioStationUrl($value);
$this->setAudioSourceUrl($value);
break;
case 42:
$this->setBuyThisUrl($value);
$this->setRadioStationUrl($value);
break;
case 43:
$this->setIsrcNumber($value);
$this->setBuyThisUrl($value);
break;
case 44:
$this->setCatalogNumber($value);
$this->setIsrcNumber($value);
break;
case 45:
$this->setOriginalArtist($value);
$this->setCatalogNumber($value);
break;
case 46:
$this->setCopyright($value);
$this->setOriginalArtist($value);
break;
case 47:
$this->setReportDatetime($value);
$this->setCopyright($value);
break;
case 48:
$this->setReportLocation($value);
$this->setReportDatetime($value);
break;
case 49:
$this->setReportOrganization($value);
$this->setReportLocation($value);
break;
case 50:
$this->setSubject($value);
$this->setReportOrganization($value);
break;
case 51:
$this->setContributor($value);
$this->setSubject($value);
break;
case 52:
$this->setContributor($value);
break;
case 53:
$this->setLanguage($value);
break;
} // switch()
@ -3012,54 +3062,55 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
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->setState($arr[$keys[5]]);
if (array_key_exists($keys[6], $arr)) $this->setCurrentlyaccessing($arr[$keys[6]]);
if (array_key_exists($keys[7], $arr)) $this->setEditedby($arr[$keys[7]]);
if (array_key_exists($keys[8], $arr)) $this->setMtime($arr[$keys[8]]);
if (array_key_exists($keys[9], $arr)) $this->setMd5($arr[$keys[9]]);
if (array_key_exists($keys[10], $arr)) $this->setTrackTitle($arr[$keys[10]]);
if (array_key_exists($keys[11], $arr)) $this->setArtistName($arr[$keys[11]]);
if (array_key_exists($keys[12], $arr)) $this->setBitRate($arr[$keys[12]]);
if (array_key_exists($keys[13], $arr)) $this->setSampleRate($arr[$keys[13]]);
if (array_key_exists($keys[14], $arr)) $this->setFormat($arr[$keys[14]]);
if (array_key_exists($keys[15], $arr)) $this->setDbLength($arr[$keys[15]]);
if (array_key_exists($keys[16], $arr)) $this->setAlbumTitle($arr[$keys[16]]);
if (array_key_exists($keys[17], $arr)) $this->setGenre($arr[$keys[17]]);
if (array_key_exists($keys[18], $arr)) $this->setComments($arr[$keys[18]]);
if (array_key_exists($keys[19], $arr)) $this->setYear($arr[$keys[19]]);
if (array_key_exists($keys[20], $arr)) $this->setTrackNumber($arr[$keys[20]]);
if (array_key_exists($keys[21], $arr)) $this->setChannels($arr[$keys[21]]);
if (array_key_exists($keys[22], $arr)) $this->setUrl($arr[$keys[22]]);
if (array_key_exists($keys[23], $arr)) $this->setBpm($arr[$keys[23]]);
if (array_key_exists($keys[24], $arr)) $this->setRating($arr[$keys[24]]);
if (array_key_exists($keys[25], $arr)) $this->setEncodedBy($arr[$keys[25]]);
if (array_key_exists($keys[26], $arr)) $this->setDiscNumber($arr[$keys[26]]);
if (array_key_exists($keys[27], $arr)) $this->setMood($arr[$keys[27]]);
if (array_key_exists($keys[28], $arr)) $this->setLabel($arr[$keys[28]]);
if (array_key_exists($keys[29], $arr)) $this->setComposer($arr[$keys[29]]);
if (array_key_exists($keys[30], $arr)) $this->setEncoder($arr[$keys[30]]);
if (array_key_exists($keys[31], $arr)) $this->setChecksum($arr[$keys[31]]);
if (array_key_exists($keys[32], $arr)) $this->setLyrics($arr[$keys[32]]);
if (array_key_exists($keys[33], $arr)) $this->setOrchestra($arr[$keys[33]]);
if (array_key_exists($keys[34], $arr)) $this->setConductor($arr[$keys[34]]);
if (array_key_exists($keys[35], $arr)) $this->setLyricist($arr[$keys[35]]);
if (array_key_exists($keys[36], $arr)) $this->setOriginalLyricist($arr[$keys[36]]);
if (array_key_exists($keys[37], $arr)) $this->setRadioStationName($arr[$keys[37]]);
if (array_key_exists($keys[38], $arr)) $this->setInfoUrl($arr[$keys[38]]);
if (array_key_exists($keys[39], $arr)) $this->setArtistUrl($arr[$keys[39]]);
if (array_key_exists($keys[40], $arr)) $this->setAudioSourceUrl($arr[$keys[40]]);
if (array_key_exists($keys[41], $arr)) $this->setRadioStationUrl($arr[$keys[41]]);
if (array_key_exists($keys[42], $arr)) $this->setBuyThisUrl($arr[$keys[42]]);
if (array_key_exists($keys[43], $arr)) $this->setIsrcNumber($arr[$keys[43]]);
if (array_key_exists($keys[44], $arr)) $this->setCatalogNumber($arr[$keys[44]]);
if (array_key_exists($keys[45], $arr)) $this->setOriginalArtist($arr[$keys[45]]);
if (array_key_exists($keys[46], $arr)) $this->setCopyright($arr[$keys[46]]);
if (array_key_exists($keys[47], $arr)) $this->setReportDatetime($arr[$keys[47]]);
if (array_key_exists($keys[48], $arr)) $this->setReportLocation($arr[$keys[48]]);
if (array_key_exists($keys[49], $arr)) $this->setReportOrganization($arr[$keys[49]]);
if (array_key_exists($keys[50], $arr)) $this->setSubject($arr[$keys[50]]);
if (array_key_exists($keys[51], $arr)) $this->setContributor($arr[$keys[51]]);
if (array_key_exists($keys[52], $arr)) $this->setLanguage($arr[$keys[52]]);
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[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]]);
}
/**
@ -3076,6 +3127,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
if ($this->isColumnModified(CcFilesPeer::NAME)) $criteria->add(CcFilesPeer::NAME, $this->name);
if ($this->isColumnModified(CcFilesPeer::MIME)) $criteria->add(CcFilesPeer::MIME, $this->mime);
if ($this->isColumnModified(CcFilesPeer::FTYPE)) $criteria->add(CcFilesPeer::FTYPE, $this->ftype);
if ($this->isColumnModified(CcFilesPeer::FILEPATH)) $criteria->add(CcFilesPeer::FILEPATH, $this->filepath);
if ($this->isColumnModified(CcFilesPeer::STATE)) $criteria->add(CcFilesPeer::STATE, $this->state);
if ($this->isColumnModified(CcFilesPeer::CURRENTLYACCESSING)) $criteria->add(CcFilesPeer::CURRENTLYACCESSING, $this->currentlyaccessing);
if ($this->isColumnModified(CcFilesPeer::EDITEDBY)) $criteria->add(CcFilesPeer::EDITEDBY, $this->editedby);
@ -3189,6 +3241,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$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);
@ -3487,6 +3540,7 @@ abstract class BaseCcFiles extends BaseObject implements Persistent
$this->name = null;
$this->mime = null;
$this->ftype = null;
$this->filepath = null;
$this->state = null;
$this->currentlyaccessing = null;
$this->editedby = null;

View File

@ -26,7 +26,7 @@ abstract class BaseCcFilesPeer {
const TM_CLASS = 'CcFilesTableMap';
/** The total number of columns. */
const NUM_COLUMNS = 53;
const NUM_COLUMNS = 54;
/** The number of lazy-loaded columns. */
const NUM_LAZY_LOAD_COLUMNS = 0;
@ -46,6 +46,9 @@ abstract class BaseCcFilesPeer {
/** the column name for the FTYPE field */
const FTYPE = 'cc_files.FTYPE';
/** the column name for the FILEPATH field */
const FILEPATH = 'cc_files.FILEPATH';
/** the column name for the STATE field */
const STATE = 'cc_files.STATE';
@ -206,12 +209,12 @@ 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', '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', '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_COLNAME => array (self::ID, self::GUNID, self::NAME, self::MIME, self::FTYPE, 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', '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', '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_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, )
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_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', ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, )
);
/**
@ -221,12 +224,12 @@ 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, 'State' => 5, 'Currentlyaccessing' => 6, 'Editedby' => 7, 'Mtime' => 8, 'Md5' => 9, 'TrackTitle' => 10, 'ArtistName' => 11, 'BitRate' => 12, 'SampleRate' => 13, 'Format' => 14, 'DbLength' => 15, 'AlbumTitle' => 16, 'Genre' => 17, 'Comments' => 18, 'Year' => 19, 'TrackNumber' => 20, 'Channels' => 21, 'Url' => 22, 'Bpm' => 23, 'Rating' => 24, 'EncodedBy' => 25, 'DiscNumber' => 26, 'Mood' => 27, 'Label' => 28, 'Composer' => 29, 'Encoder' => 30, 'Checksum' => 31, 'Lyrics' => 32, 'Orchestra' => 33, 'Conductor' => 34, 'Lyricist' => 35, 'OriginalLyricist' => 36, 'RadioStationName' => 37, 'InfoUrl' => 38, 'ArtistUrl' => 39, 'AudioSourceUrl' => 40, 'RadioStationUrl' => 41, 'BuyThisUrl' => 42, 'IsrcNumber' => 43, 'CatalogNumber' => 44, 'OriginalArtist' => 45, 'Copyright' => 46, 'ReportDatetime' => 47, 'ReportLocation' => 48, 'ReportOrganization' => 49, 'Subject' => 50, 'Contributor' => 51, 'Language' => 52, ),
BasePeer::TYPE_STUDLYPHPNAME => array ('dbId' => 0, 'gunid' => 1, 'name' => 2, 'mime' => 3, 'ftype' => 4, 'state' => 5, 'currentlyaccessing' => 6, 'editedby' => 7, 'mtime' => 8, 'md5' => 9, 'trackTitle' => 10, 'artistName' => 11, 'bitRate' => 12, 'sampleRate' => 13, 'format' => 14, 'dbLength' => 15, 'albumTitle' => 16, 'genre' => 17, 'comments' => 18, 'year' => 19, 'trackNumber' => 20, 'channels' => 21, 'url' => 22, 'bpm' => 23, 'rating' => 24, 'encodedBy' => 25, 'discNumber' => 26, 'mood' => 27, 'label' => 28, 'composer' => 29, 'encoder' => 30, 'checksum' => 31, 'lyrics' => 32, 'orchestra' => 33, 'conductor' => 34, 'lyricist' => 35, 'originalLyricist' => 36, 'radioStationName' => 37, 'infoUrl' => 38, 'artistUrl' => 39, 'audioSourceUrl' => 40, 'radioStationUrl' => 41, 'buyThisUrl' => 42, 'isrcNumber' => 43, 'catalogNumber' => 44, 'originalArtist' => 45, 'copyright' => 46, 'reportDatetime' => 47, 'reportLocation' => 48, 'reportOrganization' => 49, 'subject' => 50, 'contributor' => 51, 'language' => 52, ),
BasePeer::TYPE_COLNAME => array (self::ID => 0, self::GUNID => 1, self::NAME => 2, self::MIME => 3, self::FTYPE => 4, self::STATE => 5, self::CURRENTLYACCESSING => 6, self::EDITEDBY => 7, self::MTIME => 8, self::MD5 => 9, self::TRACK_TITLE => 10, self::ARTIST_NAME => 11, self::BIT_RATE => 12, self::SAMPLE_RATE => 13, self::FORMAT => 14, self::LENGTH => 15, self::ALBUM_TITLE => 16, self::GENRE => 17, self::COMMENTS => 18, self::YEAR => 19, self::TRACK_NUMBER => 20, self::CHANNELS => 21, self::URL => 22, self::BPM => 23, self::RATING => 24, self::ENCODED_BY => 25, self::DISC_NUMBER => 26, self::MOOD => 27, self::LABEL => 28, self::COMPOSER => 29, self::ENCODER => 30, self::CHECKSUM => 31, self::LYRICS => 32, self::ORCHESTRA => 33, self::CONDUCTOR => 34, self::LYRICIST => 35, self::ORIGINAL_LYRICIST => 36, self::RADIO_STATION_NAME => 37, self::INFO_URL => 38, self::ARTIST_URL => 39, self::AUDIO_SOURCE_URL => 40, self::RADIO_STATION_URL => 41, self::BUY_THIS_URL => 42, self::ISRC_NUMBER => 43, self::CATALOG_NUMBER => 44, self::ORIGINAL_ARTIST => 45, self::COPYRIGHT => 46, self::REPORT_DATETIME => 47, self::REPORT_LOCATION => 48, self::REPORT_ORGANIZATION => 49, self::SUBJECT => 50, self::CONTRIBUTOR => 51, self::LANGUAGE => 52, ),
BasePeer::TYPE_RAW_COLNAME => array ('ID' => 0, 'GUNID' => 1, 'NAME' => 2, 'MIME' => 3, 'FTYPE' => 4, 'STATE' => 5, 'CURRENTLYACCESSING' => 6, 'EDITEDBY' => 7, 'MTIME' => 8, 'MD5' => 9, 'TRACK_TITLE' => 10, 'ARTIST_NAME' => 11, 'BIT_RATE' => 12, 'SAMPLE_RATE' => 13, 'FORMAT' => 14, 'LENGTH' => 15, 'ALBUM_TITLE' => 16, 'GENRE' => 17, 'COMMENTS' => 18, 'YEAR' => 19, 'TRACK_NUMBER' => 20, 'CHANNELS' => 21, 'URL' => 22, 'BPM' => 23, 'RATING' => 24, 'ENCODED_BY' => 25, 'DISC_NUMBER' => 26, 'MOOD' => 27, 'LABEL' => 28, 'COMPOSER' => 29, 'ENCODER' => 30, 'CHECKSUM' => 31, 'LYRICS' => 32, 'ORCHESTRA' => 33, 'CONDUCTOR' => 34, 'LYRICIST' => 35, 'ORIGINAL_LYRICIST' => 36, 'RADIO_STATION_NAME' => 37, 'INFO_URL' => 38, 'ARTIST_URL' => 39, 'AUDIO_SOURCE_URL' => 40, 'RADIO_STATION_URL' => 41, 'BUY_THIS_URL' => 42, 'ISRC_NUMBER' => 43, 'CATALOG_NUMBER' => 44, 'ORIGINAL_ARTIST' => 45, 'COPYRIGHT' => 46, 'REPORT_DATETIME' => 47, 'REPORT_LOCATION' => 48, 'REPORT_ORGANIZATION' => 49, 'SUBJECT' => 50, 'CONTRIBUTOR' => 51, 'LANGUAGE' => 52, ),
BasePeer::TYPE_FIELDNAME => array ('id' => 0, 'gunid' => 1, 'name' => 2, 'mime' => 3, 'ftype' => 4, 'state' => 5, 'currentlyaccessing' => 6, 'editedby' => 7, 'mtime' => 8, 'md5' => 9, 'track_title' => 10, 'artist_name' => 11, 'bit_rate' => 12, 'sample_rate' => 13, 'format' => 14, 'length' => 15, 'album_title' => 16, 'genre' => 17, 'comments' => 18, 'year' => 19, 'track_number' => 20, 'channels' => 21, 'url' => 22, 'bpm' => 23, 'rating' => 24, 'encoded_by' => 25, 'disc_number' => 26, 'mood' => 27, 'label' => 28, 'composer' => 29, 'encoder' => 30, 'checksum' => 31, 'lyrics' => 32, 'orchestra' => 33, 'conductor' => 34, 'lyricist' => 35, 'original_lyricist' => 36, 'radio_station_name' => 37, 'info_url' => 38, 'artist_url' => 39, 'audio_source_url' => 40, 'radio_station_url' => 41, 'buy_this_url' => 42, 'isrc_number' => 43, 'catalog_number' => 44, 'original_artist' => 45, 'copyright' => 46, 'report_datetime' => 47, 'report_location' => 48, 'report_organization' => 49, 'subject' => 50, 'contributor' => 51, 'language' => 52, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, )
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_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, ),
BasePeer::TYPE_NUM => array (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, )
);
/**
@ -303,6 +306,7 @@ abstract class BaseCcFilesPeer {
$criteria->addSelectColumn(CcFilesPeer::NAME);
$criteria->addSelectColumn(CcFilesPeer::MIME);
$criteria->addSelectColumn(CcFilesPeer::FTYPE);
$criteria->addSelectColumn(CcFilesPeer::FILEPATH);
$criteria->addSelectColumn(CcFilesPeer::STATE);
$criteria->addSelectColumn(CcFilesPeer::CURRENTLYACCESSING);
$criteria->addSelectColumn(CcFilesPeer::EDITEDBY);
@ -357,6 +361,7 @@ abstract class BaseCcFilesPeer {
$criteria->addSelectColumn($alias . '.NAME');
$criteria->addSelectColumn($alias . '.MIME');
$criteria->addSelectColumn($alias . '.FTYPE');
$criteria->addSelectColumn($alias . '.FILEPATH');
$criteria->addSelectColumn($alias . '.STATE');
$criteria->addSelectColumn($alias . '.CURRENTLYACCESSING');
$criteria->addSelectColumn($alias . '.EDITEDBY');

View File

@ -11,6 +11,7 @@
* @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
@ -65,6 +66,7 @@
* @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
@ -134,6 +136,7 @@
* @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
@ -188,6 +191,7 @@
* @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
@ -365,29 +369,20 @@ abstract class BaseCcFilesQuery extends ModelCriteria
/**
* Filter the query on the gunid column
*
* @param string|array $gunid The value to use as filter.
* Accepts an associative array('min' => $minValue, 'max' => $maxValue)
* @param string $gunid The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return CcFilesQuery The current query, for fluid interface
*/
public function filterByGunid($gunid = null, $comparison = null)
{
if (is_array($gunid)) {
$useMinMax = false;
if (isset($gunid['min'])) {
$this->addUsingAlias(CcFilesPeer::GUNID, $gunid['min'], Criteria::GREATER_EQUAL);
$useMinMax = true;
}
if (isset($gunid['max'])) {
$this->addUsingAlias(CcFilesPeer::GUNID, $gunid['max'], Criteria::LESS_EQUAL);
$useMinMax = true;
}
if ($useMinMax) {
return $this;
}
if (null === $comparison) {
if (null === $comparison) {
if (is_array($gunid)) {
$comparison = Criteria::IN;
} elseif (preg_match('/[\%\*]/', $gunid)) {
$gunid = str_replace('*', '%', $gunid);
$comparison = Criteria::LIKE;
}
}
return $this->addUsingAlias(CcFilesPeer::GUNID, $gunid, $comparison);
@ -459,6 +454,28 @@ abstract class BaseCcFilesQuery extends ModelCriteria
return $this->addUsingAlias(CcFilesPeer::FTYPE, $ftype, $comparison);
}
/**
* Filter the query on the filepath column
*
* @param string $filepath 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)
{
if (null === $comparison) {
if (is_array($filepath)) {
$comparison = Criteria::IN;
} elseif (preg_match('/[\%\*]/', $filepath)) {
$filepath = str_replace('*', '%', $filepath);
$comparison = Criteria::LIKE;
}
}
return $this->addUsingAlias(CcFilesPeer::FILEPATH, $filepath, $comparison);
}
/**
* Filter the query on the state column
*

View File

@ -417,29 +417,20 @@ abstract class BaseCcTransQuery extends ModelCriteria
/**
* Filter the query on the gunid column
*
* @param string|array $gunid The value to use as filter.
* Accepts an associative array('min' => $minValue, 'max' => $maxValue)
* @param string $gunid The value to use as filter.
* Accepts wildcards (* and % trigger a LIKE)
* @param string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL
*
* @return CcTransQuery The current query, for fluid interface
*/
public function filterByGunid($gunid = null, $comparison = null)
{
if (is_array($gunid)) {
$useMinMax = false;
if (isset($gunid['min'])) {
$this->addUsingAlias(CcTransPeer::GUNID, $gunid['min'], Criteria::GREATER_EQUAL);
$useMinMax = true;
}
if (isset($gunid['max'])) {
$this->addUsingAlias(CcTransPeer::GUNID, $gunid['max'], Criteria::LESS_EQUAL);
$useMinMax = true;
}
if ($useMinMax) {
return $this;
}
if (null === $comparison) {
if (null === $comparison) {
if (is_array($gunid)) {
$comparison = Criteria::IN;
} elseif (preg_match('/[\%\*]/', $gunid)) {
$gunid = str_replace('*', '%', $gunid);
$comparison = Criteria::LIKE;
}
}
return $this->addUsingAlias(CcTransPeer::GUNID, $gunid, $comparison);

View File

@ -8,6 +8,10 @@ Propel::init(__DIR__."/../backend/propel-db/build/conf/campcaster-conf.php");
// Add the generated 'classes' directory to the include path
set_include_path(__DIR__."/../backend/propel-db/build/classes" . PATH_SEPARATOR . get_include_path());
//DateTime in PHP 5.3.0+ need a default timezone set.
$tz = ini_get('date.timezone') ? ini_get('date.timezone') : 'America/Toronto';
date_default_timezone_set($tz);
// initialize objects ###############################################
$Smarty = new Smarty;
$Smarty->caching = false;