Code Context {
$index = intval($data_pieces[1])-1;
$data_mes = $meses[$index];
$id_referencia = '41847'
$dados_ref = array(
'Referencia' => array(
'id' => '41847',
'titulo' => 'Linearity, session types and the Pi calculus',
'resumo' => null,
'id_tipo_referencia' => '2',
'data_submissao' => null,
'tipo_contribuicao' => '1',
'data_aceitacao' => null,
'data_publicacao' => '2016-21',
'nr_paginas' => '31',
'pagina_inicial' => '206',
'pagina_final' => '237',
'lingua' => 'en',
'id_instituicao' => null,
'organizadores' => null,
'editora' => 'Cambridge University Press (CUP)',
'editor' => null,
'edicao' => null,
'colecao' => null,
'volume' => '26',
'fasciculo' => '2',
'local' => null,
'suporte_nome' => 'Mathematical Structures in Computer Science',
'suporte_issn_essn' => '0960-1295',
'suporte_eissn' => '1469-8072',
'suporte_isbn' => null,
'anotacoes' => null,
'date_created' => '2019-10-11 19:16:46',
'date_updated' => '2019-10-11 19:16:46',
'username_created' => 'vmvasconcelos@fc.ul.pt',
'username_updated' => 'vmvasconcelos@fc.ul.pt',
'id_biblios_antigo_temp' => null,
'id_unidade_biblios_antigo_temp' => null,
'autores_com_possivel_erro' => '0',
'autores_com_possivel_erro_string_original' => null
),
'Tipo' => array(
'id' => '2',
'nome' => 'Artigos em Revista',
'nome_en' => 'Journal articles'
),
'ReferenciaIdentificadores' => array(
(int) 0 => array(
'id' => '34155',
'id_referencia' => '41847',
'tipo' => 'URL',
'nome' => 'http://dx.doi.org/10.1017/s0960129514000176'
),
(int) 1 => array(
'id' => '34156',
'id_referencia' => '41847',
'tipo' => 'DOI',
'nome' => '10.1017/s0960129514000176'
)
),
'ReferenciaAutores' => array(
(int) 0 => array(
'id' => '2371492',
'id_referencia' => '41847',
'nome' => 'MARCO GIUNTI',
'nr_doc_id' => '',
'ordem' => '0',
'id_contribution' => '1'
),
(int) 1 => array(
'id' => '2371493',
'id_referencia' => '41847',
'nome' => 'VASCO THUDICHUM VASCONCELOS',
'nr_doc_id' => '6574853',
'ordem' => '1',
'id_contribution' => '1'
)
),
'ReferenciaDistincoes' => array()
)
$subtipos = array(
(int) 0 => array(
'ReferenciaSubtipos' => array(
'id' => '133533',
'id_referencia' => '41847',
'id_subtipo' => '13',
'id_subtipo_opcao' => '44'
),
'Subtipo' => array(
'id' => '13',
'id_tipo' => '2',
'nome' => 'Tipo de Documento',
'nome_en' => 'Document subtype',
'unico' => '1'
),
'SubtipoOpcoes' => array(
'id' => '44',
'id_subtipo' => '13',
'nome' => 'Artigo Completo',
'nome_en' => 'Full paper'
)
)
)
$tipo_referencia = '2'
$strings_organizadas = array()
$data = '2016-21'
$data_str = '2016'
$data_mes = ''
$meses = array(
(int) 0 => 'Jan',
(int) 1 => 'Feb',
(int) 2 => 'Mar',
(int) 3 => 'Apr',
(int) 4 => 'May',
(int) 5 => 'June',
(int) 6 => 'July',
(int) 7 => 'Aug',
(int) 8 => 'Sept',
(int) 9 => 'Oct',
(int) 10 => 'Nov',
(int) 11 => 'Dec'
)
$data_pieces = array(
(int) 0 => '2016',
(int) 1 => '21'
)
$index = (int) 20
ExportarComponent::exportarReferenciaPorTipo() - APP/Controller/Component/ExportarComponent.php, line 45
MainController::editarReferencia() - APP/Controller/MainController.php, line 982
MainController::verReferencia() - APP/Controller/MainController.php, line 1001
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 499
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 112