protected function AddEventHandler(&$array, $evt, $code) { $this->LoadJavascript(); Graph::$javascript->AddEventHandler($array, $evt, $code); }