APPPATH/classes/Controller/Prescripciones.php [ 565 ]
560 $content->anno_mo = array();
561 //$content->monto = "";
562 //echo number_format($aTotal[0]['monto'],0,".",",");
563 //die();
564 $tmpStrAnno = "";
565 $tmpStrAnno = "'". $aTotal[0]['anno'];
566
567
568
569 $content->anno_mo = explode(',',$tmpStrAnno);
570
-
APPPATH/classes/Controller/Prescripciones.php [ 565 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(19) "Undefined offset: 0"
2
string(103) "/var/www/vhosts/convoca.pe/archivosocultos.convoca.pe/application/classes/Controller/Prescripciones.php"
3
integer 565
4
array(10) ( "nombre" => string(28) "Consorcio%20Terminales%20%20" "localidad" => string(10) "Lambayeque" "qryDetalle" => object Model_Prescripcion(34)
{ protected _table_name => string(15) "ma_prescripcion" protected _primary_key => string(7) "infr_id" protected _has_one => array(1) ( "oLugar" => array(3) ( "foreign_key" => string(15) "luga_expediente" "model" => string(9) "lugarpres" "far_key" => string(15) "pres_expediente" ) ) protected _has_many => array(1) ( "stories" => array(4) ( "foreign_key" => string(9) "presc_exp" "through" => NULL "model" => string(7) "motivos" "far_key" => string(15) "pres_expediente" ) ) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(16) ( "pres_id" => NULL "pres_expediente" => NULL "pres_nombre" => NULL "pres_nombre_recat" => NULL "pres_sector" => NULL "pres_infraccion" => NULL "pres_archivo" => NULL "pres_fecha_resolucion" => NULL "pres_archivo2" => NULL "pres_fecha_resolucion2" => NULL "pres_multa_uit" => NULL "pres_multa_total" => NULL "pres_estado" => NULL "pres_fecha_apelacion" => NULL "pres_fuente" => NULL "pres_presidente" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(12) "prescripcion" protected _object_plural => string(13) "prescripcions" protected _table_columns => array(16) ( "pres_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "pres_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "pres_expediente" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "pres_expediente" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "pres_nombre" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "pres_nombre" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_nombre_recat" => array(12) ( "type" => string(6) "string" "column_name" => string(17) "pres_nombre_recat" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_sector" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "pres_sector" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_infraccion" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "pres_infraccion" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(3) "100" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_archivo" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(12) "pres_archivo" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_fecha_resolucion" => array(10) ( "type" => string(6) "string" "column_name" => string(21) "pres_fecha_resolucion" "column_default" => NULL "data_type" => string(4) "date" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_archivo2" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(13) "pres_archivo2" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_fecha_resolucion2" => array(10) ( "type" => string(6) "string" "column_name" => string(22) "pres_fecha_resolucion2" "column_default" => NULL "data_type" => string(4) "date" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_multa_uit" => array(13) ( "type" => string(5) "float" "exact" => bool TRUE "column_name" => string(14) "pres_multa_uit" "column_default" => NULL "data_type" => string(7) "decimal" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "numeric_precision" => string(1) "7" "numeric_scale" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_multa_total" => array(13) ( "type" => string(5) "float" "exact" => bool TRUE "column_name" => string(16) "pres_multa_total" "column_default" => NULL "data_type" => string(7) "decimal" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "numeric_precision" => string(2) "10" "numeric_scale" => string(1) "2" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_estado" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "pres_estado" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_fecha_apelacion" => array(10) ( "type" => string(6) "string" "column_name" => string(20) "pres_fecha_apelacion" "column_default" => NULL "data_type" => string(4) "date" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_fuente" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "pres_fuente" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "pres_presidente" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "pres_presidente" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "character_maximum_length" => string(3) "200" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"qryMotivo" => object Model_Motivo(34){ protected _connection_id => string(40) "b3b8b60a74fe40c98e3aeb12004723e6c070c1bc" protected _identifier => string(1) "`" public last_query => string(371) "SELECT YEAR(pres_fecha_resolucion2) AS `anno`, count(1) AS `total` FROM `ma_motivo` JOIN `ma_prescripcion` ON (`presc_exp` = `ma …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(12) "prescripcion" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "convoca_mapas" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(9) "ma_motivo" protected _primary_key => string(2) "id" protected _has_one => array(1) ( "oLugar" => array(3) ( "foreign_key" => string(16) "presc_expediente" "model" => string(12) "prescripcion" "far_key" => string(9) "presc_exp" ) ) protected _belongs_to => array(1) ( "author" => array(3) ( "foreign_key" => string(16) "presc_expediente" "model" => string(12) "prescripcion" "far_key" => string(9) "presc_exp" ) ) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "id" => NULL "presc_exp" => NULL "motivo" => NULL "orden" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(6) "motivo" protected _object_plural => string(7) "motivos" protected _table_columns => array(4) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "presc_exp" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "presc_exp" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "200" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "motivo" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "motivo" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(4) "4000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "orden" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "orden" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
"subquery" => object Database_Query_Builder_Select(19){ protected _connection_id => string(40) "b3b8b60a74fe40c98e3aeb12004723e6c070c1bc" protected _identifier => string(1) "`" public last_query => string(371) "SELECT YEAR(pres_fecha_resolucion2) AS `anno`, count(1) AS `total` FROM `ma_motivo` JOIN `ma_prescripcion` ON (`presc_exp` = `ma …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _cast_data => array(0) protected _errors_filename => string(6) "motivo" }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(13) "convoca_mapas" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _select => array(6) ( 0 => string(21) "luga_unidad_ambiental" 1 => string(15) "pres_presidente" 2 => string(21) "pres_fecha_resolucion" 3 => array(2) ( 0 => object Database_Expression(2)
"subqueryDate" => object Database_Query_Builder_Select(19){ protected _parameters => array(0) protected _value => string(27) "YEAR(pres_fecha_resolucion)" }
1 => string(8) "anno_rev" ) 4 => array(2) ( 0 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(28) "YEAR(pres_fecha_resolucion2)" }
1 => string(4) "anno" ) 5 => array(2) ( 0 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(8) "count(1)" }
1 => string(5) "total" ) ) protected _distinct => bool FALSE protected _from => array(1) ( 0 => string(9) "ma_motivo" ) protected _join => array(2) ( 0 => object Database_Query_Builder_Join(10){ protected _type => NULL protected _table => string(15) "ma_prescripcion" protected _on => array(1) ( 0 => array(3) ( 0 => string(9) "presc_exp" 1 => string(1) "=" 2 => string(31) "ma_prescripcion.pres_expediente" ) ) protected _using => array(0) protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => NULL protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }
1 => object Database_Query_Builder_Join(10){ protected _type => NULL protected _table => string(13) "ma_lugar_pres" protected _on => array(1) ( 0 => array(3) ( 0 => string(9) "presc_exp" 1 => string(1) "=" 2 => string(29) "ma_lugar_pres.luga_expediente" ) ) protected _using => array(0) protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => NULL protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }
) protected _group_by => array(3) ( 0 => string(9) "presc_exp" 1 => string(21) "pres_fecha_resolucion" 2 => array(1) ( 0 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(28) "YEAR(pres_fecha_resolucion2)" }
) ) protected _having => array(0) protected _offset => NULL protected _union => array(0) protected _last_join => object Database_Query_Builder_Join(10){ protected _type => NULL protected _table => string(13) "ma_lugar_pres" protected _on => array(1) ( 0 => array(3) ( 0 => string(9) "presc_exp" 1 => string(1) "=" 2 => string(29) "ma_lugar_pres.luga_expediente" ) ) protected _using => array(0) protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => NULL protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }
protected _where => array(2) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(17) "pres_nombre_recat" 1 => string(1) "=" 2 => string(28) "Consorcio%20Terminales%20%20" ) ) 1 => array(1) ( "AND" => array(3) ( 0 => string(17) "luga_departamento" 1 => string(1) "=" 2 => string(10) "Lambayeque" ) ) ) protected _order_by => array(1) ( 0 => array(2) ( 0 => string(22) "pres_fecha_resolucion2" 1 => string(3) "asc" ) ) protected _limit => NULL protected _type => integer 1 protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => string(0) "" protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }{ protected _select => array(2) ( 0 => array(2) ( 0 => object Database_Expression(2)
"content" => object View(2){ protected _parameters => array(0) protected _value => string(28) "YEAR(pres_fecha_resolucion2)" }
1 => string(4) "anno" ) 1 => array(2) ( 0 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(8) "count(1)" }
1 => string(5) "total" ) ) protected _distinct => bool FALSE protected _from => array(1) ( 0 => string(9) "ma_motivo" ) protected _join => array(2) ( 0 => object Database_Query_Builder_Join(10){ protected _type => NULL protected _table => string(15) "ma_prescripcion" protected _on => array(1) ( 0 => array(3) ( 0 => string(9) "presc_exp" 1 => string(1) "=" 2 => string(31) "ma_prescripcion.pres_expediente" ) ) protected _using => array(0) protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => NULL protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }
1 => object Database_Query_Builder_Join(10){ protected _type => NULL protected _table => string(13) "ma_lugar_pres" protected _on => array(1) ( 0 => array(3) ( 0 => string(9) "presc_exp" 1 => string(1) "=" 2 => string(29) "ma_lugar_pres.luga_expediente" ) ) protected _using => array(0) protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => NULL protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }
) protected _group_by => array(1) ( 0 => array(1) ( 0 => object Database_Expression(2){ protected _parameters => array(0) protected _value => string(28) "YEAR(pres_fecha_resolucion2)" }
) ) protected _having => array(0) protected _offset => NULL protected _union => array(0) protected _last_join => object Database_Query_Builder_Join(10){ protected _type => NULL protected _table => string(13) "ma_lugar_pres" protected _on => array(1) ( 0 => array(3) ( 0 => string(9) "presc_exp" 1 => string(1) "=" 2 => string(29) "ma_lugar_pres.luga_expediente" ) ) protected _using => array(0) protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => NULL protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }
protected _where => array(2) ( 0 => array(1) ( "AND" => array(3) ( 0 => string(17) "pres_nombre_recat" 1 => string(1) "=" 2 => string(28) "Consorcio%20Terminales%20%20" ) ) 1 => array(1) ( "AND" => array(3) ( 0 => string(17) "luga_departamento" 1 => string(1) "=" 2 => string(10) "Lambayeque" ) ) ) protected _order_by => array(0) protected _limit => NULL protected _type => integer 1 protected _force_execute => bool FALSE protected _lifetime => NULL protected _sql => string(371) "SELECT YEAR(pres_fecha_resolucion2) AS `anno`, count(1) AS `total` FROM `ma_motivo` JOIN `ma_prescripcion` ON (`presc_exp` = `ma …" protected _parameters => array(0) protected _as_object => bool FALSE protected _object_params => array(0) }{ protected _file => string(98) "/var/www/vhosts/convoca.pe/archivosocultos.convoca.pe/application/views/prescripciones/empresa.php" protected _data => array(12) ( "anno" => integer 0 "sector" => string(0) "" "region" => string(0) "" "empresa" => string(0) "" "page" => string(1) "3" "om" => string(4) "desc" "omo" => string(0) "" "aDetalle" => object Database_MySQLi_Result(7)
"aDetalle" => object Database_MySQLi_Result(7){ protected _internal_row => integer 0 protected _query => string(1168) "SELECT `luga_unidad_ambiental`, `pres_expediente`, `prescripcion`.`pres_id` AS `pres_id`, `prescripcion`.`pres_expediente` AS `p …" protected _result => object mysqli_result(5)
"aMotivo" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Prescripcion" protected _object_params => NULL }{ protected _internal_row => integer 0 protected _query => string(427) "SELECT `motivo`, `presc_exp`, `motivo`.`id` AS `id`, `motivo`.`presc_exp` AS `presc_exp`, `motivo`.`motivo` AS `motivo`, `motivo …" protected _result => object mysqli_result(5)
"nombre" => string(28) "Consorcio%20Terminales%20%20" "local" => string(10) "Lambayeque" "anno_mo" => array(0) ) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Motivo" protected _object_params => NULL }{ protected _internal_row => integer 0 protected _query => string(1168) "SELECT `luga_unidad_ambiental`, `pres_expediente`, `prescripcion`.`pres_id` AS `pres_id`, `prescripcion`.`pres_expediente` AS `p …" protected _result => object mysqli_result(5)
"aMotivo" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(18) "Model_Prescripcion" protected _object_params => NULL }{ protected _internal_row => integer 0 protected _query => string(427) "SELECT `motivo`, `presc_exp`, `motivo`.`id` AS `id`, `motivo`.`presc_exp` AS `presc_exp`, `motivo`.`motivo` AS `motivo`, `motivo …" protected _result => object mysqli_result(5)
"aTotal" => array(0) ){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 0 protected _current_row => integer 0 protected _as_object => string(12) "Model_Motivo" protected _object_params => NULL }560 $content->anno_mo = array(); 561 //$content->monto = ""; 562 //echo number_format($aTotal[0]['monto'],0,".",","); 563 //die(); 564 $tmpStrAnno = ""; 565 $tmpStrAnno = "'". $aTotal[0]['anno']; 566 567 568 569 $content->anno_mo = explode(',',$tmpStrAnno); 570
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Prescripciones->action_empresa()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Prescripciones(4)
{ public template => object View(2)
{ protected _file => string(98) "/var/www/vhosts/convoca.pe/archivosocultos.convoca.pe/application/views/Tmappea_Prescripciones.php" protected _data => array(0) }
public auto_render => bool TRUE public request => object Request(19){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(14) "prescripciones" "action" => string(4) "mapa" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "Prescripciones" protected _action => string(7) "empresa" protected _uri => string(22) "prescripciones/empresa" protected _external => bool FALSE protected _params => array(0) protected _get => array(9) ( "nombre" => string(28) "Consorcio%20Terminales%20%20" "sector" => string(0) "" "region" => string(0) "" "anno" => string(0) "" "empresa" => string(0) "" "page" => string(1) "3" "om" => string(4) "desc" "omo" => string(0) "" "local" => string(10) "Lambayeque" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(14) "prescripciones" "action" => string(4) "mapa" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "Prescripciones" protected _action => string(7) "empresa" protected _uri => string(22) "prescripciones/empresa" protected _external => bool FALSE protected _params => array(0) protected _get => array(9) ( "nombre" => string(28) "Consorcio%20Terminales%20%20" "sector" => string(0) "" "region" => string(0) "" "anno" => string(0) "" "empresa" => string(0) "" "page" => string(1) "3" "om" => string(4) "desc" "omo" => string(0) "" "local" => string(10) "Lambayeque" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }109 $orig_response = $response = Response::factory(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(32) "(<controller>(/<action>(/<id>)))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(14) "prescripciones" "action" => string(4) "mapa" ) protected _route_regex => string(95) "#^(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "Prescripciones" protected _action => string(7) "empresa" protected _uri => string(22) "prescripciones/empresa" protected _external => bool FALSE protected _params => array(0) protected _get => array(9) ( "nombre" => string(28) "Consorcio%20Terminales%20%20" "sector" => string(0) "" "region" => string(0) "" "anno" => string(0) "" "empresa" => string(0) "" "page" => string(1) "3" "om" => string(4) "desc" "omo" => string(0) "" "local" => string(10) "Lambayeque" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 982 ':uri' => $this->_uri, 983 )); 984 } 985 986 return $this->_client->execute($this); 987 } 988 989 /** 990 * Returns whether this request is the initial request Kohana received. 991 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }