/var/www/primadoma-modules/cache/classes/Kohana/Cache/File.php [ 483 ]
478 $lifetime = (int) $data->fgets();
479
480 // If we're at the EOF at this point, corrupted!
481 if ($data->eof())
482 {
483 throw new Cache_Exception(__METHOD__ . ' corrupted cache file!');
484 }
485
486 //close file
487 $data = null;
488
-
/var/www/primadoma-modules/cache/classes/Kohana/Cache/File.php [ 143 ] » Kohana_Cache_File->_is_expired(arguments)
0
object SplFileInfo(0)
{ }
138 return $default; 139 } 140 else 141 { 142 // Test the expiry 143 if ($this->_is_expired($file)) 144 { 145 // Delete the file 146 $this->_delete_file($file, FALSE, TRUE); 147 return $default; 148 }
-
/var/www/primadoma-modules/latestcontent/classes/Model/Latestcontent.php [ 13 ] » Kohana_Cache_File->get(arguments)
0
string(17) "remote_articles_9"
8 /** 9 * popis funkce 10 **/ 11 public static function get_latest($website_id=null, $limit=6) 12 { 13 $ret = Cache::instance()->get("remote_articles_".$website_id); 14 15 if(empty($data)) 16 { 17 $res = DB::Select("name","url","title_image_url")->from("remote_articles")->where("website_id","=",$website_id)->order_by("id","DESC")->limit($limit)->execute()->as_array(); 18
-
APPPATH/classes/Controller/Theme.php [ 134 ] » Model_Latestcontent::get_latest(arguments)
0
integer 9
1
integer 6
129 { 130 $lc_view = new View('_latestcontent/article_list'); 131 $lc_view->_seznam_reklama = $this->template->set_seznam_reklamy; 132 $lc_view->zp_data = Model_Latestcontent::get_latest(10,6); //10 - ID webu, 6-limit 133 $lc_view->ck_data = Model_Latestcontent::get_latest(1,6); //1 - ID webu, 6-limit 134 $lc_view->fa_data = Model_Latestcontent::get_latest(9,6); //9 - ID webu, 6-limit 135 $lc_view->pn_data = Model_Latestcontent::get_latest(5,6); //5 - ID webu, 6-limit 136 $this->template->_footer_html->latestcontent = (string)$lc_view; 137 } 138 139 //zmena hlavniho JS reklam v header
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Theme->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Articles(5)
{ public template => object View(2)
{ protected _file => string(68) "/var/www/primanapady.cz.www.bootstrap/application/views/template.php" protected _data => array(12) ( "_header" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(73) "/var/www/primanapady.cz.www.bootstrap/application/views/static/header.php" protected _data => array(18) ( "_page_title" => string(13) "Prima nápady" "_page_keywords" => NULL "_page_descript" => string(166) "Rady, tipy, návody krok za krokem pro vaši zahradu, dům, byt, dílnu a hobby. Rady pro chov domácích zvířat, mazlíčci a péče o ně …" "_page_image" => string(0) "" "_og_page_type" => NULL "_og_site_name" => string(13) "Prima nápady" "fb_app_id" => string(16) "2259871874251009" "_css" => string(0) "" "_meta" => string(0) "" "page_title" => string(0) "" "_canonical_url" => NULL "_follow" => NULL "_json_ld" => NULL "_data_lyer" => NULL "_next_link" => NULL "_prev_link" => NULL "section_class" => NULL "header_leaderboard" => bool TRUE ) }
"_navigation" => object View(2){ protected _file => string(77) "/var/www/primanapady.cz.www.bootstrap/application/views/static/navigation.php" protected _data => array(6) ( "_form_action" => string(0) "" "_form_query" => string(0) "" "_not_root" => bool FALSE "active" => NULL "query" => NULL "categories" => array(7) ( 7298 => array(13) ( "id" => string(1) "1" "object_id" => string(4) "7298" "parent_object_id" => string(1) "0" "category_name" => string(10) "Domácnost" "category_seo_title" => string(10) "Domácnost" "category_seo_description" => string(273) "Jak si pohodově a bez problémů zařídit domácnost? V našich prima nápadech najdete spoustu tipů a vychytávek, díky kterým bude va …" "category_seo_keywords" => string(10) "domácnost" "category_url" => string(9) "domacnost" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(25) "/kategorie-7298-domacnost" "children" => array(5) ( 7303 => array(12) ( "id" => string(1) "2" "object_id" => string(4) "7303" "parent_object_id" => string(4) "7298" "category_name" => string(20) "Interiér a dekorace" "category_seo_title" => string(20) "Interiér a dekorace" "category_seo_description" => string(261) "Interiér a dekorace tvoří dokonalou souhru vnitřku vašeho bydlení. Jak vybavit pokoje ve vašem domě nebo bytě, nebo jaké barvy s …" "category_seo_keywords" => string(20) "Interiér a dekorace" "category_url" => string(17) "interier-dekorace" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(33) "/kategorie-7303-interier-dekorace" ) 24227 => array(12) ( "id" => string(1) "3" "object_id" => string(5) "24227" "parent_object_id" => string(4) "7298" "category_name" => string(17) "Tradice a svátky" "category_seo_title" => string(17) "Tradice a svátky" "category_seo_description" => string(207) "Tradice a svátky jsou důležitou součástí historie každé země na světe. Znáte ale všechny naše tradice a svátky. Vše, co byste mo …" "category_seo_keywords" => string(17) "Tradice a svátky" "category_url" => string(28) "ceske-tradice-svatky-remesla" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(45) "/kategorie-24227-ceske-tradice-svatky-remesla" ) 26527 => array(12) ( "id" => string(1) "4" "object_id" => string(5) "26527" "parent_object_id" => string(4) "7298" "category_name" => string(17) "Návody a postupy" "category_seo_title" => string(17) "Návody a postupy" "category_seo_description" => string(242) "Vyrobit něco vždy přináší vnitřní radost a pohodu do vašeho bydlení. Pokud si ale nejste něčím jistí, stačí se podívat do naší r …" "category_seo_keywords" => string(17) "Návody a postupy" "category_url" => string(24) "navody-postupy-hand-made" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(41) "/kategorie-26527-navody-postupy-hand-made" ) 27397 => array(12) ( "id" => string(1) "5" "object_id" => string(5) "27397" "parent_object_id" => string(4) "7298" "category_name" => string(19) "Rady do domácnosti" "category_seo_title" => string(19) "Rady do domácnosti" "category_seo_description" => string(246) "V domácnosti je stále potřeba něco vylepšovat nebo opravovat. A občas si člověk nedokáže poradit sám. V rubrice Rady do domácnos …" "category_seo_keywords" => string(19) "Rady do domácnosti" "category_url" => string(18) "rady-do-domacnosti" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(35) "/kategorie-27397-rady-do-domacnosti" ) 34406 => array(12) ( "id" => string(1) "6" "object_id" => string(5) "34406" "parent_object_id" => string(4) "7298" "category_name" => string(12) "Rekonstrukce" "category_seo_title" => string(12) "Rekonstrukce" "category_seo_description" => string(0) "" "category_seo_keywords" => string(0) "" "category_url" => string(12) "rekonstrukce" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(29) "/kategorie-34406-rekonstrukce" ) ) ) 7305 => array(13) ( "id" => string(1) "7" "object_id" => string(4) "7305" "parent_object_id" => string(1) "0" "category_name" => string(7) "Zahrada" "category_seo_title" => string(7) "Zahrada" "category_seo_description" => string(202) "Sháníte tipy, jak nejlépe pečovat o vaši zahradu, nebo čemu se naopak rozhodně vyvarovat. V naší rubrice zahrada najdete vše pot …" "category_seo_keywords" => string(7) "Zahrada" "category_url" => string(7) "zahrada" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(23) "/kategorie-7305-zahrada" "children" => array(6) ( 7306 => array(12) ( "id" => string(1) "8" "object_id" => string(4) "7306" "parent_object_id" => string(4) "7305" "category_name" => string(16) "Zahradní stavby" "category_seo_title" => string(16) "Zahradní stavby" "category_seo_description" => string(217) "Chcete na své pergolu pro letní grilování, nebo domek na vaše nářadí? Jak například postupovat při stavbě konstrukce, nebo na co …" "category_seo_keywords" => string(16) "Zahradní stavby" "category_url" => string(15) "zahradni-stavby" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(31) "/kategorie-7306-zahradni-stavby" ) 7307 => array(12) ( "id" => string(1) "9" "object_id" => string(4) "7307" "parent_object_id" => string(4) "7305" "category_name" => string(19) "Zahradní nářadí" "category_seo_title" => string(19) "Zahradní nářadí" "category_seo_description" => string(230) "Bez zahradního náčiní se neobejde žádný dobrý zahrádkář. O nářadí se ale musí řádně pečovat. Jak si poradit s údržbou nářadí a c …" "category_seo_keywords" => string(19) "Zahradní nářadí" "category_url" => string(15) "zahradni-naradi" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(31) "/kategorie-7307-zahradni-naradi" ) 7309 => array(12) ( "id" => string(2) "10" "object_id" => string(4) "7309" "parent_object_id" => string(4) "7305" "category_name" => string(18) "Zahradní dekorace" "category_seo_title" => string(29) "Zahradní dekorace a nábytek" "category_seo_description" => string(182) "Zahrada to není jen ovoce a zelenina. Zahrada jsou i okrasné květiny a krásné dekorace, které prozáří vaši zahradu. Podívejte se …" "category_seo_keywords" => string(29) "Zahradní dekorace a nábytek" "category_url" => string(25) "zahradni-dekorace-nabytek" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(41) "/kategorie-7309-zahradni-dekorace-nabytek" ) 7310 => array(12) ( "id" => string(2) "11" "object_id" => string(4) "7310" "parent_object_id" => string(4) "7305" "category_name" => string(10) "Pěstujeme" "category_seo_title" => string(10) "Pěstujeme" "category_seo_description" => string(127) "Jak správně na bylinky? Jak pečovat o trávník, aby zůstal zdravý? Mrkněte na naše rady a tipy pro dobré pěstování." "category_seo_keywords" => string(10) "Pěstujeme" "category_url" => string(9) "pestujeme" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(25) "/kategorie-7310-pestujeme" ) 7311 => array(12) ( "id" => string(2) "12" "object_id" => string(4) "7311" "parent_object_id" => string(4) "7305" "category_name" => string(15) "Katalog rostlin" "category_seo_title" => string(15) "Katalog rostlin" "category_seo_description" => string(229) "Chcete začít s pěstováním, ale nevíte, co přesně by se hodilo na vaši zahradu, nebo před váš domek. Podívejte se do katalogu ros …" "category_seo_keywords" => string(15) "Katalog rostlin" "category_url" => string(15) "katalog-rostlin" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(31) "/kategorie-7311-katalog-rostlin" ) 27398 => array(12) ( "id" => string(2) "13" "object_id" => string(5) "27398" "parent_object_id" => string(4) "7305" "category_name" => string(15) "Rady na zahradu" "category_seo_title" => string(15) "Rady na zahradu" "category_seo_description" => string(121) "Rady a tipy na zahradu od těch nejpovolanějších. Mrkněte do naší rubriky, kde radí zahrádkáři zahrádkářům." "category_seo_keywords" => string(15) "Rady na zahradu" "category_url" => string(15) "rady-na-zahradu" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(32) "/kategorie-27398-rady-na-zahradu" ) ) ) 7319 => array(13) ( "id" => string(2) "14" "object_id" => string(4) "7319" "parent_object_id" => string(1) "0" "category_name" => string(17) "Tvoření a hobby" "category_seo_title" => string(17) "Tvoření a hobby" "category_seo_description" => string(92) "Prima nápady na tvoření krok za krokem. Vytvořte si krásné dekorace do vašeho domova." "category_seo_keywords" => string(17) "Tvoření a hobby" "category_url" => string(13) "tvoreni-hobby" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(29) "/kategorie-7319-tvoreni-hobby" "children" => array(3) ( 7320 => array(12) ( "id" => string(2) "15" "object_id" => string(4) "7320" "parent_object_id" => string(4) "7319" "category_name" => string(19) "Výtvarné techniky" "category_seo_title" => string(19) "Výtvarné techniky" "category_seo_description" => string(108) "Vyberte si z nejrůznějších výtvarných technik a přijďte na to, která vám bude vyhovovat nejvíce." "category_seo_keywords" => string(19) "Výtvarné techniky" "category_url" => string(17) "vytvarne-techniky" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(33) "/kategorie-7320-vytvarne-techniky" ) 7321 => array(12) ( "id" => string(2) "16" "object_id" => string(4) "7321" "parent_object_id" => string(4) "7319" "category_name" => string(20) "Vyrábíme pro děti" "category_seo_title" => string(20) "Vyrábíme pro děti" "category_seo_description" => string(178) "Tvořte a vyrábějte pro děti, ale i s dětmi. Výroba halloweenských dekorací může být legrace pro celou rodinu. Mrkněte na naše ra …" "category_seo_keywords" => string(20) "Vyrábíme pro děti" "category_url" => string(17) "vyrabime-pro-deti" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(33) "/kategorie-7321-vyrabime-pro-deti" ) 30893 => array(12) ( "id" => string(2) "17" "object_id" => string(5) "30893" "parent_object_id" => string(4) "7319" "category_name" => string(14) "Ruční práce" "category_seo_title" => string(14) "Ruční práce" "category_seo_description" => string(209) "Díky naším tipům můžou být ruční práce i zábava. Mrkněte do naší rubriky, kde najdete tipy a rady na nejrůznější vychytávky k ru …" "category_seo_keywords" => string(14) "Ruční práce" "category_url" => string(11) "rucni-prace" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(28) "/kategorie-30893-rucni-prace" ) ) ) 30862 => array(13) ( "id" => string(2) "18" "object_id" => string(5) "30862" "parent_object_id" => string(1) "0" "category_name" => string(10) "Mazlíčci" "category_seo_title" => string(10) "Mazlíčci" "category_seo_description" => string(222) "Říká se, že tam kde je domácí mazlíček, tam je domov. Podívejte se na nejrůznější prima rady a tipy, jak správně pečovat o všemo …" "category_seo_keywords" => string(10) "Mazlíčci" "category_url" => string(8) "mazlicci" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(25) "/kategorie-30862-mazlicci" "children" => array(4) ( 30894 => array(12) ( "id" => string(2) "19" "object_id" => string(5) "30894" "parent_object_id" => string(5) "30862" "category_name" => string(12) "Psi a kočky" "category_seo_title" => string(12) "Psi a kočky" "category_seo_description" => string(237) "Psi a kočky jsou nejčastějšími domácími mazlíčky. To ale neznamená, že pečovat o ně je o to jednodušší. Mrkněte do naší rubriky …" "category_seo_keywords" => string(12) "Psi a kočky" "category_url" => string(9) "psi-kocky" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(26) "/kategorie-30894-psi-kocky" ) 30897 => array(12) ( "id" => string(2) "20" "object_id" => string(5) "30897" "parent_object_id" => string(5) "30862" "category_name" => string(25) "Teraristika a akvaristika" "category_seo_title" => string(25) "Teraristika a akvaristika" "category_seo_description" => string(177) "Teraristika a akvaristika patří mezi nejtěžší pečování o zvířata. Prohlédněte si tipy a rady od samotných chovatelů, které vám v …" "category_seo_keywords" => string(25) "Teraristika a akvaristika" "category_url" => string(23) "teraristika-akvaristika" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(40) "/kategorie-30897-teraristika-akvaristika" ) 30899 => array(12) ( "id" => string(2) "21" "object_id" => string(5) "30899" "parent_object_id" => string(5) "30862" "category_name" => string(24) "Hospodářská zvířata" "category_seo_title" => string(24) "Hospodářská zvířata" "category_seo_description" => string(233) "Hospodářská zvířata jsou důležitým zdrojem potravin a mnohdy i hnacím motorem farem místo těžkých strojů. Jak správně pečovat o …" "category_seo_keywords" => string(24) "Hospodářská zvířata" "category_url" => string(19) "hospodarska-zvirata" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(36) "/kategorie-30899-hospodarska-zvirata" ) 30900 => array(12) ( "id" => string(2) "22" "object_id" => string(5) "30900" "parent_object_id" => string(5) "30862" "category_name" => string(19) "Rady pro mazlíčky" "category_seo_title" => string(19) "Rady pro mazlíčky" "category_seo_description" => string(181) "Jak správně pečovat o své mazlíčky, aby byly šťastní a spokojení. Mrkněte se do naší rubriky na rady a tipy, které vám pomohou s …" "category_seo_keywords" => string(19) "Rady pro mazlíčky" "category_url" => string(17) "rady-pro-mazlicky" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(34) "/kategorie-30900-rady-pro-mazlicky" ) ) ) 30863 => array(13) ( "id" => string(2) "23" "object_id" => string(5) "30863" "parent_object_id" => string(1) "0" "category_name" => string(7) "Zdraví" "category_seo_title" => string(7) "Zdraví" "category_seo_description" => string(153) "Zdraví má člověk jen jedno. Podívejte se na rady a tipy, jak správně pečovat o zdraví, ale i o duševní hygienu, která je stejně …" "category_seo_keywords" => string(7) "Zdraví" "category_url" => string(6) "zdravi" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(23) "/kategorie-30863-zdravi" "children" => array(1) ( 30982 => array(12) ( "id" => string(2) "24" "object_id" => string(5) "30982" "parent_object_id" => string(5) "30863" "category_name" => string(7) "Zdraví" "category_seo_title" => string(7) "Zdraví" "category_seo_description" => string(153) "Zdraví má člověk jen jedno. Podívejte se na rady a tipy, jak správně pečovat o zdraví, ale i o duševní hygienu, která je stejně …" "category_seo_keywords" => string(7) "Zdraví" "category_url" => string(6) "zdravi" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(23) "/kategorie-30982-zdravi" ) ) ) 30864 => array(13) ( "id" => string(2) "25" "object_id" => string(5) "30864" "parent_object_id" => string(1) "0" "category_name" => string(7) "Recepty" "category_seo_title" => string(7) "Recepty" "category_seo_description" => string(209) "Vaření není jen povinnost, ale koníček a vášeň. Přinášíme vám nejrůznější recepty na tradiční, ale i exotická a zahraniční jídla …" "category_seo_keywords" => string(7) "Recepty" "category_url" => string(7) "recepty" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(24) "/kategorie-30864-recepty" "children" => array(1) ( 30983 => array(12) ( "id" => string(2) "26" "object_id" => string(5) "30983" "parent_object_id" => string(5) "30864" "category_name" => string(7) "Recepty" "category_seo_title" => string(7) "Recepty" "category_seo_description" => string(209) "Vaření není jen povinnost, ale koníček a vášeň. Přinášíme vám nejrůznější recepty na tradiční, ale i exotická a zahraniční jídla …" "category_seo_keywords" => string(7) "Recepty" "category_url" => string(7) "recepty" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(24) "/kategorie-30983-recepty" ) ) ) 30865 => array(13) ( "id" => string(2) "27" "object_id" => string(5) "30865" "parent_object_id" => string(1) "0" "category_name" => string(17) "Prima tipy a akce" "category_seo_title" => string(17) "Prima tipy a akce" "category_seo_description" => string(171) "Kam na výlet v zimě nebo v létě? V naší rubrice prima tipy a akce najdete nápady na nejrůznější krásná místa u nás, kam můžete z …" "category_seo_keywords" => string(17) "Prima tipy a akce" "category_url" => string(18) "kalendar-akci-tipy" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(35) "/kategorie-30865-kalendar-akci-tipy" "children" => array(1) ( 31028 => array(12) ( "id" => string(2) "28" "object_id" => string(5) "31028" "parent_object_id" => string(5) "30865" "category_name" => string(16) "Kalendář akcí" "category_seo_title" => string(16) "Kalendář akcí" "category_seo_description" => string(171) "Kam na výlet v zimě nebo v létě? V naší rubrice prima tipy a akce najdete nápady na nejrůznější krásná místa u nás, kam můžete z …" "category_seo_keywords" => string(16) "Kalendář akcí" "category_url" => string(13) "kalendar-akci" "active" => string(1) "Y" "show_in_menu" => string(1) "Y" "catorder" => string(1) "0" "url" => string(30) "/kategorie-31028-kalendar-akci" ) ) ) ) ) }
"_homepage_hero" => NULL "_hero" => NULL "_sidebar" => object View(2){ protected _file => string(74) "/var/www/primanapady.cz.www.bootstrap/application/views/static/sidebar.php" protected _data => array(0) }
"_breadcrumbs" => NULL "_slot_view" => string(0) "" "_bottom_hero" => NULL "_footer_boxes" => NULL "_footer_html" => object View(2){ protected _file => string(78) "/var/www/primanapady.cz.www.bootstrap/application/views/static/footer_html.php" protected _data => array(1) ( "latestcontent" => string(0) "" ) }
"_footer" => object View(2){ protected _file => string(73) "/var/www/primanapady.cz.www.bootstrap/application/views/static/footer.php" protected _data => array(2) ( "_scripts" => NULL "_is_homepage" => bool FALSE ) }
"set_seznam_reklamy" => bool TRUE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(25) "clanek-<id>-<article_url>" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(6) "detail" ) protected _route_regex => string(54) "#^clanek-(?P<id>\d+)-(?P<article_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(6) "detail" protected _uri => string(52) "clanek-300727-na-pocuchane-nervy-vyzkousejte-citrusy" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "300727" "article_url" => string(38) "na-pocuchane-nervy-vyzkousejte-citrusy" ) protected _get => array(2) ( "utm_source" => string(13) "www.seznam.cz" "utm_medium" => string(17) "sekce-z-internetu" ) 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 template_dir => string(0) "" }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.0" }89 90 // Create a new instance of the controller 91 $controller = $class->newInstance($request, $response); 92 93 // Run the controller's execute() method 94 $response = $class->getMethod('execute')->invoke($controller); 95 96 if ( ! $response instanceof Response) 97 { 98 // Controller failed to return a Response. 99 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/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(25) "clanek-<id>-<article_url>" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(6) "detail" ) protected _route_regex => string(54) "#^clanek-(?P<id>\d+)-(?P<article_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(6) "detail" protected _uri => string(52) "clanek-300727-na-pocuchane-nervy-vyzkousejte-citrusy" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "300727" "article_url" => string(38) "na-pocuchane-nervy-vyzkousejte-citrusy" ) protected _get => array(2) ( "utm_source" => string(13) "www.seznam.cz" "utm_medium" => string(17) "sekce-z-internetu" ) 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/2.0" }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 callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(25) "clanek-<id>-<article_url>" protected _regex => array(1) ( "id" => string(3) "\d+" ) protected _defaults => array(2) ( "controller" => string(8) "Articles" "action" => string(6) "detail" ) protected _route_regex => string(54) "#^clanek-(?P<id>\d+)-(?P<article_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(8) "Articles" protected _action => string(6) "detail" protected _uri => string(52) "clanek-300727-na-pocuchane-nervy-vyzkousejte-citrusy" protected _external => bool FALSE protected _params => array(2) ( "id" => string(6) "300727" "article_url" => string(38) "na-pocuchane-nervy-vyzkousejte-citrusy" ) protected _get => array(2) ( "utm_source" => string(13) "www.seznam.cz" "utm_medium" => string(17) "sekce-z-internetu" ) 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) }
}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * 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, [], FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }