dmBridge PHP API
DMNewsItem.php
00001 <?php
00002 #
00003 # dmBridge: a data access framework for CONTENTdm(R)
00004 # Copyright © 2009, 2010 Board of Regents of the Nevada System of Higher
00005 # Education, on behalf of the University of Nevada, Las Vegas
00006 #
00007 
00015 class DMNewsItem {
00016 
00017    private $author, $date, $title, $body, $url;
00018 
00019 
00023    public function getAuthor() {
00024       return $this->author;
00025    }
00026 
00030    public function setAuthor($str) {
00031       $this->author = $str;
00032    }
00033 
00037    public function getBody() {
00038       return $this->body;
00039    }
00040 
00044    public function setBody($str) {
00045       $this->body = $str;
00046    }
00047 
00051    public function getDate() {
00052       return $this->date;
00053    }
00054 
00058    public function setDate(DMDateTime $dt) {
00059       $this->date = $dt;
00060    }
00061 
00065    public function getTitle() {
00066       return $this->title;
00067    }
00068 
00072    public function setTitle($str) {
00073       $this->title = $str;
00074    }
00075 
00079    public function getURL() {
00080       return $this->url;
00081    }
00082 
00086    public function setURL($str) {
00087       $this->url = $str;
00088    }
00089 
00090 }
 All Data Structures Functions Variables