dmBridge PHP API
DMNoSuchFieldException.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 
00013 class DMNoSuchFieldException extends DMException {
00014 
00019    public function __construct($field, $code = 5) {
00020       parent::__construct(
00021             sprintf(DMLocalizedString::getString("NO_SUCH_FIELD"), $field),
00022             $code);
00023       $this->setHTTPResponseCode(500);
00024    }
00025 
00026 }
 All Data Structures Functions Variables