public function onClickAddRecord($idProfile) { $OPF_profiles = new OPF_profiles(); $id = ''; if (!is_array($idProfile)) { $id = $idProfile; } $this->modalWindow($OPF_profiles->getFormAddModProfile($id), OPF_myLang::getPhrase('OPF_PROFILES_3'), 300, 250, 2); return $this->response; }