public function InsertComment($details) { $this->LoadJavascript(); Graph::$javascript->InsertComment($details); }