protected function AddOverlay($from, $to) { $this->LoadJavascript(); Graph::$javascript->AddOverlay($from, $to); }