IPBWI
[ class tree: IPBWI ] [ index: IPBWI ] [ all elements ]

Source for file ips_register.inc.php

Documentation is available at ips_register.inc.php

  1. <?php
  2.  
  3. require_once(ipbwi_BOARD_PATH 'admin/applications/core/modules_public/global/register.php' );
  4. class ipbwi_ips_public_core_global_register extends public_core_global_register {
  5.  
  6.     public $errors        = null;
  7.     public $request        = array();
  8.  
  9.     // load login handler. these functions are the base for login and logout
  10.     public function initRegister($core=false)
  11.     {
  12.         $this->registry        $core;
  13.         $this->DB            $this->registry->DB();
  14.         $this->settings        $this->registry->fetchSettings();
  15.         $this->request        = $this->registry->fetchRequest();
  16.         $this->lang            $this->registry->getClass('class_localization');
  17.         ipsRegistry::getClass('class_localization')->loadLanguageFile(array('public_register')'core');
  18.         $this->member        $this->registry->member();
  19.         $this->memberData    $this->registry->member()->fetchMemberData();
  20.         $this->cache        $this->registry->cache();
  21.         $this->caches        $this->registry->cache()->fetchCaches();
  22.     }
  23.     
  24.     // set request for registration
  25.     public function create($request){
  26.         $this->request = $request;
  27.         $this->request['coppa_user']            0;
  28.         $this->settings['reg_auth_type']         $request['reg_auth_type']// set validation
  29.         $this->settings['bot_antispam_type']    $request['bot_antispam_type'];
  30.         
  31.         @$this->registerProcessForm()// @ todo: check notices from ip.board
  32.     }
  33.     
  34.     // catch registration errors
  35.     public function registerForm($form_errors=array()){
  36.         $this->errors = $form_errors;
  37.     }
  38. }
  39.  
  40. ?>

Documentation generated on Sat, 23 Oct 2010 23:35:54 +0200 by phpDocumentor 1.4.3