projectId = JRequest :: getString('projectId'); $this -> ga = JRequest :: getString('ga'); $this -> funder = JRequest :: getString('funder','ec__________::EC'); $this -> hideOnEmpty = (JRequest :: getString('hideOnEmpty') == 'true'); $this -> type = JRequest :: getString('type','publication'); $this -> type = ($this -> type != 'publication' && $this -> type != 'dataset')?'publication':$this -> type; // if ($this->projectId == NULL && JRequest :: getString('ga') != NULL){ // // $this->projectId = "corda_______::".md5(JRequest :: getString('ga')); // } if (count($errors = $this -> get('Errors')) > 0) { JLog :: add('Error viewing widget: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG); return FALSE; } parent :: display($template); } } ?>