dmBridge PHP API
DMUser.php
00001 <?php
00002 #
00003 # dmBridge: a data access framework for CONTENTdm(R)
00004 #
00005 # Copyright © 2009, 2010 Board of Regents of the Nevada System of Higher
00006 # Education, on behalf of the University of Nevada, Las Vegas
00007 #
00008 
00015 class DMUser extends DMModel {
00016 
00020    private $username;
00021 
00022 
00026    public function __construct($username) {
00027       $this->setUsername($username);
00028    }
00029 
00034    public function __toString() {
00035       return $this->getUsername();
00036    }
00037 
00042    public final function getUsername() {
00043       return $this->username;
00044    }
00045 
00046    private function setUsername($username) {
00047       $this->username = $username;
00048    }
00049 
00050 
00051 }
 All Data Structures Functions Variables