MODPATH/categories/classes/model/categories.php [ 512 ]
507 $tmp = array();
508
509 foreach ($data as $k => $c) {
510 if (!empty($c['parent'])) {
511 if (empty($tmp[$c['parent']]['sub'])) {
512 $tmp[$c['parent']+'']['sub'] = array();
513 }
514
515 $tmp[$c['parent']]['sub'][$c['cid']]['info'] = $c;
516 if (!empty($tmp[$c['cid']])) {
517 $tmp[$c['parent']+'']['sub'][$c['cid']]['sub'] = $tmp[$c['cid']]['sub'];
-
MODPATH/categories/classes/model/categories.php [ 512 ] » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(31) "A non-numeric value encountered"
2
string(81) "/home/kondratmed/ftp/kondratmedia/modules/categories/classes/model/categories.php"
3
integer 512
4
array(6) ( "withPhoto" => bool TRUE "lang" => integer 1 "data" => array(11) ( 48 => array(40) ( "cid" => string(2) "48" "parent" => string(2) "37" "level" => string(1) "2" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(1) "0" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(4) "1,37" "controller" => NULL "lang_id" => string(1) "1" "name" => string(14) "Zobacz więcej" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(26) "/aktualnosci/zobacz-wiecej" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 37 => array(40) ( "cid" => string(2) "37" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(2) "50" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => string(4) "news" "lang_id" => string(1) "1" "name" => string(12) "Aktualności" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(12) "/aktualnosci" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 38 => array(40) ( "cid" => string(2) "38" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(2) "40" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => string(5) "prod1" "lang_id" => string(1) "1" "name" => string(16) "Nowości filmowe" "subname" => NULL "h1name" => string(16) "Nowości Filmowe" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(16) "/nowosci-filmowe" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 3 => array(40) ( "cid" => string(1) "3" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(1) "9" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => NULL "lang_id" => string(1) "1" "name" => string(5) "Filmy" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(6) "/filmy" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 7 => array(40) ( "cid" => string(1) "7" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => string(19) "2017-05-17 12:43:15" "add_by" => string(2) "15" "number" => string(1) "4" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => string(4) "onas" "lang_id" => string(1) "1" "name" => string(5) "O nas" "subname" => NULL "h1name" => string(0) "" "descr" => string(4182) "<p style="text-align: center;">Ta nazwa pojawiła się na polskim rynku produkcji i dystrybucji filmowej po raz pierwszy w 2013r. …" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(6) "/o-nas" "meta_canonical" => string(0) "" "photo_id" => string(3) "401" "photo_link" => string(0) "" "ext" => string(3) "jpg" "photo_author" => string(0) "" "photo_name" => NULL "orginal_name" => string(52) "11986444_10203579127357035_6230339077660413302_n.jpg" "catalog" => string(5) "users" "is_protected" => string(1) "0" "code" => string(32) "66e457009bc9797b3dba3bbf312364f3" "size" => string(7) "960x960" "size_name" => string(15) "Obsada/Zespół" "photo_rewrite" => string(0) "" "size_color" => string(6) "cc7212" ) 42 => array(40) ( "cid" => string(2) "42" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => string(19) "2017-11-03 15:30:41" "add_by" => string(2) "15" "number" => string(1) "3" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => string(7) "kontakt" "lang_id" => string(1) "1" "name" => string(7) "Kontakt" "subname" => NULL "h1name" => string(0) "" "descr" => string(2424) "<p> </p> <div class="grid4"> <div class="team"> <div class="txt"> </div> </div> </div> <div class="grid4"> <div class= …" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(8) "/kontakt" "meta_canonical" => string(0) "" "photo_id" => string(3) "477" "photo_link" => string(0) "" "ext" => string(3) "jpg" "photo_author" => string(0) "" "photo_name" => NULL "orginal_name" => string(10) "adrian.jpg" "catalog" => string(5) "users" "is_protected" => string(1) "0" "code" => string(32) "bf506c43c4bd77af0264369c97d6fd11" "size" => string(7) "960x960" "size_name" => string(15) "Obsada/Zespół" "photo_rewrite" => string(0) "" "size_color" => string(6) "cc7212" ) 44 => array(40) ( "cid" => string(2) "44" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "link" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(1) "1" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => NULL "lang_id" => string(1) "1" "name" => string(8) "Fundacja" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => string(19) "http://kolbe.org.pl" "link_rewrite" => string(9) "/fundacja" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 61 => array(40) ( "cid" => string(2) "61" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "link" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "18" "number" => string(1) "0" "gal_id" => NULL "expand" => string(1) "1" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => NULL "lang_id" => string(1) "1" "name" => string(25) "Miłość i Miłosierdzie" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => string(32) "http://www.loveandmercymovie.com" "link_rewrite" => string(22) "/milosc-i-milosierdzie" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 46 => array(40) ( "cid" => string(2) "46" "parent" => string(2) "27" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(1) "0" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(2) "27" "controller" => NULL "lang_id" => string(1) "1" "name" => string(21) "Polityka prywatności" "subname" => NULL "h1name" => string(21) "Polityka prywatności" "descr" => string(1671) "<p style="text-align: justify;">Nasze pliki cookies są wykorzystywane dla tworzenia statystyk odwiedzin dla raportów demo …" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(21) "/polityka-prywatnosci" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 45 => array(40) ( "cid" => string(2) "45" "parent" => string(2) "27" "level" => string(1) "1" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(1) "0" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(2) "27" "controller" => NULL "lang_id" => string(1) "1" "name" => string(17) "Regulamin serwisu" "subname" => NULL "h1name" => string(17) "Regulamin serwisu" "descr" => string(671) "<p><strong> </strong></p> <p>Zgadzam się na przetwarzanie moich danych osobowych przez spółkę</p> <p>Kondrat – …" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(18) "/regulamin-serwisu" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) 60 => array(40) ( "cid" => string(2) "60" "parent" => string(1) "1" "level" => string(1) "1" "type" => string(4) "link" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "18" "number" => string(1) "0" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(1) "1" "controller" => NULL "lang_id" => string(1) "1" "name" => string(5) "Sklep" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => string(50) "https://dystrybucjakatolicka.pl/1545-kondrat-media" "link_rewrite" => string(6) "/sklep" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) ) "tmp" => array(0) "c" => array(40) ( "cid" => string(2) "48" "parent" => string(2) "37" "level" => string(1) "2" "type" => string(4) "text" "visible" => string(1) "1" "add_date" => NULL "add_by" => string(2) "15" "number" => string(1) "0" "gal_id" => NULL "expand" => string(1) "0" "indexed" => string(1) "0" "video" => NULL "langs" => string(0) "" "path" => string(4) "1,37" "controller" => NULL "lang_id" => string(1) "1" "name" => string(14) "Zobacz więcej" "subname" => NULL "h1name" => string(0) "" "descr" => string(0) "" "descr_short" => string(0) "" "meta_title" => string(0) "" "meta_descr" => string(0) "" "meta_keywords" => string(0) "" "link" => NULL "link_rewrite" => string(26) "/aktualnosci/zobacz-wiecej" "meta_canonical" => string(0) "" "photo_id" => NULL "photo_link" => NULL "ext" => NULL "photo_author" => NULL "photo_name" => NULL "orginal_name" => NULL "catalog" => NULL "is_protected" => NULL "code" => NULL "size" => NULL "size_name" => NULL "photo_rewrite" => NULL "size_color" => NULL ) "k" => integer 48 )
507 $tmp = array(); 508 509 foreach ($data as $k => $c) { 510 if (!empty($c['parent'])) { 511 if (empty($tmp[$c['parent']]['sub'])) { 512 $tmp[$c['parent']+'']['sub'] = array(); 513 } 514 515 $tmp[$c['parent']]['sub'][$c['cid']]['info'] = $c; 516 if (!empty($tmp[$c['cid']])) { 517 $tmp[$c['parent']+'']['sub'][$c['cid']]['sub'] = $tmp[$c['cid']]['sub'];
-
APPPATH/classes/boxes/header.php [ 20 ] » Model_Categories::getTree(arguments)
0
bool TRUE
15 $category = $lib->getData(); 16 $ids = Model_Categories::getIdPath($cid); 17 $path = Model_Categories::getPath($cid); 18 } 19 20 $tree = Model_Categories::getTree(true); 21 $topmenu = $tree[1]['sub']; 22 23 $user = Session::instance()->get('logged_user'); 24 25 $langs = Model_Langs::getUserLang();
-
MODPATH/webpage/classes/boxes.php [ 110 ] » Boxes_Header->get()
105 if (!empty($data)) { 106 return $data; 107 } 108 } 109 110 $data = $this->get(); 111 112 if ($this->getFullCacheKey() != null && (!class_exists('Fotolia') || Fotolia::$isLoad)) { 113 Cache::instance($this->cacheName)->set( $this->getFullCacheKey(), $data); 114 } 115
-
MODPATH/webpage/classes/controller/webpage.php [ 91 ] » Boxes->getData()
86 if (!is_array($v)) { 87 88 $lib = Boxes::factory($v); 89 if (!empty($lib)) { 90 $lib->setController($this); 91 $this->addData($lib->getData()); 92 } 93 if (empty($lib) || $lib->isEnable()) { 94 $view = View::factory($v, $this->data ); 95 } 96 } else {
-
MODPATH/webpage/classes/controller/webpage.php [ 129 ] » Controller_Webpage->parse()
124 125 echo $this->view; 126 } 127 128 public function action_index() { 129 $this->parse(); 130 } 131 132 public function setMeta($meta) { 133 $this->view->meta = $meta; 134 }
-
{PHP internal call} » Controller_Webpage->action_index()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Product(7)
{ public template => string(8) "view1col" public boxes => array(4) ( "header" => array(1) ( 0 => string(12) "boxes/header" ) "center" => array(1) ( 0 => string(13) "boxes/product" ) "footer" => array(1) ( 0 => string(12) "boxes/footer" ) "end" => array(0) ) protected isCaching => bool FALSE protected data => array(0) private view => object View(2)
{ protected _file => string(64) "/home/kondratmed/ftp/kondratmedia/application/views/view1col.php" protected _data => array(2) ( "token" => string(110) "var TOKEN = {"time":1711658918,"token":"cf59e6273bbc49c01cea25ac737864d9","sid":"4epb32ejp9ac5tvq2hrn1cm1ra"};" "meta" => array(4) ( "title" => string(0) "" "description" => string(0) "" "keywords" => string(0) "" "canonical" => string(0) "" ) ) }
public request => object Request(21){ 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 _callback => NULL protected _uri => string(24) "<path>/prod-<product_id>" protected _regex => array(2) ( "product_id" => string(6) "[0-9]*" "path" => string(15) "[a-zA-Z0-9-_/]+" ) protected _defaults => array(4) ( "directory" => string(0) "" "controller" => string(7) "product" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(59) "#^(?P<path>[a-zA-Z0-9-_/]+)/prod-(?P<product_id>[0-9]*)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "product" protected _action => string(5) "index" protected _uri => string(27) "jak-pokonac-szatana/prod-17" protected _external => bool FALSE protected _params => array(3) ( "path" => string(19) "jak-pokonac-szatana" "product_id" => string(2) "17" "page" => integer 1 ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => 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.1" }113 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.', 114 array(':uri' => $request->uri())); 115 } 116 117 $method = $class->getMethod('action_'.$action); 118 $method->invoke($controller); 119 120 // Execute the "after action" method 121 $class->getMethod('after')->invoke($controller); 122 } 123 catch (Exception $e)
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ 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 _callback => NULL protected _uri => string(24) "<path>/prod-<product_id>" protected _regex => array(2) ( "product_id" => string(6) "[0-9]*" "path" => string(15) "[a-zA-Z0-9-_/]+" ) protected _defaults => array(4) ( "directory" => string(0) "" "controller" => string(7) "product" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(59) "#^(?P<path>[a-zA-Z0-9-_/]+)/prod-(?P<product_id>[0-9]*)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "product" protected _action => string(5) "index" protected _uri => string(27) "jak-pokonac-szatana/prod-17" protected _external => bool FALSE protected _params => array(3) ( "path" => string(19) "jak-pokonac-szatana" "product_id" => string(2) "17" "page" => integer 1 ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ 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 _callback => NULL protected _uri => string(24) "<path>/prod-<product_id>" protected _regex => array(2) ( "product_id" => string(6) "[0-9]*" "path" => string(15) "[a-zA-Z0-9-_/]+" ) protected _defaults => array(4) ( "directory" => string(0) "" "controller" => string(7) "product" "action" => string(5) "index" "page" => integer 1 ) protected _route_regex => string(59) "#^(?P<path>[a-zA-Z0-9-_/]+)/prod-(?P<product_id>[0-9]*)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "product" protected _action => string(5) "index" protected _uri => string(27) "jak-pokonac-szatana/prod-17" protected _external => bool FALSE protected _params => array(3) ( "path" => string(19) "jak-pokonac-szatana" "product_id" => string(2) "17" "page" => integer 1 ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
MODPATH/webpage/classes/controller/filter.php [ 33 ] » Kohana_Request->execute()
28 Error::get404($this->response); 29 } 30 31 Lang::setLang(); 32 33 $html = Request::factory($pageStr.$link[$name])->execute(); 34 $this->request->response = $html; 35 echo $html; 36 } 37 public function action_index() { 38
-
{PHP internal call} » Controller_Filter->before()
-
SYSPATH/classes/kohana/request/client/internal.php [ 103 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Filter(2)
{ public request => object Request(21)
{ 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 _callback => NULL protected _uri => string(24) "(p\/<page>\/)<page_name>" protected _regex => array(2) ( "page_name" => string(16) "[0-9a-zA-Z\-\/]+" "page" => string(6) "[0-9]*" ) protected _defaults => array(2) ( "action" => string(5) "index" "controller" => string(6) "filter" ) protected _route_regex => string(63) "#^(?:p\/(?P<page>[0-9]*)\/)?(?P<page_name>[0-9a-zA-Z\-\/]+)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "filter" protected _action => string(5) "index" protected _uri => string(19) "jak-pokonac-szatana" protected _external => bool FALSE protected _params => array(2) ( "page" => string(0) "" "page_name" => string(19) "jak-pokonac-szatana" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => 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" }98 } 99 100 // Create a new instance of the controller 101 $controller = $class->newInstance($request, $request->response() ? $request->response() : $request->create_response()); 102 103 $class->getMethod('before')->invoke($controller); 104 105 // Determine the action to use 106 $action = $request->action(); 107 108 $params = $request->param();
-
SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(21)
{ 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 _callback => NULL protected _uri => string(24) "(p\/<page>\/)<page_name>" protected _regex => array(2) ( "page_name" => string(16) "[0-9a-zA-Z\-\/]+" "page" => string(6) "[0-9]*" ) protected _defaults => array(2) ( "action" => string(5) "index" "controller" => string(6) "filter" ) protected _route_regex => string(63) "#^(?:p\/(?P<page>[0-9]*)\/)?(?P<page_name>[0-9a-zA-Z\-\/]+)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "filter" protected _action => string(5) "index" protected _uri => string(19) "jak-pokonac-szatana" protected _external => bool FALSE protected _params => array(2) ( "page" => string(0) "" "page_name" => string(19) "jak-pokonac-szatana" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }59 public function execute(Request $request) 60 { 61 if ($this->_cache instanceof HTTP_Cache) 62 return $this->_cache->execute($this, $request); 63 64 return $this->execute_request($request); 65 } 66 67 /** 68 * Processes the request passed to it and returns the response from 69 * the URI resource identified.
-
SYSPATH/classes/kohana/request.php [ 1138 ] » Kohana_Request_Client->execute(arguments)
0
object Request(21)
{ 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 _callback => NULL protected _uri => string(24) "(p\/<page>\/)<page_name>" protected _regex => array(2) ( "page_name" => string(16) "[0-9a-zA-Z\-\/]+" "page" => string(6) "[0-9]*" ) protected _defaults => array(2) ( "action" => string(5) "index" "controller" => string(6) "filter" ) protected _route_regex => string(63) "#^(?:p\/(?P<page>[0-9]*)\/)?(?P<page_name>[0-9a-zA-Z\-\/]+)$#uD" }
protected _routes => NULL protected _response => object Response(5){ protected _status => integer 200 protected _header => object HTTP_Header(0)
protected _header => object HTTP_Header(0){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "filter" protected _action => string(5) "index" protected _uri => string(19) "jak-pokonac-szatana" protected _external => bool FALSE protected _params => array(2) ( "page" => string(0) "" "page_name" => string(19) "jak-pokonac-szatana" ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(2){ protected _previous_environment => NULL protected _cache => NULL }
public _injected_routes => array(0) }1133 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 1134 ':uri' => $this->_uri, 1135 )); 1136 } 1137 1138 return $this->_client->execute($this); 1139 } 1140 1141 /** 1142 * Returns whether this request is the initial request Kohana received. 1143 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 111 ] » Kohana_Request->execute()
106 * If no source is specified, the URI will be automatically detected. 107 */ 108 109 $req = Request::factory(); 110 111 echo $req->execute()->send_headers()->body(); 112 113 //Debuger::saveLog($req); 114 115 116