Ejemplo n.º 1
0
 function __construct($realm = null, $skin = 'default')
 {
     $this->start_time = time() + microtime();
     $this->skin = $skin;
     try {
         parent::__construct($realm);
     } catch (Exception $e) {
         // This exception is used to abort initialisation of the objects but when
         // normal rendering is still required
         if ($e instanceof Exception_StopInit) {
             return;
         }
         $this->caughtException($e);
     }
 }