SYSPATH/classes/Kohana/Route.php [ 580 ]
575 }
576 }, $portion);
577
578 if ($required AND $missing)
579 {
580 throw new Kohana_Exception(
581 'Required route parameter not passed: :param',
582 array(':param' => reset($missing))
583 );
584 }
585
-
SYSPATH/classes/Kohana/Route.php [ 562 ] » Kohana_Route->{closure}(arguments)
0
string(15) "/<alias>(/<id>)"
1
bool FALSE
557 $missing[] = $param; 558 } 559 else 560 { 561 // Group, unwrapped 562 $result = $compile($matches[2], FALSE); 563 564 if ($result[1]) 565 { 566 // This portion is required when it contains a group 567 // that is required
-
{PHP internal call} » Kohana_Route->{closure}(arguments)
0
array(3) ( 0 => string(17) "(/<alias>(/<id>))" 1 => string(0) "" 2 => string(15) "/<alias>(/<id>)" )
-
SYSPATH/classes/Kohana/Route.php [ 576 ] » preg_replace_callback(arguments)
regex
string(51) "#(?:<([a-zA-Z0-9_]++)>|\(((?:(?>[^()]+)|(?R))*)\))#"
callback
object Closure(1)
{ public 0 => object Closure(1) { *RECURSION* } }
subject
string(18) "a(/<alias>(/<id>))"
571 return $result[0]; 572 } 573 574 // Do not add optional groups to this result 575 } 576 }, $portion); 577 578 if ($required AND $missing) 579 { 580 throw new Kohana_Exception( 581 'Required route parameter not passed: :param',
-
SYSPATH/classes/Kohana/Route.php [ 589 ] » Kohana_Route->{closure}(arguments)
0
string(18) "a(/<alias>(/<id>))"
1
bool TRUE
584 } 585 586 return array($result, $required); 587 }; 588 589 list($uri) = $compile($this->_uri, TRUE); 590 591 // Trim all extra slashes from the URI 592 $uri = preg_replace('#//+#', '/', rtrim($uri, '/')); 593 594 if ($this->is_external())
-
MODPATH/pagination/classes/Kohana/Pagination.php [ 228 ] » Kohana_Route->uri(arguments)
0
array(4) ( "id" => NULL "directory" => string(0) "" "controller" => string(4) "blog" "action" => string(5) "index" )
223 224 switch ($this->config['current_page']['source']) 225 { 226 case 'query_string': 227 228 return URL::site($this->_route->uri($this->_route_params). 229 $this->query(array($this->config['current_page']['key'] => $page))); 230 231 case 'route': 232 233 return URL::site($this->_route->uri(array_merge($this->_route_params,
-
APPPATH/views/pagination/public.php [ 74 ] » Kohana_Pagination->url(arguments)
0
integer 2
69 <?php foreach ($links as $number => $content): ?> 70 71 <?php if ($number === $current_page): ?> 72 <li class="active"><a class="success" href="#"><?php echo $content ?></a></li> 73 <?php else: ?> 74 <li><a href="<?php echo HTML::chars($page->url($number)) ?>"><?php echo $content ?></a></li> 75 <?php endif ?> 76 77 <?php endforeach ?> 78 79 <?php if ($next_page !== FALSE): ?>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(66) "/home/angelapl/public_html/application/views/pagination/public.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(66) "/home/angelapl/public_html/application/views/pagination/public.php"
1
array(16) ( "config" => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(6) "pagina" ) "total_items" => integer 55 "view" => string(17) "pagination/public" "current_first_item" => integer 0 "items_per_page" => integer 12 "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) "current_page" => integer 1 "total_items" => integer 55 "items_per_page" => integer 12 "total_pages" => integer 5 "current_first_item" => integer 1 "current_last_item" => integer 12 "previous_page" => bool FALSE "next_page" => integer 2 "first_page" => bool FALSE "last_page" => integer 5 "offset" => integer 0 "_request" => object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
"_route" => object Route(5){ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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 _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
"_route_params" => array(4) ( "id" => NULL "directory" => string(0) "" "controller" => string(4) "blog" "action" => string(5) "index" ) "page" => object Pagination(15){ protected config => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(6) "pagina" ) "total_items" => integer 55 "view" => string(17) "pagination/public" "current_first_item" => integer 0 "items_per_page" => integer 12 "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 55 protected items_per_page => integer 12 protected total_pages => integer 5 protected current_first_item => integer 1 protected current_last_item => integer 12 protected previous_page => bool FALSE protected next_page => integer 2 protected first_page => bool FALSE protected last_page => integer 5 protected offset => integer 0 protected _request => object Request(19)
){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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 _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _route_params => array(4) ( "id" => NULL "directory" => string(0) "" "controller" => string(4) "blog" "action" => string(5) "index" ) }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 output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
MODPATH/pagination/classes/Kohana/Pagination.php [ 281 ] » Kohana_View->render()
276 // Load the view file 277 $view = View::factory($view); 278 } 279 280 // Pass on the whole Pagination object 281 return $view->set(get_object_vars($this))->set('page', $this)->render(); 282 } 283 284 285 /** 286 * Request setter / getter
-
APPPATH/views/public/blog/index.php [ 43 ] » Kohana_Pagination->render()
38 <?php endif;?> 39 <?php $i++;?> 40 <?php endforeach;?> 41 </div> 42 <?php endif;?> 43 <?= $pagination->render(); ?> 44 </div> 45 <div class="col-md-4"> 46 <div class="box-white"> 47 <h4>Categorii blog</h4> 48 <ul class="category_menu">
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(66) "/home/angelapl/public_html/application/views/public/blog/index.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(66) "/home/angelapl/public_html/application/views/public/blog/index.php"
1
array(2) ( "articles" => object Database_MySQLi_Result(7)
{ protected _internal_row => integer 12 protected _query => string(622) "SELECT `article`.`id` AS `id`, `article`.`type` AS `type`, `article`.`title` AS `title`, `article`.`alias` AS `alias`, `article` …" protected _result => object mysqli_result(5)
"pagination" => object Pagination(15){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 12 protected _current_row => integer 12 protected _as_object => string(13) "Model_Article" protected _object_params => NULL }{ protected config => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(6) "pagina" ) "total_items" => integer 55 "view" => string(17) "pagination/public" "current_first_item" => integer 0 "items_per_page" => integer 12 "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 55 protected items_per_page => integer 12 protected total_pages => integer 5 protected current_first_item => integer 1 protected current_last_item => integer 12 protected previous_page => bool FALSE protected next_page => integer 2 protected first_page => bool FALSE protected last_page => integer 5 protected offset => integer 0 protected _request => object Request(19)
){ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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 _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _route_params => array(4) ( "id" => NULL "directory" => string(0) "" "controller" => string(4) "blog" "action" => string(5) "index" ) }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 output 359 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 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message.
-
APPPATH/views/public/template.php [ 166 ] » Kohana_View->__toString()
161 <?php endforeach; ?> 162 </div> 163 </div> 164 </div> 165 <?php endif;?> 166 <?= $main ?> 167 <script> 168 new WOW({offset: 150}).init(); 169 </script> 170 <?=View::factory('public/footer')?> 171 <script>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(64) "/home/angelapl/public_html/application/views/public/template.php"
57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean();
-
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0
string(64) "/home/angelapl/public_html/application/views/public/template.php"
1
array(4) ( "main" => object View(2)
{ protected _file => string(66) "/home/angelapl/public_html/application/views/public/blog/index.php" protected _data => array(2) ( "articles" => object Database_MySQLi_Result(7)
"is_home" => bool TRUE "title" => string(16) "Angela Placintar" "or_title" => string(15) "Angela Plcintar" ){ protected _internal_row => integer 12 protected _query => string(622) "SELECT `article`.`id` AS `id`, `article`.`type` AS `type`, `article`.`title` AS `title`, `article`.`alias` AS `alias`, `article` …" protected _result => object mysqli_result(5)
"pagination" => object Pagination(15){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 12 protected _current_row => integer 12 protected _as_object => string(13) "Model_Article" protected _object_params => NULL }{ protected config => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(6) "pagina" ) "total_items" => integer 55 "view" => string(17) "pagination/public" "current_first_item" => integer 0 "items_per_page" => integer 12 "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 55 protected items_per_page => integer 12 protected total_pages => integer 5 protected current_first_item => integer 1 protected current_last_item => integer 12 protected previous_page => bool FALSE protected next_page => integer 2 protected first_page => bool FALSE protected last_page => integer 5 protected offset => integer 0 protected _request => object Request(19)
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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 _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _route_params => array(4) ( "id" => NULL "directory" => string(0) "" "controller" => string(4) "blog" "action" => string(5) "index" ) }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 output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 }
-
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49
-
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 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_Blog(4)
{ public template => object View(2)
{ protected _file => string(64) "/home/angelapl/public_html/application/views/public/template.php" protected _data => array(4) ( "main" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(66) "/home/angelapl/public_html/application/views/public/blog/index.php" protected _data => array(2) ( "articles" => object Database_MySQLi_Result(7)
"is_home" => bool TRUE "title" => string(16) "Angela Placintar" "or_title" => string(15) "Angela Plcintar" ) }{ protected _internal_row => integer 12 protected _query => string(622) "SELECT `article`.`id` AS `id`, `article`.`type` AS `type`, `article`.`title` AS `title`, `article`.`alias` AS `alias`, `article` …" protected _result => object mysqli_result(5)
"pagination" => object Pagination(15){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 12 protected _current_row => integer 12 protected _as_object => string(13) "Model_Article" protected _object_params => NULL }{ protected config => array(7) ( "current_page" => array(2) ( "source" => string(12) "query_string" "key" => string(6) "pagina" ) "total_items" => integer 55 "view" => string(17) "pagination/public" "current_first_item" => integer 0 "items_per_page" => integer 12 "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 1 protected total_items => integer 55 protected items_per_page => integer 12 protected total_pages => integer 5 protected current_first_item => integer 1 protected current_last_item => integer 12 protected previous_page => bool FALSE protected next_page => integer 2 protected first_page => bool FALSE protected last_page => integer 5 protected offset => integer 0 protected _request => object Request(19)
) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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 _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _route_params => array(4) ( "id" => NULL "directory" => string(0) "" "controller" => string(4) "blog" "action" => string(5) "index" ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.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 TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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(array('_protocol' => $request->protocol())); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » 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 TRUE protected _referrer => string(31) "http://www.angelaplacintar.ro/a" protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(18) "a(/<alias>(/<id>))" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(4) "blog" "action" => string(5) "index" "id" => NULL ) protected _route_regex => string(62) "#^a(?:/(?P<alias>[^/.,;?\n]++)(?:/(?P<id>[^/.,;?\n]++))?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(4) "Blog" protected _action => string(5) "index" protected _uri => string(1) "a" protected _external => bool FALSE protected _params => array(1) ( "id" => NULL ) protected _get => array(0) 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) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }