dmBridge PHP API
DMCPMenuItem.php
00001 <?php
00002 #
00003 # dmBridge: a data access framework for CONTENTdm(R)
00004 #
00005 # Copyright © 2009, 2010, 2011 Board of Regents of the Nevada System of Higher
00006 # Education, on behalf of the University of Nevada, Las Vegas
00007 #
00008 
00016 class DMCPMenuItem {
00017 
00019    private $title;
00021    private $uri;
00022 
00027    public function __construct($title, DMURI $uri) {
00028       $this->setTitle($title);
00029       $this->setURI($uri);
00030    }
00031 
00035    public function getTitle() {
00036       return $this->title;
00037    }
00038 
00042    public function setTitle($title) {
00043       $this->title = $title;
00044    }
00045 
00049    public function getURI() {
00050       return $this->uri;
00051    }
00052 
00056    public function setURI(DMURI $uri) {
00057       $this->uri = $uri;
00058    }
00059 
00060 }
 All Data Structures Functions Variables