Пример #1
0
 function init($object)
 {
     parent::init($object);
     $this->lti = UoN_LTI::get_instance();
     $this->lti->init_lti0($this->db);
     $this->savetodebug('Starting LTI');
     $this->lti->init_lti();
     if (!isset($this->lti_i)) {
         $this->lti_i = lti_integration::load();
     }
 }
Пример #2
0
 function init($object)
 {
     parent::init($object);
     /*
     // uncomment this section if forcing CAS authentication
     
     phpCAS::client($this->server_version, $this->server_hostname, $this->server_port, $this->server_uri);	
     phpCAS::forceAuthentication(); // this will automatically redirect to the named CAS server login page if not logged in OR allow users through if logged in
     if (isset($_REQUEST['logout'])) {
       phpCAS::logout();
     }
     
     // if not forcing CAS authentication, do nothing
     */
 }
Пример #3
0
 function init($object)
 {
     parent::init($object);
     $this->cosign = new cosign($this->settings['cosign_cfg'], $this);
 }