Chus Longa Sayáns

{source}

<?php
class LastPublication{

public function getID(){
$db = JFactory::getDBO();
$query = $db->getQuery(true);
$query->select(‘id’);
$query->from(‘#__jresearch_member’);
$query->where(‘firstname = “Chus”‘);

$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}

Chus Longa Sayáns

Chus Longa Sayáns

Technical Staff

Statistics and Operations Research Area (265)

Department of Statistics and Operations Research (C05)

Member of Local Organising Committee of:

  • XIV Conference of the SGAPEIO (October 2019)
  • IV Iberian Modelling Week (October 2017)
  • 38th Annual Conference of the International Society for Clinical Biostatistics (July 2017)

Contact Information

FCCEE
Office 234
University Campus
PO 36310 Vigo

 

+34 986 812 496
chuslonga@uvigo.es

Website at UVIGO

CV


Degree in Political Sciences at the University of Santiago de Compostela (2007), with extensive knowledge about public and private administration. During her career, she has acquired broad experience in management and business development, assistance to management, organization and promotion of events. Since February 2015, she works as technical administrative and projects manager in Research Group in Statistics Inference, Decision and Operations Research – SiDOR.