Object model
From ReservesDirect: Open Source EReserves System
Home :: Features :: Screenshots :: Demo (http://www.reservesdirect.org/demo/index.html) :: Documentation :: Downloads :: Support :: Blog (http://www.reservesdirect.org/blog) :: Join Us!
ReservesDirect Documentation: Contents | Library staff handbook | System administrator handbook | Developer handbook
| Table of contents |
[edit]
course
[edit]
Attributes
- courseAliasID (int)
- courseID (int)
- courseNo (int)
- department (string)
- departID (int)
- name (string)
- notes (array)
- section (int)
[edit]
Methods
- Insert Methods Here
[edit]
user
[edit]
Attributes
- dfltRole (int)
- email (string)
- firstName (string)
- lastLogin (date)
- lastName (string)
- notes (array)
- userID (int)
- userName (string)
[edit]
Methods
- createUser($userName, $firstName="", $lastName="", $email="", $dfltRole=0) void
- Inserts a new user record into the users table of the database
- Returns an error code if user already exists in the database
- destroy() void
- getDefaultRole() int
- getEmail()
- getFirstName()
- getLastLogin()
- getLastName()
- getLibraries()
- getName()
- getNotes() void
- getUserByID(int $userID) void
- getUserByUserName(string $userName)
- getUserClass()
- getUserID()
- getUsername()
- isSpecialUser()
- setDefaultRole(int $dfltRole) void
- setEmail(string $email)
- setFirstName(string $firstName) void
- setLastLogin() void
- setLastName(string $lastName) void
- setNote($noteID=NULL, string $type, string $noteText) void
- setUserName(string $userName) void
- user($userID = NULL) void
[edit]
Child Classes
- student
- custodian
- proxy
- instructor
- staff
- admin
- staff
- instructor
