TrackDirectorsDAO Class Reference
[Conference]

Class for DAO relating tracks to directors. More...

List of all members.

Public Member Functions

 deleteDirector ($schedConfId, $trackId, $userId)
 deleteDirectorsBySchedConfId ($schedConfId)
 deleteDirectorsByTrackId ($trackId, $schedConfId=null)
 deleteDirectorsByUserId ($userId, $schedConfId=null, $trackId=null)
 directorExists ($schedConfId, $trackId, $userId)
getDirectorsByTrackId ($schedConfId, $trackId)
getDirectorsNotInTrack ($schedConfId, $trackId)
getTracksByUserId ($schedConfId, $userId)
 insertDirector ($schedConfId, $trackId, $userId)


Detailed Description

Class for DAO relating tracks to directors.

Definition at line 17 of file TrackDirectorsDAO.inc.php.


Member Function Documentation

TrackDirectorsDAO.deleteDirector ( schedConfId,
trackId,
userId 
)

Delete a track director.

Parameters:
$schedConfId int
$trackId int
$userId int

Definition at line 44 of file TrackDirectorsDAO.inc.php.

TrackDirectorsDAO.deleteDirectorsBySchedConfId ( schedConfId  ) 

Delete all track directors for a specified scheduled conference.

Parameters:
$schedConfId int

Definition at line 163 of file TrackDirectorsDAO.inc.php.

TrackDirectorsDAO.deleteDirectorsByTrackId ( trackId,
schedConfId = null 
)

Delete all track directors for a specified track in a scheduled conference.

Parameters:
$trackId int
$schedConfId int

Definition at line 148 of file TrackDirectorsDAO.inc.php.

TrackDirectorsDAO.deleteDirectorsByUserId ( userId,
schedConfId = null,
trackId = null 
)

Delete all track assignments for the specified user.

Parameters:
$userId int
$schedConfId int optional, include assignments only in this scheduled conference
$trackId int optional, include only this track

Definition at line 175 of file TrackDirectorsDAO.inc.php.

TrackDirectorsDAO.directorExists ( schedConfId,
trackId,
userId 
)

Check if a user is assigned to a specified track.

Parameters:
$schedConfId int
$trackId int
$userId int
Returns:
boolean

Definition at line 191 of file TrackDirectorsDAO.inc.php.

& TrackDirectorsDAO.getDirectorsByTrackId ( schedConfId,
trackId 
)

Retrieve a list of all track directors assigned to the specified track.

Parameters:
$schedConfId int
$trackId int
Returns:
array matching Users

Definition at line 88 of file TrackDirectorsDAO.inc.php.

& TrackDirectorsDAO.getDirectorsNotInTrack ( schedConfId,
trackId 
)

Retrieve a list of all track directors not assigned to the specified track.

Parameters:
$schedConfId int
$trackId int
Returns:
array matching Users

Definition at line 115 of file TrackDirectorsDAO.inc.php.

& TrackDirectorsDAO.getTracksByUserId ( schedConfId,
userId 
)

Retrieve a list of tracks assigned to the specified user.

Parameters:
$schedConfId int
$userId int
Returns:
array matching Tracks

Definition at line 61 of file TrackDirectorsDAO.inc.php.

TrackDirectorsDAO.insertDirector ( schedConfId,
trackId,
userId 
)

Insert a new track director.

Parameters:
$schedConfId int
$trackId int
$userId int

Definition at line 24 of file TrackDirectorsDAO.inc.php.


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