{source}
<?php
class LastPublication{
public function getID(){
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select(‘id’);
$query->from(‘#__jresearch_member’);
$query->where(‘firstname = “Paula”‘);
$db->setQuery($query);
$result = $db->loadResult();
return $result;
}
public function getLatestPublications() {
$n = 0;
$db = JFactory::getDBO();
$latestPub = array();
$memberId = $this->getID();
$query = ‘SELECT p.* FROM ‘.$db->quoteName(‘#__jresearch_publication_internal_author’).’ ia JOIN ‘.$db->quoteName(‘#__jresearch_publication’).’ p WHERE ‘.$db->quoteName(‘p’).’.’.$db->quoteName(‘id’).’ = ‘.$db->quoteName(‘ia’).’.’.$db->quoteName(‘id_publication’).’ ‘.’ AND ‘.$db->quoteName(‘ia’).’.’.$db->quoteName(‘id_staff_member’).’ = ‘.$db->Quote($memberId).’ AND p.published = ‘.$db->Quote(‘1′).’ AND p.internal = ‘.$db->Quote(‘1′).’ ORDER BY ‘.$db->quoteName(‘p’).’.’.$db->quoteName(‘year’).’ DESC, STR_TO_DATE(p.’.$db->quoteName(‘month’).’, \’%M\’ ) DESC, ‘.’p.’.$db->quoteName(‘created’).’ DESC’;
if($n > 0){
$query .= ‘ LIMIT 0, ‘.$n;
}
$db->setQuery($query);
$result = $db->loadAssocList();
foreach($result as $row){
$latestPub[] = $row;
}
return $latestPub;
}
}
?>
{/source}
External Collaborator Researcher
University of Santiago de Compostela
Department of Statistics and Operations Research
Research Lines:
- Nonparametric density estimation
- Nonparametric intensity estimation
- Set estimation
Contact Information
CV
Degree in Mathematics and PhD in Statistics and Operation Research by the University of Santiago de Compostela. My research interest is mainly focused on the theory of set estimation, a relatively new field of the nonparametric statistics closely related to geometry.
Last Publication
{source}
<?php
$lastP = new LastPublication();
$Publications = $lastP->getLatestPublications();
?>
<ul>
<?php
$count = 0;
foreach ($Publications as $p):
?>
<li><a href=”en/publications?view=publication&task=show&id=<?php echo $p[‘id’] ?>”><?php echo $p[‘title’]; ?></a></li>
<?php
if($count == 3){
break;
}
$count++;
endforeach;
?>
</ul>
{/source}