APPPATH/classes/controller/page.php [ 161 ]
156 if($value->id == $subBean->id)$html .= ' open';
157 $html .= '">';
158 foreach ($subArr[$value->id] as $k => $v) {
159 $link = $ln . "/productdetail/" . $value->slugen . "/" . $v->slugen;
160 $html .= '<li><a href="'.$link.'" class="animatable-fast sublink';
161 if($pro->id == $v->id) $html .= ' selectedpro';
162 $html .= '">';
163 $html .= json_decode($v->title)->$ln.'</a></li>';
164 }
165 $html .= "</ul>";
166 }
-
APPPATH/classes/controller/page.php [ 161 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(41) "Trying to get property 'id' of non-object"
2
string(55) "/home/muzer/public_html/app/classes/controller/page.php"
3
integer 161
4
array(17) ( "id" => string(3) "133" "subBean" => object RedBean_OODBBean(7)
{ private null => NULL private properties => array(17) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "ord" => string(2) "14" "parent" => string(3) "133" "photos" => string(44) "[{"name":"G89YK8XVBE","title":"","cont":""}]" "background" => string(0) "" "thumb" => string(2) "[]" "slugen" => string(10) "reclaimers" "slugtr" => string(10) "reclaimers" "content" => string(17) "{"en":"","tr":""}" "newpro" => string(1) "0" "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_G89YK8XVBE" => string(0) "" "photocontent_G89YK8XVBE" => string(0) "" "phototitle_G89YJKKK58" => NULL "photocontent_G89YJKKK58" => NULL ) private __info => array(4) ( "type" => string(9) "subtitles" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(17) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "ord" => string(2) "14" "parent" => string(3) "133" "photos" => string(44) "[{"name":"G89YK8XVBE","title":"","cont":""}]" "background" => string(0) "" "thumb" => string(2) "[]" "slugen" => string(10) "reclaimers" "slugtr" => string(10) "reclaimers" "content" => string(17) "{"en":"","tr":""}" "newpro" => string(1) "0" "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_G89YK8XVBE" => string(0) "" "photocontent_G89YK8XVBE" => string(0) "" "phototitle_G89YJKKK58" => NULL "photocontent_G89YJKKK58" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
"pro" => NULL "subArr" => array(1) ( 16 => array(2) ( 192 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(4) ( "id" => string(3) "192" "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) private __info => array(4) ( "type" => string(4) "pros" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(4) ( "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "id" => string(3) "192" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
193 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(4) ( "id" => string(3) "193" "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) private __info => array(4) ( "type" => string(4) "pros" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(4) ( "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "id" => string(3) "193" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
) ) "ln" => string(2) "en" "sql" => string(64) "SELECT title,id,slugen,subparent FROM products WHERE parent =133" "sub" => array(1) ( 0 => array(3) ( "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "id" => string(2) "16" "slugen" => string(10) "reclaimers" ) ) "subs" => array(1) ( 16 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(3) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "slugen" => string(10) "reclaimers" ) private __info => array(4) ( "type" => string(4) "subs" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(3) ( "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "id" => string(2) "16" "slugen" => string(10) "reclaimers" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
) "rows" => array(2) ( 0 => array(4) ( "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "id" => string(3) "192" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) 1 => array(4) ( "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "id" => string(3) "193" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) ) "pros" => array(2) ( 192 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(4) ( "id" => string(3) "192" "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) private __info => array(4) ( "type" => string(4) "pros" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(4) ( "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "id" => string(3) "192" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
193 => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(4) ( "id" => string(3) "193" "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) private __info => array(4) ( "type" => string(4) "pros" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(4) ( "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "id" => string(3) "193" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
) "vx" => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(4) ( "id" => string(3) "193" "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) private __info => array(4) ( "type" => string(4) "pros" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(4) ( "title" => string(81) "{"en":"Cigarette Pack Tobacco Reclaimer","tr":"Cigarette Pack Tobacco Reclaimer"}" "id" => string(3) "193" "slugen" => string(32) "cigarette-pack-tobacco-reclaimer" "subparent" => string(2) "16" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
"key" => integer 16 "html" => string(228) "<ul class="left"><li><a data-id="16" href="" class="animatable-fast mainlink selecteditem">Reclaimers</a><ul class="leftsub open …" "value" => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(3) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "slugen" => string(10) "reclaimers" ) private __info => array(4) ( "type" => string(4) "subs" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(3) ( "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "id" => string(2) "16" "slugen" => string(10) "reclaimers" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
"v" => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(4) ( "id" => string(3) "192" "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) private __info => array(4) ( "type" => string(4) "pros" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(4) ( "title" => string(67) "{"en":"After Ripper Tobacco Gain","tr":"After Ripper Tobacco Gain"}" "id" => string(3) "192" "slugen" => string(25) "after-ripper-tobacco-gain" "subparent" => string(2) "16" ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
"k" => integer 192 "link" => string(53) "en/productdetail/reclaimers/after-ripper-tobacco-gain" ){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }156 if($value->id == $subBean->id)$html .= ' open'; 157 $html .= '">'; 158 foreach ($subArr[$value->id] as $k => $v) { 159 $link = $ln . "/productdetail/" . $value->slugen . "/" . $v->slugen; 160 $html .= '<li><a href="'.$link.'" class="animatable-fast sublink'; 161 if($pro->id == $v->id) $html .= ' selectedpro'; 162 $html .= '">'; 163 $html .= json_decode($v->title)->$ln.'</a></li>'; 164 } 165 $html .= "</ul>"; 166 }
-
APPPATH/classes/controller/page.php [ 95 ] » Controller_Page->getLeft(arguments)
0
string(3) "133"
1
object RedBean_OODBBean(7)
{ private null => NULL private properties => array(17) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "ord" => string(2) "14" "parent" => string(3) "133" "photos" => string(44) "[{"name":"G89YK8XVBE","title":"","cont":""}]" "background" => string(0) "" "thumb" => string(2) "[]" "slugen" => string(10) "reclaimers" "slugtr" => string(10) "reclaimers" "content" => string(17) "{"en":"","tr":""}" "newpro" => string(1) "0" "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_G89YK8XVBE" => string(0) "" "photocontent_G89YK8XVBE" => string(0) "" "phototitle_G89YJKKK58" => NULL "photocontent_G89YJKKK58" => NULL ) private __info => array(4) ( "type" => string(9) "subtitles" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(17) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "ord" => string(2) "14" "parent" => string(3) "133" "photos" => string(44) "[{"name":"G89YK8XVBE","title":"","cont":""}]" "background" => string(0) "" "thumb" => string(2) "[]" "slugen" => string(10) "reclaimers" "slugtr" => string(10) "reclaimers" "content" => string(17) "{"en":"","tr":""}" "newpro" => string(1) "0" "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_G89YK8XVBE" => string(0) "" "photocontent_G89YK8XVBE" => string(0) "" "phototitle_G89YJKKK58" => NULL "photocontent_G89YJKKK58" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
{ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }2
NULL
90 $this->data->page = R::findOne('products', 'slugen=? and subparent=?', array($page, $this->data->parent->id) ); 91 } 92 93 94 95 $this->getLeft($this->data->grandpa->id, $this->data->parent, $this->data->page); 96 $this->view = "productDetail"; 97 $this->data->title = json_decode($this->data->page->title)->en ." - "; 98 99 } 100
-
{PHP internal call} » Controller_Page->action_productdetail()
-
SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Page(12)
{ public view => NULL public template => string(8) "template" public data => object stdClass(7)
{ public lang => string(2) "en" public select_lang => object stdClass(2)
public id => NULL public parent => NULL public grandpa => NULL public request => object Request(21){ public English => string(2) "en" public Türkçe => string(2) "tr" }
public list => string(3203) "<ul class="nav navbar-nav" ><li class="dropdown"><a id="t6 class="dropdown-toggle" data-toggle="dropdown" role="button" aria-has …" public title => string(0) "" public parent => object RedBean_OODBBean(7){ private null => NULL private properties => array(17) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "ord" => string(2) "14" "parent" => string(3) "133" "photos" => string(44) "[{"name":"G89YK8XVBE","title":"","cont":""}]" "background" => string(0) "" "thumb" => string(2) "[]" "slugen" => string(10) "reclaimers" "slugtr" => string(10) "reclaimers" "content" => string(17) "{"en":"","tr":""}" "newpro" => string(1) "0" "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_G89YK8XVBE" => string(0) "" "photocontent_G89YK8XVBE" => string(0) "" "phototitle_G89YJKKK58" => NULL "photocontent_G89YJKKK58" => NULL ) private __info => array(4) ( "type" => string(9) "subtitles" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(17) ( "id" => string(2) "16" "title" => string(37) "{"en":"Reclaimers","tr":"Reclaimers"}" "ord" => string(2) "14" "parent" => string(3) "133" "photos" => string(44) "[{"name":"G89YK8XVBE","title":"","cont":""}]" "background" => string(0) "" "thumb" => string(2) "[]" "slugen" => string(10) "reclaimers" "slugtr" => string(10) "reclaimers" "content" => string(17) "{"en":"","tr":""}" "newpro" => string(1) "0" "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_G89YK8XVBE" => string(0) "" "photocontent_G89YK8XVBE" => string(0) "" "phototitle_G89YJKKK58" => NULL "photocontent_G89YJKKK58" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
public grandpa => object RedBean_OODBBean(7){ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ private null => NULL private properties => array(36) ( "id" => string(3) "133" "title" => string(39) "{"en":"Custom Made","tr":"Custom Made"}" "ord" => string(1) "5" "slugtr" => string(11) "custom-made" "slugen" => string(11) "custom-made" "parent" => string(1) "8" "slugru" => NULL "photos" => string(44) "[{"name":"G9UP27LML6","title":"","cont":""}]" "background" => string(0) "" "viewtype" => string(1) "2" "link" => string(131) "{"en":"We provide tailor-made products to meet the changing needs of the constantly evolving tobacco processing industry.","tr": …" "newpro" => string(1) "0" "thumb" => string(2) "[]" "content" => string(17) "{"en":"","tr":""}" "link_en" => NULL "link_tr" => NULL "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_F08M3FI6SJ" => NULL "photocontent_F08M3FI6SJ" => NULL "phototitle_EXFXPR8IEY" => NULL "photocontent_EXFXPR8IEY" => NULL "phototitle_FR45TXF0IF" => NULL "photocontent_FR45TXF0IF" => NULL "phototitle_G9UOV7W0FS" => NULL "photocontent_G9UOV7W0FS" => NULL "phototitle_G9UP0X17FL" => NULL "photocontent_G9UP0X17FL" => NULL "phototitle_GBCR9RAHQ4" => NULL "photocontent_GBCR9RAHQ4" => NULL "phototitle_G9UOQFMJUV" => NULL "photocontent_G9UOQFMJUV" => NULL "phototitle_G9UP27LML6" => string(0) "" "photocontent_G9UP27LML6" => string(0) "" "phototitle_G9UP3C5WA1" => NULL "photocontent_G9UP3C5WA1" => NULL ) private __info => array(4) ( "type" => string(8) "kategori" "sys.id" => string(2) "id" "tainted" => bool FALSE "sys.orig" => array(36) ( "id" => string(3) "133" "title" => string(39) "{"en":"Custom Made","tr":"Custom Made"}" "ord" => string(1) "5" "slugtr" => string(11) "custom-made" "slugen" => string(11) "custom-made" "parent" => string(1) "8" "slugru" => NULL "photos" => string(44) "[{"name":"G9UP27LML6","title":"","cont":""}]" "background" => string(0) "" "viewtype" => string(1) "2" "link" => string(131) "{"en":"We provide tailor-made products to meet the changing needs of the constantly evolving tobacco processing industry.","tr": …" "newpro" => string(1) "0" "thumb" => string(2) "[]" "content" => string(17) "{"en":"","tr":""}" "link_en" => NULL "link_tr" => NULL "phototitle_1" => string(0) "" "photocontent_1" => string(0) "" "phototitle_F08M3FI6SJ" => NULL "photocontent_F08M3FI6SJ" => NULL "phototitle_EXFXPR8IEY" => NULL "photocontent_EXFXPR8IEY" => NULL "phototitle_FR45TXF0IF" => NULL "photocontent_FR45TXF0IF" => NULL "phototitle_G9UOV7W0FS" => NULL "photocontent_G9UOV7W0FS" => NULL "phototitle_G9UP0X17FL" => NULL "photocontent_G9UP0X17FL" => NULL "phototitle_GBCR9RAHQ4" => NULL "photocontent_GBCR9RAHQ4" => NULL "phototitle_G9UOQFMJUV" => NULL "photocontent_G9UOQFMJUV" => NULL "phototitle_G9UP27LML6" => string(0) "" "photocontent_G9UP27LML6" => string(0) "" "phototitle_G9UP3C5WA1" => NULL "photocontent_G9UP3C5WA1" => NULL ) ) private beanHelper => object RedBean_BeanHelper_Facade(0)
public page => NULL }{ }
private fetchType => NULL private withSql => string(0) "" private aliasName => NULL }{ 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 _callback => NULL protected _uri => string(36) "(<lang>/)(<action>(/<slug>)(/<pro>))" protected _regex => array(1) ( "lang" => string(8) "[a-z]{2}" ) protected _defaults => array(3) ( "lang" => string(2) "en" "controller" => string(4) "page" "action" => string(8) "anasayfa" ) protected _route_regex => string(114) "#^(?:(?P<lang>[a-z]{2})/)?(?:(?P<action>[^/.,;?\n]++)(?:/(?P<slug>[^/.,;?\n]++))?(?:/(?P<pro>[^/.,;?\n]++))?)?$#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/2.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(13) "productdetail" protected _uri => string(69) "en/productdetail/reclaimers/tobacco-gain-from-maker-de-dusting-system" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "slug" => string(10) "reclaimers" "pro" => string(41) "tobacco-gain-from-maker-de-dusting-system" ) 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)
public is_ajax => bool FALSE public slug => string(10) "reclaimers" public pro => string(41) "tobacco-gain-from-maker-de-dusting-system" public lang => string(2) "en" }{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/2.0" }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/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(36) "(<lang>/)(<action>(/<slug>)(/<pro>))" protected _regex => array(1) ( "lang" => string(8) "[a-z]{2}" ) protected _defaults => array(3) ( "lang" => string(2) "en" "controller" => string(4) "page" "action" => string(8) "anasayfa" ) protected _route_regex => string(114) "#^(?:(?P<lang>[a-z]{2})/)?(?:(?P<action>[^/.,;?\n]++)(?:/(?P<slug>[^/.,;?\n]++))?(?:/(?P<pro>[^/.,;?\n]++))?)?$#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/2.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(13) "productdetail" protected _uri => string(69) "en/productdetail/reclaimers/tobacco-gain-from-maker-de-dusting-system" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "slug" => string(10) "reclaimers" "pro" => string(41) "tobacco-gain-from-maker-de-dusting-system" ) 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/2.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)
{ protected _callback => NULL protected _uri => string(36) "(<lang>/)(<action>(/<slug>)(/<pro>))" protected _regex => array(1) ( "lang" => string(8) "[a-z]{2}" ) protected _defaults => array(3) ( "lang" => string(2) "en" "controller" => string(4) "page" "action" => string(8) "anasayfa" ) protected _route_regex => string(114) "#^(?:(?P<lang>[a-z]{2})/)?(?:(?P<action>[^/.,;?\n]++)(?:/(?P<slug>[^/.,;?\n]++))?(?:/(?P<pro>[^/.,;?\n]++))?)?$#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/2.0" }{ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "page" protected _action => string(13) "productdetail" protected _uri => string(69) "en/productdetail/reclaimers/tobacco-gain-from-maker-de-dusting-system" protected _external => bool FALSE protected _params => array(3) ( "lang" => string(2) "en" "slug" => string(10) "reclaimers" "pro" => string(41) "tobacco-gain-from-maker-de-dusting-system" ) 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 /** 107 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 108 * If no source is specified, the URI will be automatically detected. 109 */ 110 echo Request::factory() 111 ->execute() 112 ->send_headers(TRUE) 113 ->body();