Example #1
0
 function WebChartViewer($id)
 {
     global $_REQUEST;
     $this->ptr = callmethod("WebChartViewer.create");
     autoDestroy($this);
     $this->putAttrS(":id", $id);
     $s = $id . "_JsChartViewerState";
     if (isset($_REQUEST[$s])) {
         $this->putAttrS(":state", $_REQUEST[$s]);
     }
 }
Example #2
0
 function WebChartViewer($id)
 {
     global $_REQUEST;
     $this->ptr = callmethod("WebChartViewer.create");
     autoDestroy($this);
     $this->putAttrS(":id", $id);
     $s = $id . "_JsChartViewerState";
     if (isset($_REQUEST[$s])) {
         $this->putAttrS(":state", get_magic_quotes_gpc() ? stripslashes($_REQUEST[$s]) : $_REQUEST[$s]);
     }
 }