Пример #1
0
  */
 $Admin = new RowManager_AdminManager();
 $Admin->dropTable();
 $Admin->createTable();
 /*
  * CampusAdmin Table
  *
  * Manage for the CampusAdmin table.
  *
  * campusadmin_id [INTEGER]  ID for the assignment
  * admin_id [INTEGER]  The id from the admin table.
  * campus_id [INTEGER]  The id for the campus being assigned to the viewer.
  */
 $CampusAdmin = new RowManager_CampusAdminManager();
 $CampusAdmin->dropTable();
 $CampusAdmin->createTable();
 /*
  * Staff Table
  *
  * DAObj to manage the staff table.
  *
  * staff_id [INTEGER]  The id for the staff member.
  * person_id [INTEGER]  The id of the person who is staff.
  */
 $Staff = new RowManager_StaffManager();
 $Staff->dropTable();
 $Staff->createTable();
 /*
  * Viewer Table
  *
  * This is to use the accountadmin_viewer table to add an admin to the hrdb module.