APPPATH/classes/Satara.php [ 207 ]
202 static function formata_data($data, $lang_sufix, $tipo)
203 {
204 switch ($tipo)
205 {
206 case 'd-M-Y':
207 return date('d', $data) . '.' . substr(Satara::mes(date('m', $data), $lang_sufix),0,3) . '.' . date('Y', $data);
208 break;
209 case 'd-M':
210 return date('d', $data) . ' ' . substr(Satara::mes(date('m', $data), $lang_sufix),0,3);
211 break;
212 }
-
{PHP internal call} » Kohana_Core::error_handler(arguments)
0
integer 2
1
string(50) "date() expects parameter 2 to be int, string given"
2
string(58) "/home/yenf4mpd8hao/includes/application/classes/Satara.php"
3
integer 207
4
array(3) ( "data" => string(0) "" "lang_sufix" => string(0) "" "tipo" => string(5) "d-M-Y" )
-
APPPATH/classes/Satara.php [ 207 ] » date(arguments)
format
string(1) "d"
timestamp
string(0) ""
202 static function formata_data($data, $lang_sufix, $tipo) 203 { 204 switch ($tipo) 205 { 206 case 'd-M-Y': 207 return date('d', $data) . '.' . substr(Satara::mes(date('m', $data), $lang_sufix),0,3) . '.' . date('Y', $data); 208 break; 209 case 'd-M': 210 return date('d', $data) . ' ' . substr(Satara::mes(date('m', $data), $lang_sufix),0,3); 211 break; 212 }
-
APPPATH/views/conteudo/emfoco.php [ 38 ] » Satara::formata_data(arguments)
0
string(0) ""
1
string(0) ""
2
string(5) "d-M-Y"
33 <div class="col"> 34 <div class="card card-noticia"> 35 <div data-backstretch-url="<?php echo URL::site('media/noticias/' . $noticia->foto); ?>" class="imagem"></div> 36 <div class="card-body"> 37 <h4 class="laranja"> 38 <?php echo $noticia->assunto->{'titulo' . $lang_sufix}; ?> <span><?php echo Satara::formata_data($noticia->data, $lang_sufix, 'd-M-Y'); ?></span> 39 </h4> 40 <div class="autor mb-2"> 41 <?php echo __('Autor'); ?> 42 <br> 43 <strong><?php echo $noticia->equipe->nome; ?></strong>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(65) "/home/yenf4mpd8hao/includes/application/views/conteudo/emfoco.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(65) "/home/yenf4mpd8hao/includes/application/views/conteudo/emfoco.php"
1
array(4) ( "busca" => string(0) "" "total" => integer 167 "pagination" => object Pagination(15)
{ protected config => array(6) ( "total_items" => integer 167 "items_per_page" => integer 12 "view" => string(17) "pagination/satara" "current_page" => array(3) ( "page" => string(2) "14" "source" => string(12) "query_string" "key" => string(4) "page" ) "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 14 protected total_items => integer 167 protected items_per_page => integer 12 protected total_pages => integer 14 protected current_first_item => integer 157 protected current_last_item => integer 167 protected previous_page => integer 13 protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 156 protected _request => object Request(19)
"noticias" => object Database_MySQLi_Result(7){ 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(6)
protected _route => object Route(6){ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) 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) }
}{ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _route_params => array(2) ( "controller" => string(6) "emfoco" "action" => string(5) "index" ) }{ protected _internal_row => integer 10 protected _query => string(454) "SELECT `noticia`.`id` AS `id`, `noticia`.`noticia_assunto_id` AS `noticia_assunto_id`, `noticia`.`equipe_id` AS `equipe_id`, `no …" protected _result => object mysqli_result(5)
){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 11 protected _current_row => integer 9 protected _as_object => string(13) "Model_Noticia" protected _object_params => NULL }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/template.php [ 5 ] » Kohana_View->__toString()
1 <?php include Kohana::find_file('views', 'template/head') ?> 2 <body> 3 <?php include Kohana::find_file('views', 'template/header') ?> 4 5 <?php echo $conteudo; ?> 6 7 <?php include Kohana::find_file('views', 'template/footer') ?> 8 </body> 9 </html>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(58) "/home/yenf4mpd8hao/includes/application/views/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(58) "/home/yenf4mpd8hao/includes/application/views/template.php"
1
array(3) ( "css" => array(0) "js" => array(0) "conteudo" => object View(2)
{ protected _file => string(65) "/home/yenf4mpd8hao/includes/application/views/conteudo/emfoco.php" protected _data => array(4) ( "busca" => string(0) "" "total" => integer 167 "pagination" => object Pagination(15)
){ protected config => array(6) ( "total_items" => integer 167 "items_per_page" => integer 12 "view" => string(17) "pagination/satara" "current_page" => array(3) ( "page" => string(2) "14" "source" => string(12) "query_string" "key" => string(4) "page" ) "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 14 protected total_items => integer 167 protected items_per_page => integer 12 protected total_pages => integer 14 protected current_first_item => integer 157 protected current_last_item => integer 167 protected previous_page => integer 13 protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 156 protected _request => object Request(19)
"noticias" => object Database_MySQLi_Result(7){ 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(6)
protected _route => object Route(6){ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) 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) }
}{ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _route_params => array(2) ( "controller" => string(6) "emfoco" "action" => string(5) "index" ) }{ protected _internal_row => integer 10 protected _query => string(454) "SELECT `noticia`.`id` AS `id`, `noticia`.`noticia_assunto_id` AS `noticia_assunto_id`, `noticia`.`equipe_id` AS `equipe_id`, `no …" protected _result => object mysqli_result(5)
) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 11 protected _current_row => integer 9 protected _as_object => string(13) "Model_Noticia" protected _object_params => NULL }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 [ 94 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Emfoco(16)
{ public template => object View(2)
{ protected _file => string(58) "/home/yenf4mpd8hao/includes/application/views/template.php" protected _data => array(3) ( "css" => array(0) "js" => array(0) "conteudo" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(65) "/home/yenf4mpd8hao/includes/application/views/conteudo/emfoco.php" protected _data => array(4) ( "busca" => string(0) "" "total" => integer 167 "pagination" => object Pagination(15)
) }{ protected config => array(6) ( "total_items" => integer 167 "items_per_page" => integer 12 "view" => string(17) "pagination/satara" "current_page" => array(3) ( "page" => string(2) "14" "source" => string(12) "query_string" "key" => string(4) "page" ) "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 14 protected total_items => integer 167 protected items_per_page => integer 12 protected total_pages => integer 14 protected current_first_item => integer 157 protected current_last_item => integer 167 protected previous_page => integer 13 protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 156 protected _request => object Request(19)
"noticias" => object Database_MySQLi_Result(7){ 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(6)
protected _route => object Route(6){ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) 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) }
}{ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _route_params => array(2) ( "controller" => string(6) "emfoco" "action" => string(5) "index" ) }{ protected _internal_row => integer 10 protected _query => string(454) "SELECT `noticia`.`id` AS `id`, `noticia`.`noticia_assunto_id` AS `noticia_assunto_id`, `noticia`.`equipe_id` AS `equipe_id`, `no …" protected _result => object mysqli_result(5)
) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 11 protected _current_row => integer 9 protected _as_object => string(13) "Model_Noticia" protected _object_params => NULL }{ 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(6)
public response => object Response(5){ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) 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 session => object Session_Native(5){ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }{ protected _name => string(7) "session" protected _lifetime => integer 0 protected _encrypted => bool FALSE protected _data => array(1) ( "security_token" => string(48) "cfcbb20288e94085bbe79efc1b4e0b033404442e03d79fa2" ) protected _destroyed => bool FALSE }
public items_per_page => integer 12 public lang_sufix => string(0) "" public titulo => string(21) "Chediak | Escritório" public meta_descricao => string(0) "" public meta_imagem => string(19) "/media/img/logo.png" public meta_titulo => string(7) "Chediak" public email_contato => string(22) "revista@chediak.com.br" public busca => string(0) "" public total => integer 167 public pagination => object Pagination(15){ protected config => array(6) ( "total_items" => integer 167 "items_per_page" => integer 12 "view" => string(17) "pagination/satara" "current_page" => array(3) ( "page" => string(2) "14" "source" => string(12) "query_string" "key" => string(4) "page" ) "auto_hide" => bool TRUE "first_page_in_url" => bool FALSE ) protected current_page => integer 14 protected total_items => integer 167 protected items_per_page => integer 12 protected total_pages => integer 14 protected current_first_item => integer 157 protected current_last_item => integer 167 protected previous_page => integer 13 protected next_page => bool FALSE protected first_page => integer 1 protected last_page => bool FALSE protected offset => integer 156 protected _request => object Request(19)
public noticias => object Database_MySQLi_Result(7){ 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(6)
protected _route => object Route(6){ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) 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) }
}{ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _route_params => array(2) ( "controller" => string(6) "emfoco" "action" => string(5) "index" ) }{ protected _internal_row => integer 10 protected _query => string(454) "SELECT `noticia`.`id` AS `id`, `noticia`.`noticia_assunto_id` AS `noticia_assunto_id`, `noticia`.`equipe_id` AS `equipe_id`, `no …" protected _result => object mysqli_result(5)
}{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }
protected _total_rows => integer 11 protected _current_row => integer 9 protected _as_object => string(13) "Model_Noticia" protected _object_params => NULL }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/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}1
object Response(5)
{ protected _status => integer 200 protected _header => object HTTP_Header(0)
{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.1" }109 $orig_response = $response = Response::factory(['_protocol' => $request->protocol()]); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
MODPATH/multilang/classes/Multilang/Request.php [ 195 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(6)
{ public lang => NULL protected _filters => array(0) protected _uri => string(52) "(<lang>)(/)(<controller>(/<action>(/<id>(/<slug>))))" protected _regex => array(3) ( "lang" => string(7) "(br|en)" "id" => string(6) "[0-9]+" "subid" => string(6) "[0-9]+" ) protected _defaults => array(3) ( "controller" => string(4) "home" "action" => string(5) "index" "lang" => string(2) "br" ) protected _route_regex => string(145) "#^(?:(?P<lang>(br|en)))?(?:/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>[0-9]+)(?:/(?P<slug>[^/.,;?\ …" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Emfoco" protected _action => string(5) "index" protected _uri => string(9) "br/emfoco" protected _external => bool FALSE protected _params => array(1) ( "lang" => string(2) "br" ) protected _get => array(1) ( "page" => string(2) "14" ) 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) }
}190 { 191 Request::$lang = $this->param('lang'); 192 } 193 Multilang::init(); 194 195 return $this->_client->execute($this); 196 } 197 198 199 }
-
DOCROOT/index.php [ 118 ] » Multilang_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 }