Exemplo n.º 1
0
  * viewer_userID [STRING]  This stored the user id of the viewer.
  * viewer_id [INTEGER]  This is the id number for the viewer.
  */
 $Viewer = new RowManager_ViewerManager();
 $Viewer->dropTable();
 $Viewer->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();
 /*
  * Assignments Table
  *
  * This manages the campus assignments table.
  *
  * assignment_id [INTEGER]  This is the key for this table.
  * person_id [INTEGER]  The is the person id for the person assigned to the campus.
  * campus_id [INTEGER]  The is the campus the person is assigned to.
  */
 $Assignments = new RowManager_AssignmentsManager();
 $Assignments->dropTable();
 $Assignments->createTable();
 /*
  * Access Table