예제 #1
0
 /**
  * Function called from system_init.php to set up the whole request
  * 
  */
 public function initCertis()
 {
     // initialize the values to known quantities.
     self::$module = "";
     self::$action = "";
     self::$req_id = "";
     self::$params = array();
     self::$config = array();
     self::$authless = array();
     self::$authed_user = "";
     self::$exec_mode = "";
     self::$CertisInst =& $this;
     // store a reference to ourself here
     self::$activeSection = FALSE;
     // Set up the static variables from either the URL
     // or the CLI args/env.
     $this->setupStaticVars();
     // set up the session stuff
     $this->initSession();
     // initialize system Global objects
     $this->initGlobalObjects();
     // call up all the module initializers
     $this->callModInit();
 }