Public Member Functions | |
| & | _returnTimeBlockFromRow (&$row) |
| deleteTimeBlock ($timeBlock) | |
| deleteTimeBlockById ($timeBlockId) | |
| deleteTimeBlocksBySchedConfId ($schedConfId) | |
| getInsertTimeBlockId () | |
| getLocaleFieldNames () | |
| & | getTimeBlock ($timeBlockId) |
| & | getTimeBlocksBySchedConfId ($schedConfId, $rangeInfo=null) |
| getTimeBlockSchedConfId ($timeBlockId) | |
| insertTimeBlock (&$timeBlock) | |
| timeBlockExistsForSchedConf ($timeBlockId, $schedConfId) | |
| timeBlocksExistForSchedConf ($schedConfId) | |
| updateLocaleFields (&$timeBlock) | |
| updateTimeBlock (&$timeBlock) | |
$Id$
Definition at line 20 of file TimeBlockDAO.inc.php.
| & TimeBlockDAO._returnTimeBlockFromRow | ( | &$ | row | ) |
Internal function to return a TimeBlock object from a row.
| $row | array |
Definition at line 110 of file TimeBlockDAO.inc.php.
Referenced by getTimeBlock(), and getTimeBlocksBySchedConfId().
| TimeBlockDAO.deleteTimeBlock | ( | $ | timeBlock | ) |
Delete a timeBlock and all dependent items.
| $timeBlock | TimeBlock |
Definition at line 190 of file TimeBlockDAO.inc.php.
References deleteTimeBlockById().
Referenced by deleteTimeBlocksBySchedConfId().
| TimeBlockDAO.deleteTimeBlockById | ( | $ | timeBlockId | ) |
Delete a timeBlock by ID. Deletes dependents.
| $timeBlockId | int |
Definition at line 199 of file TimeBlockDAO.inc.php.
Referenced by deleteTimeBlock().
| TimeBlockDAO.deleteTimeBlocksBySchedConfId | ( | $ | schedConfId | ) |
Delete time blocks by scheduled conference ID.
| $conferenceId | int |
Definition at line 209 of file TimeBlockDAO.inc.php.
References deleteTimeBlock(), and getTimeBlocksBySchedConfId().
| TimeBlockDAO.getInsertTimeBlockId | ( | ) |
Get the ID of the last inserted timeBlock.
Definition at line 237 of file TimeBlockDAO.inc.php.
Referenced by insertTimeBlock().
| TimeBlockDAO.getLocaleFieldNames | ( | ) |
Retrieve a list of localized fields for this object.
Definition at line 101 of file TimeBlockDAO.inc.php.
| & TimeBlockDAO.getTimeBlock | ( | $ | timeBlockId | ) |
Retrieve a timeBlock by ID.
| $timeBlockId | int |
Definition at line 26 of file TimeBlockDAO.inc.php.
References _returnTimeBlockFromRow().
| & TimeBlockDAO.getTimeBlocksBySchedConfId | ( | $ | schedConfId, | |
| $ | rangeInfo = null | |||
| ) |
Retrieve an array of timeBlocks matching a particular sched conf ID.
| $schedConfId | int |
Definition at line 222 of file TimeBlockDAO.inc.php.
References _returnTimeBlockFromRow().
Referenced by deleteTimeBlocksBySchedConfId().
| TimeBlockDAO.getTimeBlockSchedConfId | ( | $ | timeBlockId | ) |
Retrieve timeBlock sched conf ID by time block ID.
| $timeBlockId | int |
Definition at line 44 of file TimeBlockDAO.inc.php.
| TimeBlockDAO.insertTimeBlock | ( | &$ | timeBlock | ) |
Insert a new TimeBlock.
| $timeBlock | TimeBlock |
Definition at line 137 of file TimeBlockDAO.inc.php.
References getInsertTimeBlockId(), and updateLocaleFields().
| TimeBlockDAO.timeBlockExistsForSchedConf | ( | $ | timeBlockId, | |
| $ | schedConfId | |||
| ) |
Check if a timeBlock exists with the given time block id for a sched conf.
| $timeBlockId | int | |
| $schedConfId | int |
Definition at line 58 of file TimeBlockDAO.inc.php.
| TimeBlockDAO.timeBlocksExistForSchedConf | ( | $ | schedConfId | ) |
Check if any timeBlock exists for a sched conf.
| $schedConfId | int |
Definition at line 82 of file TimeBlockDAO.inc.php.
| TimeBlockDAO.updateLocaleFields | ( | &$ | timeBlock | ) |
Update the localized settings for this object
| $timeBlock | object |
Definition at line 126 of file TimeBlockDAO.inc.php.
Referenced by insertTimeBlock(), and updateTimeBlock().
| TimeBlockDAO.updateTimeBlock | ( | &$ | timeBlock | ) |
Update an existing timeBlock.
| $timeBlock | TimeBlock |
Definition at line 163 of file TimeBlockDAO.inc.php.
References updateLocaleFields().
1.4.7