예제 #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]);
     }
 }
예제 #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]);
     }
 }