public function __construct(&$po_request, &$po_response, $pa_view_paths = null)
 {
     parent::__construct($po_request, $po_response, $pa_view_paths);
     $this->opo_library_services_config = caGetLibraryServicesConfiguration();
     if (!$this->request->isLoggedIn() || !$this->request->user->canDoAction('can_do_library_checkout') || !$this->request->config->get('enable_library_services') || !$this->request->config->get('enable_object_checkout')) {
         $this->response->setRedirect($this->request->config->get('error_display_url') . '/n/2320?r=' . urlencode($this->request->getFullUrlPath()));
         return;
     }
 }
 /**
  *
  */
 public static function getObjectCheckoutTypes()
 {
     $o_config = caGetLibraryServicesConfiguration();
     $t_object = new ca_objects();
     $va_type_config = $o_config->getAssoc('checkout_types');
     return array_keys($va_type_config);
 }