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