Public Member Functions | |
| & | _returnBuildingFromRow (&$row) |
| buildingExistsForSchedConf ($buildingId, $schedConfId) | |
| deleteBuilding ($building) | |
| deleteBuildingById ($buildingId) | |
| deleteBuildingsBySchedConfId ($schedConfId) | |
| & | getBuilding ($buildingId) |
| & | getBuildingsBySchedConfId ($schedConfId, $rangeInfo=null) |
| getBuildingSchedConfId ($buildingId) | |
| getInsertBuildingId () | |
| getLocaleFieldNames () | |
| insertBuilding (&$building) | |
| updateBuilding (&$building) | |
| updateLocaleFields (&$building) | |
Definition at line 20 of file BuildingDAO.inc.php.
| & BuildingDAO._returnBuildingFromRow | ( | &$ | row | ) |
Internal function to return a Building object from a row.
| $row | array |
Definition at line 90 of file BuildingDAO.inc.php.
Referenced by getBuilding(), and getBuildingsBySchedConfId().
| BuildingDAO.buildingExistsForSchedConf | ( | $ | buildingId, | |
| $ | schedConfId | |||
| ) |
Check if a building exists with the given building id for a sched conf.
| $buildingId | int | |
| $schedConfId | int |
Definition at line 58 of file BuildingDAO.inc.php.
| BuildingDAO.deleteBuilding | ( | $ | building | ) |
Delete a building and all dependent items.
| $building | Building |
Definition at line 154 of file BuildingDAO.inc.php.
References deleteBuildingById().
Referenced by deleteBuildingsBySchedConfId().
| BuildingDAO.deleteBuildingById | ( | $ | buildingId | ) |
Delete a building by ID. Deletes dependents.
| $buildingId | int |
Definition at line 163 of file BuildingDAO.inc.php.
Referenced by deleteBuilding().
| BuildingDAO.deleteBuildingsBySchedConfId | ( | $ | schedConfId | ) |
Delete buildings by scheduled conference ID.
| $conferenceId | int |
Definition at line 177 of file BuildingDAO.inc.php.
References deleteBuilding(), and getBuildingsBySchedConfId().
| & BuildingDAO.getBuilding | ( | $ | buildingId | ) |
Retrieve a building by ID.
| $buildingId | int |
Definition at line 26 of file BuildingDAO.inc.php.
References _returnBuildingFromRow().
| & BuildingDAO.getBuildingsBySchedConfId | ( | $ | schedConfId, | |
| $ | rangeInfo = null | |||
| ) |
Retrieve an array of buildings matching a particular sched conf ID.
| $schedConfId | int |
Definition at line 190 of file BuildingDAO.inc.php.
References _returnBuildingFromRow().
Referenced by deleteBuildingsBySchedConfId().
| BuildingDAO.getBuildingSchedConfId | ( | $ | buildingId | ) |
Retrieve building sched conf ID by building ID.
| $buildingId | int |
Definition at line 44 of file BuildingDAO.inc.php.
| BuildingDAO.getInsertBuildingId | ( | ) |
Get the ID of the last inserted building.
Definition at line 205 of file BuildingDAO.inc.php.
Referenced by insertBuilding().
| BuildingDAO.getLocaleFieldNames | ( | ) |
Retrieve a list of localized fields for this object.
Definition at line 81 of file BuildingDAO.inc.php.
| BuildingDAO.insertBuilding | ( | &$ | building | ) |
Insert a new Building.
| $building | Building |
Definition at line 114 of file BuildingDAO.inc.php.
References getInsertBuildingId(), and updateLocaleFields().
| BuildingDAO.updateBuilding | ( | &$ | building | ) |
Update an existing building.
| $building | Building |
Definition at line 134 of file BuildingDAO.inc.php.
References updateLocaleFields().
| BuildingDAO.updateLocaleFields | ( | &$ | building | ) |
Update the localized settings for this object
| $building | object |
Definition at line 103 of file BuildingDAO.inc.php.
Referenced by insertBuilding(), and updateBuilding().
1.4.7