APPPATH/views/pages/catalogue/products/list.php [ 5 ]
1 <div class="bg-light"> 2 <div class="album pb-5 pt-1"> 3 <div class="container contentSearchHighlight"> 4 <div class="row"> 5 <?php foreach ($response['response']['docs'] as $k => $v ) {;?> 6 <div class="col-12"> 7 <div class="card mb-1 box-shadow rounded-0"> 8 9 <div class="d-flex flex-row">10 <div class="p-2">
APPPATH/views/pages/catalogue/products/list.php [ 5 ]» Kohana_Core::error_handler(arguments)
0
integer 2
1
string(39) "Invalid argument supplied for foreach()"
2
string(65) "/var/www/html/application/views/pages/catalogue/products/list.php"
3
integer 5
4
array(14) ( "kohana_view_filename" => string(65) "/var/www/html/application/views/pages/catalogue/products/list.php" "kohana_view_data" => array(0) "page_title" => string(17) " - Mak Automotive" "page_description" => string(0) "" "page_keywords" => string(0) "" "menu" => array(14) ( 0 => array(7) ( "categoriaNome" => string(7) "Bandeja" "categoriaPOID" => integer 920 "categoriaSEO" => string(7) "bandeja" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 90 "categoriaIMG" => string(65) "https://img.rolemak.com.br/imagefly/h600/media/images/bandeja.jpg" "categoriaIcone" => string(49) "https://cdn.rolemak.com.br/svg/icones/bandeja.svg" ) 1 => array(7) ( "categoriaNome" => string(11) "Barra Axial" "categoriaPOID" => integer 1031 "categoriaSEO" => string(11) "barra-axial" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 32 "categoriaIMG" => string(69) "https://img.rolemak.com.br/imagefly/h600/media/images/barra-axial.jpg" "categoriaIcone" => string(53) "https://cdn.rolemak.com.br/svg/icones/barra-axial.svg" ) 2 => array(7) ( "categoriaNome" => string(12) "Bomba d Agua" "categoriaPOID" => integer 96 "categoriaSEO" => string(12) "bomba-d-agua" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 32 "categoriaIMG" => string(70) "https://img.rolemak.com.br/imagefly/h600/media/images/bomba-d-agua.jpg" "categoriaIcone" => string(54) "https://cdn.rolemak.com.br/svg/icones/bomba-d-agua.svg" ) 3 => array(7) ( "categoriaNome" => string(12) "Cubo de Roda" "categoriaPOID" => integer 984 "categoriaSEO" => string(12) "cubo-de-roda" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 94 "categoriaIMG" => string(70) "https://img.rolemak.com.br/imagefly/h600/media/images/cubo-de-roda.jpg" "categoriaIcone" => string(54) "https://cdn.rolemak.com.br/svg/icones/cubo-de-roda.svg" ) 4 => array(7) ( "categoriaNome" => string(19) "Junta Homocinética" "categoriaPOID" => integer 418 "categoriaSEO" => string(18) "junta-homocinetica" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 132 "categoriaIMG" => string(76) "https://img.rolemak.com.br/imagefly/h600/media/images/junta-homocinetica.jpg" "categoriaIcone" => string(60) "https://cdn.rolemak.com.br/svg/icones/junta-homocinetica.svg" ) 5 => array(7) ( "categoriaNome" => string(23) "Kit Corrente de Comando" "categoriaPOID" => integer 1035 "categoriaSEO" => string(23) "kit-corrente-de-comando" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 17 "categoriaIMG" => string(81) "https://img.rolemak.com.br/imagefly/h600/media/images/kit-corrente-de-comando.jpg" "categoriaIcone" => string(65) "https://cdn.rolemak.com.br/svg/icones/kit-corrente-de-comando.svg" ) 6 => array(7) ( "categoriaNome" => string(7) "Palheta" "categoriaPOID" => integer 97 "categoriaSEO" => string(7) "palheta" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 15 "categoriaIMG" => string(65) "https://img.rolemak.com.br/imagefly/h600/media/images/palheta.jpg" "categoriaIcone" => string(49) "https://cdn.rolemak.com.br/svg/icones/palheta.svg" ) 7 => array(7) ( "categoriaNome" => string(19) "Pivô de Suspensão" "categoriaPOID" => integer 921 "categoriaSEO" => string(17) "pivo-de-suspensao" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 82 "categoriaIMG" => string(75) "https://img.rolemak.com.br/imagefly/h600/media/images/pivo-de-suspensao.jpg" "categoriaIcone" => string(59) "https://cdn.rolemak.com.br/svg/icones/pivo-de-suspensao.svg" ) 8 => array(7) ( "categoriaNome" => string(8) "Radiador" "categoriaPOID" => integer 1040 "categoriaSEO" => string(8) "radiador" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 24 "categoriaIMG" => string(66) "https://img.rolemak.com.br/imagefly/h600/media/images/radiador.jpg" "categoriaIcone" => string(50) "https://cdn.rolemak.com.br/svg/icones/radiador.svg" ) 9 => array(7) ( "categoriaNome" => string(10) "Rolamentos" "categoriaPOID" => integer 332 "categoriaSEO" => string(10) "rolamentos" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 274 "categoriaIMG" => string(68) "https://img.rolemak.com.br/imagefly/h600/media/images/rolamentos.jpg" "categoriaIcone" => string(52) "https://cdn.rolemak.com.br/svg/icones/rolamentos.svg" ) 10 => array(7) ( "categoriaNome" => string(8) "Semieixo" "categoriaPOID" => integer 987 "categoriaSEO" => string(8) "semieixo" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 9 "categoriaIMG" => string(66) "https://img.rolemak.com.br/imagefly/h600/media/images/semieixo.jpg" "categoriaIcone" => string(50) "https://cdn.rolemak.com.br/svg/icones/semieixo.svg" ) 11 => array(7) ( "categoriaNome" => string(14) "Tensor e Polia" "categoriaPOID" => integer 241 "categoriaSEO" => string(14) "tensor-e-polia" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 123 "categoriaIMG" => string(72) "https://img.rolemak.com.br/imagefly/h600/media/images/tensor-e-polia.jpg" "categoriaIcone" => string(56) "https://cdn.rolemak.com.br/svg/icones/tensor-e-polia.svg" ) 12 => array(7) ( "categoriaNome" => string(21) "Terminal de Direção" "categoriaPOID" => integer 1029 "categoriaSEO" => string(19) "terminal-de-direcao" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 78 "categoriaIMG" => string(77) "https://img.rolemak.com.br/imagefly/h600/media/images/terminal-de-direcao.jpg" "categoriaIcone" => string(61) "https://cdn.rolemak.com.br/svg/icones/terminal-de-direcao.svg" ) 13 => array(7) ( "categoriaNome" => string(7) "Trizeta" "categoriaPOID" => integer 1034 "categoriaSEO" => string(7) "trizeta" "segmentoSEO" => string(9) "autopecas" "categoriaEncontrados" => integer 48 "categoriaIMG" => string(65) "https://img.rolemak.com.br/imagefly/h600/media/images/trizeta.jpg" "categoriaIcone" => string(49) "https://cdn.rolemak.com.br/svg/icones/trizeta.svg" ) ) "filtro" => array(5) ( "count" => integer 1050 "catalogoSistema" => array(1) ( "buckets" => array(8) ( 0 => array(5) ( "val" => string(23) "Acessórios Automotivos" "count" => integer 15 "seo" => string(22) "acessorios-automotivos" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 1 => array(5) ( "val" => string(13) "Arrefecimento" "count" => integer 47 "seo" => string(13) "arrefecimento" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 2 => array(5) ( "val" => string(7) "Câmbio" "count" => integer 6 "seo" => string(6) "cambio" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 3 => array(5) ( "val" => string(9) "Direção" "count" => integer 110 "seo" => string(7) "direcao" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 4 => array(5) ( "val" => string(5) "Motor" "count" => integer 149 "seo" => string(5) "motor" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 5 => array(5) ( "val" => string(7) "Rodagem" "count" => integer 185 "seo" => string(7) "rodagem" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 6 => array(5) ( "val" => string(10) "Suspensão" "count" => integer 173 "seo" => string(9) "suspensao" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) 7 => array(5) ( "val" => string(12) "Transmissão" "count" => integer 195 "seo" => string(11) "transmissao" "field" => string(15) "catalogoSistema" "segment" => string(9) "autopecas" ) ) ) "produtoAutoTipos" => array(1) ( "buckets" => array(9) ( 0 => array(5) ( "val" => string(9) "Agrícola" "count" => integer 8 "seo" => string(8) "agricola" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 1 => array(5) ( "val" => string(10) "Automóvel" "count" => integer 839 "seo" => string(9) "automovel" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 2 => array(5) ( "val" => string(9) "Caminhão" "count" => integer 63 "seo" => string(8) "caminhao" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 3 => array(5) ( "val" => string(17) "Caminhões Onibus" "count" => integer 2 "seo" => string(16) "caminhoes-onibus" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 4 => array(5) ( "val" => string(4) "Moto" "count" => integer 8 "seo" => string(4) "moto" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 5 => array(5) ( "val" => string(20) "Máquinas e Tratores" "count" => integer 3 "seo" => string(19) "maquinas-e-tratores" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 6 => array(5) ( "val" => string(14) "Pick-up e Vans" "count" => integer 166 "seo" => string(14) "pick-up-e-vans" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 7 => array(5) ( "val" => string(11) "Utilitário" "count" => integer 280 "seo" => string(10) "utilitario" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) 8 => array(5) ( "val" => string(8) "Ônibus " "count" => integer 14 "seo" => string(6) "onibus" "field" => string(16) "produtoAutoTipos" "segment" => string(9) "autopecas" ) ) ) "produtoAutoMontadoras" => array(1) ( "buckets" => array(51) ( 0 => array(5) ( "val" => string(5) "Acura" "count" => integer 1 "seo" => string(5) "acura" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 1 => array(5) ( "val" => string(6) "Agrale" "count" => integer 4 "seo" => string(6) "agrale" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 2 => array(5) ( "val" => string(10) "Alfa Romeo" "count" => integer 8 "seo" => string(10) "alfa-romeo" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 3 => array(5) ( "val" => string(4) "Asia" "count" => integer 11 "seo" => string(4) "asia" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 4 => array(5) ( "val" => string(4) "Audi" "count" => integer 35 "seo" => string(4) "audi" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 5 => array(5) ( "val" => string(3) "BMW" "count" => integer 1 "seo" => string(3) "bmw" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 6 => array(5) ( "val" => string(6) "Baldan" "count" => integer 2 "seo" => string(6) "baldan" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 7 => array(5) ( "val" => string(3) "CBT" "count" => integer 4 "seo" => string(3) "cbt" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 8 => array(5) ( "val" => string(5) "Chery" "count" => integer 6 "seo" => string(5) "chery" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 9 => array(5) ( "val" => string(9) "Chevrolet" "count" => integer 189 "seo" => string(9) "chevrolet" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 10 => array(5) ( "val" => string(8) "Chrysler" "count" => integer 6 "seo" => string(8) "chrysler" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 11 => array(5) ( "val" => string(7) "Citroen" "count" => integer 75 "seo" => string(7) "citroen" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 12 => array(5) ( "val" => string(6) "Daewoo" "count" => integer 9 "seo" => string(6) "daewoo" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 13 => array(5) ( "val" => string(5) "Dafra" "count" => integer 1 "seo" => string(5) "dafra" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 14 => array(5) ( "val" => string(5) "Dodge" "count" => integer 12 "seo" => string(5) "dodge" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 15 => array(5) ( "val" => string(4) "Fiat" "count" => integer 158 "seo" => string(4) "fiat" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 16 => array(5) ( "val" => string(4) "Ford" "count" => integer 208 "seo" => string(4) "ford" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 17 => array(5) ( "val" => string(6) "Gurgel" "count" => integer 2 "seo" => string(6) "gurgel" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 18 => array(5) ( "val" => string(5) "Honda" "count" => integer 43 "seo" => string(5) "honda" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 19 => array(5) ( "val" => string(6) "Hyster" "count" => integer 1 "seo" => string(6) "hyster" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 20 => array(5) ( "val" => string(7) "Hyundai" "count" => integer 44 "seo" => string(7) "hyundai" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 21 => array(5) ( "val" => string(5) "Iveco" "count" => integer 4 "seo" => string(5) "iveco" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 22 => array(5) ( "val" => string(3) "JAC" "count" => integer 10 "seo" => string(3) "jac" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 23 => array(5) ( "val" => string(6) "Jaguar" "count" => integer 1 "seo" => string(6) "jaguar" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 24 => array(5) ( "val" => string(4) "Jeep" "count" => integer 7 "seo" => string(4) "jeep" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 25 => array(5) ( "val" => string(3) "Kia" "count" => integer 41 "seo" => string(3) "kia" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 26 => array(5) ( "val" => string(4) "Lada" "count" => integer 7 "seo" => string(4) "lada" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 27 => array(5) ( "val" => string(10) "Land Rover" "count" => integer 9 "seo" => string(10) "land-rover" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 28 => array(5) ( "val" => string(5) "Lexus" "count" => integer 1 "seo" => string(5) "lexus" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 29 => array(5) ( "val" => string(5) "Lifan" "count" => integer 3 "seo" => string(5) "lifan" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 30 => array(5) ( "val" => string(15) "Massey Ferguson" "count" => integer 1 "seo" => string(15) "massey-ferguson" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 31 => array(5) ( "val" => string(5) "Mazda" "count" => integer 4 "seo" => string(5) "mazda" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 32 => array(5) ( "val" => string(13) "Mercedes Benz" "count" => integer 63 "seo" => string(13) "mercedes-benz" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 33 => array(5) ( "val" => string(4) "Mini" "count" => integer 2 "seo" => string(4) "mini" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 34 => array(5) ( "val" => string(10) "Mitsubishi" "count" => integer 29 "seo" => string(10) "mitsubishi" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 35 => array(5) ( "val" => string(10) "New Holand" "count" => integer 2 "seo" => string(10) "new-holand" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 36 => array(5) ( "val" => string(6) "Nissan" "count" => integer 40 "seo" => string(6) "nissan" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 37 => array(5) ( "val" => string(7) "Peugeot" "count" => integer 84 "seo" => string(7) "peugeot" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 38 => array(5) ( "val" => string(7) "Renault" "count" => integer 83 "seo" => string(7) "renault" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 39 => array(5) ( "val" => string(6) "Scania" "count" => integer 12 "seo" => string(6) "scania" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 40 => array(5) ( "val" => string(4) "Seat" "count" => integer 15 "seo" => string(4) "seat" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 41 => array(5) ( "val" => string(9) "Ssangyong" "count" => integer 3 "seo" => string(9) "ssangyong" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 42 => array(5) ( "val" => string(6) "Subaru" "count" => integer 4 "seo" => string(6) "subaru" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 43 => array(5) ( "val" => string(6) "Suzuki" "count" => integer 10 "seo" => string(6) "suzuki" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 44 => array(5) ( "val" => string(3) "TAC" "count" => integer 2 "seo" => string(3) "tac" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 45 => array(5) ( "val" => string(6) "Toyota" "count" => integer 71 "seo" => string(6) "toyota" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 46 => array(5) ( "val" => string(7) "Troller" "count" => integer 13 "seo" => string(7) "troller" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 47 => array(5) ( "val" => string(6) "Valmet" "count" => integer 2 "seo" => string(6) "valmet" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 48 => array(5) ( "val" => string(10) "Volkswagen" "count" => integer 175 "seo" => string(10) "volkswagen" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 49 => array(5) ( "val" => string(5) "Volvo" "count" => integer 6 "seo" => string(5) "volvo" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) 50 => array(5) ( "val" => string(6) "Yamaha" "count" => integer 2 "seo" => string(6) "yamaha" "field" => string(21) "produtoAutoMontadoras" "segment" => string(9) "autopecas" ) ) ) "produtoAutoModelos" => array(1) ( "buckets" => array(100) ( 0 => array(5) ( "val" => string(3) "145" "count" => integer 2 "seo" => string(3) "145" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 1 => array(5) ( "val" => string(3) "147" "count" => integer 5 "seo" => string(3) "147" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 2 => array(5) ( "val" => string(3) "155" "count" => integer 1 "seo" => string(3) "155" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 3 => array(5) ( "val" => string(6) "206 CC" "count" => integer 1 "seo" => string(6) "206-cc" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 4 => array(5) ( "val" => string(6) "206 SW" "count" => integer 2 "seo" => string(6) "206-sw" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 5 => array(5) ( "val" => string(6) "207 SW" "count" => integer 2 "seo" => string(6) "207-sw" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 6 => array(5) ( "val" => string(15) "207 SW Escapade" "count" => integer 1 "seo" => string(15) "207-sw-escapade" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 7 => array(5) ( "val" => string(9) "306 Break" "count" => integer 1 "seo" => string(9) "306-break" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 8 => array(5) ( "val" => string(6) "307 CC" "count" => integer 1 "seo" => string(6) "307-cc" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 9 => array(5) ( "val" => string(4) "323i" "count" => integer 1 "seo" => string(4) "323i" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 10 => array(5) ( "val" => string(4) "325i" "count" => integer 1 "seo" => string(4) "325i" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 11 => array(5) ( "val" => string(4) "350Z" "count" => integer 1 "seo" => string(4) "350z" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 12 => array(5) ( "val" => string(5) "400 I" "count" => integer 2 "seo" => string(5) "400-i" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 13 => array(5) ( "val" => string(3) "405" "count" => integer 2 "seo" => string(3) "405" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 14 => array(5) ( "val" => string(3) "406" "count" => integer 1 "seo" => string(3) "406" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 15 => array(5) ( "val" => string(3) "605" "count" => integer 1 "seo" => string(3) "605" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 16 => array(5) ( "val" => string(3) "607" "count" => integer 1 "seo" => string(3) "607" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 17 => array(5) ( "val" => string(5) "700 I" "count" => integer 3 "seo" => string(5) "700-i" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 18 => array(5) ( "val" => string(5) "750 l" "count" => integer 1 "seo" => string(5) "750-l" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 19 => array(5) ( "val" => string(4) "A-20" "count" => integer 5 "seo" => string(4) "a-20" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 20 => array(5) ( "val" => string(2) "A1" "count" => integer 6 "seo" => string(2) "a1" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 21 => array(5) ( "val" => string(3) "A10" "count" => integer 3 "seo" => string(3) "a10" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 22 => array(5) ( "val" => string(4) "A160" "count" => integer 1 "seo" => string(4) "a160" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 23 => array(5) ( "val" => string(4) "A190" "count" => integer 1 "seo" => string(4) "a190" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 24 => array(5) ( "val" => string(2) "A3" "count" => integer 22 "seo" => string(2) "a3" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 25 => array(5) ( "val" => string(12) "A3 Sportback" "count" => integer 1 "seo" => string(12) "a3-sportback" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 26 => array(5) ( "val" => string(2) "A4" "count" => integer 10 "seo" => string(2) "a4" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 27 => array(5) ( "val" => string(2) "A6" "count" => integer 4 "seo" => string(2) "a6" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 28 => array(5) ( "val" => string(2) "A8" "count" => integer 1 "seo" => string(2) "a8" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 29 => array(5) ( "val" => string(2) "AX" "count" => integer 5 "seo" => string(2) "ax" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 30 => array(5) ( "val" => string(6) "Accent" "count" => integer 3 "seo" => string(6) "accent" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 31 => array(5) ( "val" => string(6) "Accord" "count" => integer 4 "seo" => string(6) "accord" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 32 => array(5) ( "val" => string(6) "Actyon" "count" => integer 3 "seo" => string(6) "actyon" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 33 => array(5) ( "val" => string(13) "Actyon Sports" "count" => integer 1 "seo" => string(13) "actyon-sports" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 34 => array(5) ( "val" => string(5) "Agile" "count" => integer 14 "seo" => string(5) "agile" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 35 => array(5) ( "val" => string(8) "Aircross" "count" => integer 9 "seo" => string(8) "aircross" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 36 => array(5) ( "val" => string(14) "Alfa Romeo 155" "count" => integer 1 "seo" => string(14) "alfa-romeo-155" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 37 => array(5) ( "val" => string(14) "Alfa Romeo 164" "count" => integer 2 "seo" => string(14) "alfa-romeo-164" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 38 => array(5) ( "val" => string(15) "Alfa Romeo 2300" "count" => integer 4 "seo" => string(15) "alfa-romeo-2300" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 39 => array(5) ( "val" => string(6) "Amarok" "count" => integer 2 "seo" => string(6) "amarok" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 40 => array(5) ( "val" => string(6) "Apollo" "count" => integer 16 "seo" => string(6) "apollo" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 41 => array(5) ( "val" => string(4) "Argo" "count" => integer 5 "seo" => string(4) "argo" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 42 => array(5) ( "val" => string(5) "Astra" "count" => integer 33 "seo" => string(5) "astra" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 43 => array(5) ( "val" => string(4) "Atos" "count" => integer 2 "seo" => string(4) "atos" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 44 => array(5) ( "val" => string(8) "Audi 100" "count" => integer 1 "seo" => string(8) "audi-100" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 45 => array(5) ( "val" => string(7) "Audi 80" "count" => integer 1 "seo" => string(7) "audi-80" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 46 => array(5) ( "val" => string(5) "Azera" "count" => integer 3 "seo" => string(5) "azera" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 47 => array(5) ( "val" => string(6) "B 2500" "count" => integer 1 "seo" => string(6) "b-2500" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 48 => array(5) ( "val" => string(5) "BR800" "count" => integer 2 "seo" => string(5) "br800" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 49 => array(5) ( "val" => string(2) "BX" "count" => integer 1 "seo" => string(2) "bx" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 50 => array(5) ( "val" => string(6) "Baleno" "count" => integer 2 "seo" => string(6) "baleno" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 51 => array(5) ( "val" => string(11) "Bandeirante" "count" => integer 9 "seo" => string(11) "bandeirante" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 52 => array(5) ( "val" => string(16) "Bandeirante Jipe" "count" => integer 2 "seo" => string(16) "bandeirante-jipe" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 53 => array(5) ( "val" => string(6) "Belina" "count" => integer 16 "seo" => string(6) "belina" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 54 => array(5) ( "val" => string(8) "Belina I" "count" => integer 4 "seo" => string(8) "belina-i" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 55 => array(5) ( "val" => string(9) "Belina II" "count" => integer 4 "seo" => string(9) "belina-ii" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 56 => array(5) ( "val" => string(8) "Berlingo" "count" => integer 16 "seo" => string(8) "berlingo" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 57 => array(5) ( "val" => string(5) "Besta" "count" => integer 4 "seo" => string(5) "besta" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 58 => array(5) ( "val" => string(6) "Blazer" "count" => integer 30 "seo" => string(6) "blazer" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 59 => array(5) ( "val" => string(7) "Bonanza" "count" => integer 8 "seo" => string(7) "bonanza" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 60 => array(5) ( "val" => string(5) "Bongo" "count" => integer 3 "seo" => string(5) "bongo" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 61 => array(5) ( "val" => string(4) "Bora" "count" => integer 12 "seo" => string(4) "bora" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 62 => array(5) ( "val" => string(5) "Boxer" "count" => integer 2 "seo" => string(5) "boxer" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 63 => array(5) ( "val" => string(9) "Brasília" "count" => integer 10 "seo" => string(8) "brasilia" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 64 => array(5) ( "val" => string(5) "Brava" "count" => integer 13 "seo" => string(5) "brava" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 65 => array(5) ( "val" => string(5) "Bravo" "count" => integer 11 "seo" => string(5) "bravo" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 66 => array(5) ( "val" => string(3) "C10" "count" => integer 4 "seo" => string(3) "c10" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 67 => array(5) ( "val" => string(4) "C180" "count" => integer 1 "seo" => string(4) "c180" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 68 => array(5) ( "val" => string(3) "C20" "count" => integer 7 "seo" => string(3) "c20" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 69 => array(5) ( "val" => string(4) "C200" "count" => integer 1 "seo" => string(4) "c200" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 70 => array(5) ( "val" => string(4) "C240" "count" => integer 1 "seo" => string(4) "c240" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 71 => array(5) ( "val" => string(2) "C3" "count" => integer 23 "seo" => string(2) "c3" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 72 => array(5) ( "val" => string(10) "C3 Picasso" "count" => integer 4 "seo" => string(10) "c3-picasso" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 73 => array(5) ( "val" => string(3) "C30" "count" => integer 1 "seo" => string(3) "c30" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 74 => array(5) ( "val" => string(2) "C4" "count" => integer 17 "seo" => string(2) "c4" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 75 => array(5) ( "val" => string(9) "C4 Pallas" "count" => integer 9 "seo" => string(9) "c4-pallas" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 76 => array(5) ( "val" => string(10) "C4 Picasso" "count" => integer 5 "seo" => string(10) "c4-picasso" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 77 => array(5) ( "val" => string(6) "C4 VTR" "count" => integer 4 "seo" => string(6) "c4-vtr" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 78 => array(5) ( "val" => string(3) "C5 " "count" => integer 6 "seo" => string(2) "c5" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 79 => array(5) ( "val" => string(3) "C70" "count" => integer 1 "seo" => string(3) "c70" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 80 => array(5) ( "val" => string(2) "C8" "count" => integer 3 "seo" => string(2) "c8" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 81 => array(5) ( "val" => string(6) "CLK230" "count" => integer 1 "seo" => string(6) "clk230" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 82 => array(5) ( "val" => string(6) "CLK320" "count" => integer 1 "seo" => string(6) "clk320" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 83 => array(5) ( "val" => string(6) "CLK430" "count" => integer 1 "seo" => string(6) "clk430" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 84 => array(5) ( "val" => string(4) "CR-V" "count" => integer 2 "seo" => string(4) "cr-v" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 85 => array(5) ( "val" => string(3) "CRV" "count" => integer 6 "seo" => string(3) "crv" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 86 => array(5) ( "val" => string(7) "Cadenza" "count" => integer 1 "seo" => string(7) "cadenza" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 87 => array(5) ( "val" => string(7) "Calibra" "count" => integer 11 "seo" => string(7) "calibra" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 88 => array(5) ( "val" => string(5) "Camry" "count" => integer 2 "seo" => string(5) "camry" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 89 => array(5) ( "val" => string(7) "Captiva" "count" => integer 8 "seo" => string(7) "captiva" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 90 => array(5) ( "val" => string(7) "Caravan" "count" => integer 18 "seo" => string(7) "caravan" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 91 => array(5) ( "val" => string(6) "Carens" "count" => integer 6 "seo" => string(6) "carens" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 92 => array(5) ( "val" => string(8) "Carnival" "count" => integer 3 "seo" => string(8) "carnival" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 93 => array(5) ( "val" => string(5) "Celer" "count" => integer 1 "seo" => string(5) "celer" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 94 => array(5) ( "val" => string(5) "Celta" "count" => integer 34 "seo" => string(5) "celta" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 95 => array(5) ( "val" => string(6) "Cerato" "count" => integer 2 "seo" => string(6) "cerato" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 96 => array(5) ( "val" => string(8) "Charger " "count" => integer 1 "seo" => string(7) "charger" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 97 => array(5) ( "val" => string(8) "Cherokee" "count" => integer 4 "seo" => string(8) "cherokee" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 98 => array(5) ( "val" => string(8) "Chevette" "count" => integer 12 "seo" => string(8) "chevette" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) 99 => array(5) ( "val" => string(9) "Chevy 500" "count" => integer 10 "seo" => string(9) "chevy-500" "field" => string(18) "produtoAutoModelos" "segment" => string(9) "autopecas" ) ) ) ) "segment" => array(3) ( "numFound" => integer 94 "start" => integer 0 "docs" => array(1) ( 0 => array(9) ( "categoriaPOID" => integer 984 "categoriaSEO" => string(12) "cubo-de-roda" "categoriaNome" => string(12) "Cubo de Roda" "categoriaTitulo" => string(12) "Cubo de Roda" "segmentoPOID" => integer 5 "segmentoSEO" => string(9) "autopecas" "segmentoNome" => string(10) "Autopeças" "segmentoTitulo" => string(10) "Autopeças" "autopecas" => string(1) "1" ) ) ) "categoriaSEO" => string(12) "cubo-de-roda" "segmentoSEO" => string(9) "autopecas" "response" => NULL "show" => string(5) "lista" "fq" => NULL "page_product" => bool TRUE )
1 <div class="bg-light"> 2 <div class="album pb-5 pt-1"> 3 <div class="container contentSearchHighlight"> 4 <div class="row"> 5 <?php foreach ($response['response']['docs'] as $k => $v ) {;?> 6 <div class="col-12"> 7 <div class="card mb-1 box-shadow rounded-0"> 8 9 <div class="d-flex flex-row">10 <div class="p-2">
SYSPATH/classes/Kohana/View.php [ 62 ]» include(arguments)
0
string(65) "/var/www/html/application/views/pages/catalogue/products/list.php"
57 ob_start();58 59 try60 {61 // Load the view within the current scope62 include $kohana_view_filename;63 }64 catch (Exception $e)65 {66 // Delete the output buffer67 ob_end_clean();
SYSPATH/classes/Kohana/View.php [ 359 ]» Kohana_View::capture(arguments)
0
string(65) "/var/www/html/application/views/pages/catalogue/products/list.php"
1
array(0)
354 {355 throw new View_Exception('You must set the file to use within your view before rendering');356 }357 358 // Combine local and global data and capture the output359 return View::capture($this->_file, $this->_data);360 }361 362 }
SYSPATH/classes/Kohana/View.php [ 236 ]» Kohana_View->render()
231 */232 public function __toString()233 {234 try235 {236 return $this->render();237 }238 catch (Exception $e)239 {240 /**241 * Display the exception message.
APPPATH/views/pages/catalogue/products.php [ 38 ]» Kohana_View->__toString()
33 34 </div>35 </div>36 </div>37 38 <?=$mode;?>
SYSPATH/classes/Kohana/View.php [ 62 ]» include(arguments)
0
string(60) "/var/www/html/application/views/pages/catalogue/products.php"
57 ob_start();58 59 try60 {61 // Load the view within the current scope62 include $kohana_view_filename;63 }64 catch (Exception $e)65 {66 // Delete the output buffer67 ob_end_clean();
SYSPATH/classes/Kohana/View.php [ 359 ]» Kohana_View::capture(arguments)
0
string(60) "/var/www/html/application/views/pages/catalogue/products.php"
1
array(1) ( "mode" => object View(2)
{ protected _file => string(65) "/var/www/html/application/views/pages/catalogue/products/list.php" protected _data => array(0) }
)354 {355 throw new View_Exception('You must set the file to use within your view before rendering');356 }357 358 // Combine local and global data and capture the output359 return View::capture($this->_file, $this->_data);360 }361 362 }
SYSPATH/classes/Kohana/View.php [ 236 ]» Kohana_View->render()
231 */232 public function __toString()233 {234 try235 {236 return $this->render();237 }238 catch (Exception $e)239 {240 /**241 * Display the exception message.
APPPATH/views/template.php [ 80 ]» Kohana_View->__toString()
75 </div>76 <?php } ;?>77 78 <?=$header;?>79 <?=$banner;?>80 <?=$content;?>81 <?=$contact;?>82 <?=$footer;?>83 84 <!-- jQuery first, then Popper.js, then Bootstrap JS -->85 <script src="/min/?g=js"></script>
SYSPATH/classes/Kohana/View.php [ 62 ]» include(arguments)
0
string(44) "/var/www/html/application/views/template.php"
57 ob_start();58 59 try60 {61 // Load the view within the current scope62 include $kohana_view_filename;63 }64 catch (Exception $e)65 {66 // Delete the output buffer67 ob_end_clean();
SYSPATH/classes/Kohana/View.php [ 359 ]» Kohana_View::capture(arguments)
0
string(44) "/var/www/html/application/views/template.php"
1
array(6) ( "header" => object View(2)
{ protected _file => string(50) "/var/www/html/application/views/include/header.php" protected _data => array(0) }
"banner" => bool FALSE "contact" => bool FALSE "search" => object View(2){ protected _file => string(50) "/var/www/html/application/views/include/search.php" protected _data => array(0) }
"footer" => object View(2){ protected _file => string(50) "/var/www/html/application/views/include/footer.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(60) "/var/www/html/application/views/pages/catalogue/products.php" protected _data => array(1) ( "mode" => object View(2)
){ protected _file => string(65) "/var/www/html/application/views/pages/catalogue/products/list.php" protected _data => array(0) }
) }354 {355 throw new View_Exception('You must set the file to use within your view before rendering');356 }357 358 // Combine local and global data and capture the output359 return View::capture($this->_file, $this->_data);360 }361 362 }
APPPATH/classes/Controller/Website.php [ 329 ]» Kohana_View->render()
324 */325 public function after()326 {327 if ($this->auto_render === TRUE)328 {329 $this->response->body(self::minify_output($this->template->render()));330 }331 }332 333 334 }
SYSPATH/classes/Kohana/Controller.php [ 87 ]» Controller_Website->after()
82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response90 return $this->response;91 }92
{PHP internal call}» Kohana_Controller->execute()
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ]» ReflectionMethod->invoke(arguments)
0
object Controller_Pages_Products(8)
{ public page_title => string(17) " - Mak Automotive" public auto_render => bool TRUE public template => object View(2)
{ protected _file => string(44) "/var/www/html/application/views/template.php" protected _data => array(6) ( "header" => object View(2)
public request => object Request(19){ protected _file => string(50) "/var/www/html/application/views/include/header.php" protected _data => array(0) }
"banner" => bool FALSE "contact" => bool FALSE "search" => object View(2){ protected _file => string(50) "/var/www/html/application/views/include/search.php" protected _data => array(0) }
"footer" => object View(2){ protected _file => string(50) "/var/www/html/application/views/include/footer.php" protected _data => array(0) }
"content" => object View(2){ protected _file => string(60) "/var/www/html/application/views/pages/catalogue/products.php" protected _data => array(1) ( "mode" => object View(2)
) }{ protected _file => string(65) "/var/www/html/application/views/pages/catalogue/products/list.php" protected _data => array(0) }
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(31) "produtos/<segment>(/<category>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "pages" "controller" => string(8) "products" "action" => string(5) "index" ) protected _route_regex => string(72) "#^produtos/(?P<segment>[^/.,;?\n]++)(?:/(?P<category>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Pages" protected _controller => string(8) "Products" protected _action => string(5) "index" protected _uri => string(31) "produtos/autopecas/cubo-de-roda" protected _external => bool FALSE protected _params => array(2) ( "segment" => string(9) "autopecas" "category" => string(12) "cubo-de-roda" ) protected _get => array(1) ( "visualizar" => string(5) "lista" ) 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)
public page_description => string(0) "" public page_keywords => string(0) "" public page_product => bool TRUE }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }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.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(31) "produtos/<segment>(/<category>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "pages" "controller" => string(8) "products" "action" => string(5) "index" ) protected _route_regex => string(72) "#^produtos/(?P<segment>[^/.,;?\n]++)(?:/(?P<category>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Pages" protected _controller => string(8) "Products" protected _action => string(5) "index" protected _uri => string(31) "produtos/autopecas/cubo-de-roda" protected _external => bool FALSE protected _params => array(2) ( "segment" => string(9) "autopecas" "category" => string(12) "cubo-de-roda" ) protected _get => array(1) ( "visualizar" => string(5) "lista" ) 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.1" }109 $orig_response = $response = Response::factory(['_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 callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))
SYSPATH/classes/Kohana/Request.php [ 993 ]» Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(31) "produtos/<segment>(/<category>)" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "pages" "controller" => string(8) "products" "action" => string(5) "index" ) protected _route_regex => string(72) "#^produtos/(?P<segment>[^/.,;?\n]++)(?:/(?P<category>[^/.,;?\n]++))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Pages" protected _controller => string(8) "Products" protected _action => string(5) "index" protected _uri => string(31) "produtos/autopecas/cubo-de-roda" protected _external => bool FALSE protected _params => array(2) ( "segment" => string(9) "autopecas" "category" => string(12) "cubo-de-roda" ) protected _get => array(1) ( "visualizar" => string(5) "lista" ) 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) }
}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [989 ':uri' => $this->_uri,990 ]);991 }992 993 return $this->_client->execute($this);994 }995 996 /**997 * Returns whether this request is the initial request Kohana received.998 * Can be used to test for sub requests.
DOCROOT/public/index.php [ 129 ]» Kohana_Request->execute()
124 /**125 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].126 * If no source is specified, the URI will be automatically detected.127 */128 echo Request::factory(TRUE, [], FALSE)129 ->execute()130 ->send_headers(TRUE)131 ->body();132 }