dmBridge PHP API
DMAPIStatusController.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 DMAPIStatusController extends DMAbstractController {
00014 
00015    public function view() {
00016       $response = new DMHTTPResponse();
00017       $rep = DMHTTPResponseFactory::getRepresentation();
00018       $trans = DMHTTPResponseFactory::getTransformer();
00019       $rep->setBody($trans->transformStatus());
00020       $response->setRepresentation($rep);
00021       $response->send();
00022       die;
00023    }
00024 
00025 }
 All Data Structures Functions Variables