Beispiel #1
0
 /**
  * A method to launch and display the widget
  *
  */
 function display()
 {
     $oDashboard = new OA_Central_Dashboard();
     $m2mTicket = $oDashboard->getM2MTicket();
     if (PEAR::isError($m2mTicket)) {
         $this->showError($m2mTicket);
     } else {
         $url = $this->buildDashboardUrl($m2mTicket, $this->buildUrl($this->aUrl), '&');
         if (!preg_match('/[\\r\\n]/', $url)) {
             header("Location: {$url}");
         }
     }
 }