Beispiel #1
0
 function SelectOverDriveFormat()
 {
     global $interface;
     global $configArray;
     $overDriveId = $_REQUEST['overDriveId'];
     $nextAction = $_REQUEST['nextAction'];
     $interface->assign('overDriveId', $overDriveId);
     $interface->assign('nextAction', $nextAction);
     $eContentRecord = new EContentRecord();
     $eContentRecord->externalId = $overDriveId;
     if ($eContentRecord->find(true)) {
         $items = $eContentRecord->getItems();
         $interface->assign('items', $items);
     }
     //Var for the IDCLREADER TEMPLATE
     $interface->assign('ButtonHome', true);
     $interface->assign('MobileTitle', '{translate text="Select a Format"}');
     return $interface->fetch('EcontentRecord/ajax-select-format.tpl');
 }
Beispiel #2
0
 function SelectOverDriveFormat()
 {
     global $interface;
     global $configArray;
     $overDriveId = $_REQUEST['overDriveId'];
     $nextAction = $_REQUEST['nextAction'];
     $interface->assign('overDriveId', $overDriveId);
     $interface->assign('nextAction', $nextAction);
     $eContentRecord = new EContentRecord();
     $eContentRecord->externalId = $overDriveId;
     if ($eContentRecord->find(true)) {
         $items = $eContentRecord->getItems();
         $interface->assign('items', $items);
     }
     return $interface->fetch('EcontentRecord/ajax-select-format.tpl');
 }