dmBridge PHP API
DMSystemErrorView.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 
00015 class DMSystemErrorView extends DMInternalView {
00016 
00020    private $exception;
00021 
00027    public function __construct(DMTemplate $tpl, DMSession $session,
00028          Exception $ex) {
00029       parent::__construct($tpl, $session);
00030       $this->setHelper(new DMSystemErrorTemplateHelper($this, $session));
00031       $this->exception = $ex;
00032    }
00033 
00037    public function getCollection() {
00038       return DMCollectionFactory::getCollection("/dmdefault");
00039    }
00040 
00044    public final function getException() {
00045       return $this->exception;
00046    }
00047 
00051    public function getQuery() {
00052       return null;
00053    }
00054 
00055 }
 All Data Structures Functions Variables