|
dmBridge PHP API
|
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 00017 class DMExternalView extends DMAbstractView { 00018 00022 private $collection; 00023 00027 public function __construct(DMCollection $col) { 00028 $this->setCollection($col); 00029 $this->setHelper(new DMGenericTemplateHelper($this, new DMSession())); 00030 } 00031 00035 public function getCollection() { 00036 return $this->collection; 00037 } 00038 00042 public function setCollection(DMCollection $col) { 00043 $this->collection = $col; 00044 } 00045 00049 public function getTemplate() { 00050 return null; 00051 } 00052 00053 }