TrackDAO Class Reference
[Conference]

Operations for retrieving and modifying Track objects. More...

List of all members.

Public Member Functions

_returnTrackFromRow (&$row)
 deleteTrack (&$track)
 deleteTrackById ($trackId, $schedConfId=null)
 deleteTracksBySchedConf ($schedConfId)
getConferenceTracks ($conferenceId, $rangeInfo=null)
getDirectorTracks ($schedConfId)
 getInsertTrackId ()
 getLocaleFieldNames ()
getSchedConfTracks ($schedConfId, $rangeInfo=null)
getTrack ($trackId)
getTrackByAbbrev ($trackAbbrev, $schedConfId, $locale=null)
getTrackByTitle ($trackTitle, $schedConfId, $locale=null)
getTrackByTitleAndAbbrev ($trackTitle, $trackAbbrev, $schedConfId, $locale=null)
getTracksBySchedConfId ($schedConfId)
getTrackTitles ($schedConfId, $submittableOnly=false)
 insertTrack (&$track)
 resequenceTracks ($schedConfId)
 trackExists ($trackId, $schedConfId)
 updateLocaleFields (&$track)
 updateTrack (&$track)


Detailed Description

Operations for retrieving and modifying Track objects.

See also:
track

Definition at line 22 of file TrackDAO.inc.php.


Member Function Documentation

& TrackDAO._returnTrackFromRow ( &$  row  ) 

Internal function to return a Track object from a row.

Parameters:
$row array
Returns:
Track

Definition at line 142 of file TrackDAO.inc.php.

Referenced by getConferenceTracks(), getDirectorTracks(), getSchedConfTracks(), getTrack(), getTrackByAbbrev(), getTrackByTitle(), getTrackByTitleAndAbbrev(), and getTracksBySchedConfId().

TrackDAO.deleteTrack ( &$  track  ) 

Delete a track.

Parameters:
$track Track

Definition at line 241 of file TrackDAO.inc.php.

References deleteTrackById().

Referenced by deleteTracksBySchedConf().

TrackDAO.deleteTrackById ( trackId,
schedConfId = null 
)

Delete a track by ID.

Parameters:
$trackId int
$schedConfId int optional

Definition at line 250 of file TrackDAO.inc.php.

References trackExists().

Referenced by deleteTrack().

TrackDAO.deleteTracksBySchedConf ( schedConfId  ) 

Delete tracks by sched conf ID including ALL dependents.

Parameters:
$schedConfId int

Definition at line 272 of file TrackDAO.inc.php.

References deleteTrack(), and getSchedConfTracks().

& TrackDAO.getConferenceTracks ( conferenceId,
rangeInfo = null 
)

Retrieve all tracks for a scheduled conference.

Parameters:
$conferenceId int
$rangeInfo object optional
Returns:
DAOResultFactory containing Tracks ordered by sequence

Definition at line 365 of file TrackDAO.inc.php.

References _returnTrackFromRow().

& TrackDAO.getDirectorTracks ( schedConfId  ) 

Retrieve an array associating all track director IDs with arrays containing the tracks they edit.

Returns:
array directorId => array(tracks they edit)

Definition at line 285 of file TrackDAO.inc.php.

References _returnTrackFromRow().

TrackDAO.getInsertTrackId (  ) 

Get the ID of the last inserted track.

Returns:
int

Definition at line 449 of file TrackDAO.inc.php.

Referenced by insertTrack().

TrackDAO.getLocaleFieldNames (  ) 

Get the list of fields for which data can be localized.

Returns:
array

Definition at line 165 of file TrackDAO.inc.php.

& TrackDAO.getSchedConfTracks ( schedConfId,
rangeInfo = null 
)

Retrieve all tracks for a scheduled conference.

Parameters:
$schedConfId int
$rangeInfo object optional
Returns:
DAOResultFactory containing Tracks ordered by sequence

Definition at line 345 of file TrackDAO.inc.php.

References _returnTrackFromRow().

Referenced by deleteTracksBySchedConf(), and getTrackTitles().

& TrackDAO.getTrack ( trackId  ) 

Retrieve a track by ID.

Parameters:
$trackId int
Returns:
Track

Definition at line 28 of file TrackDAO.inc.php.

References _returnTrackFromRow().

& TrackDAO.getTrackByAbbrev ( trackAbbrev,
schedConfId,
locale = null 
)

Retrieve a track by abbreviation.

Parameters:
$trackAbbrev string
$locale string Optional
Returns:
track

Definition at line 50 of file TrackDAO.inc.php.

References _returnTrackFromRow().

& TrackDAO.getTrackByTitle ( trackTitle,
schedConfId,
locale = null 
)

Retrieve a track by title.

Parameters:
$trackTitle string
$locale string optional
Returns:
track

Definition at line 77 of file TrackDAO.inc.php.

References _returnTrackFromRow().

& TrackDAO.getTrackByTitleAndAbbrev ( trackTitle,
trackAbbrev,
schedConfId,
locale = null 
)

Retrieve a track by title and abbrev.

Parameters:
$trackTitle string
$trackAbbrev string
$locale string optional
Returns:
Track

Definition at line 105 of file TrackDAO.inc.php.

References _returnTrackFromRow().

& TrackDAO.getTracksBySchedConfId ( schedConfId  ) 

Retrieve all tracks in which papers are currently published in the given scheduled conference.

Returns:
array

Definition at line 315 of file TrackDAO.inc.php.

References _returnTrackFromRow().

& TrackDAO.getTrackTitles ( schedConfId,
submittableOnly = false 
)

Retrieve the IDs and titles of the tracks for a scheduled conference in an associative array.

Returns:
array

Definition at line 385 of file TrackDAO.inc.php.

References getSchedConfTracks().

TrackDAO.insertTrack ( &$  track  ) 

Insert a new track.

Parameters:
$track Track

Definition at line 184 of file TrackDAO.inc.php.

References getInsertTrackId(), and updateLocaleFields().

TrackDAO.resequenceTracks ( schedConfId  ) 

Sequentially renumber tracks in their sequence order.

Parameters:
$schedConfId int

Definition at line 422 of file TrackDAO.inc.php.

TrackDAO.trackExists ( trackId,
schedConfId 
)

Check if a track exists with the specified ID.

Parameters:
$trackId int
$schedConfId int
Returns:
boolean

Definition at line 405 of file TrackDAO.inc.php.

Referenced by deleteTrackById().

TrackDAO.updateLocaleFields ( &$  track  ) 

Update the localized fields for this table

Parameters:
$track object

Definition at line 173 of file TrackDAO.inc.php.

Referenced by insertTrack(), and updateTrack().

TrackDAO.updateTrack ( &$  track  ) 

Update an existing track.

Parameters:
$track Track

Definition at line 211 of file TrackDAO.inc.php.

References updateLocaleFields().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7