MODPATH/breadcrumbs/classes/Kohana/Breadcrumbs/Item.php [ 15 ]
10
11 public function __construct($urls, $name, $url = NULL, $active = false)
12 {
13 if(empty($name))
14 {
15 throw new Kohana_Exception('Breadcrumbs: The breadcrumb name could not be empty!');
16 }
17 $this->name = $name;
18 if($urls && $url !== false)
19 {
20 if(empty($url))
-
MODPATH/breadcrumbs/classes/Kohana/Breadcrumbs.php [ 44 ] » Kohana_Breadcrumbs_Item->__construct(arguments)
0
bool TRUE
1
NULL
2
string(1) "/"
39 $this->options = array_merge(Kohana::$config->load('breadcrumbs')->get('default'), $options); 40 } 41 42 public function add($name, $url = null, $position = null) 43 { 44 $item = new Breadcrumbs_Item($this->options['urls'], $name, $url); 45 if($position === NULL || ! $this->offsetExists($position)) 46 { 47 $position = $this->_total_items; 48 } 49 else
-
MODPATH/content/classes/Module/Content.php [ 56 ] » Kohana_Breadcrumbs->add(arguments)
0
NULL
1
string(1) "/"
51 HTML::add_meta('name', 'description', $return['description']); 52 HTML::add_meta('name', 'keywords', $return['keywords']); 53 if ($return['content_type']['id_text'] == 'news') { 54 Breadcrumbs::instance()->add($return['content_type']['name'], Route::url('content_index', array('type' => $return['content_type']['id_text']))); 55 } 56 Breadcrumbs::instance()->add($return['name'], Route::url('content', array('plain' => $return['plain']))); 57 HTML::add_meta('property', 'og:image', URL::site(Upload::path2file('upload/content/', $return['image']), TRUE)); 58 59 $image = FALSE; 60 if ($return['picture_id']) { 61 $image = Upload::path2file('upload/picture/', $return['picture']['image']);
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 59 ] » Module_Content->_data()
54 55 public function data() { 56 if (isset($this->_data)) { 57 return $this->_data; 58 } else { 59 return $this->_data = $this->_data(); 60 } 61 } 62 63 public function render() { 64 return $this->view->render();
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 49 ] » Kohana_Module->data()
44 $this->_initialize(); 45 } 46 47 protected function _initialize() { 48 $this->view->set(array( 49 'data' => $this->data() 50 )); 51 } 52 53 protected abstract function _data(); 54
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 44 ] » Kohana_Module->_initialize()
39 } 40 $this->view->set($init_data); 41 $this->view->_init_data = $init_data; 42 $this->view->_params = $this->_params; 43 $this->_main_placeholder = $this->view->_main_placeholder = isset($this->_init_data['placeholder_id']) && $this->_init_data['placeholder_id'] == 3 && isset($this->_init_data['first']) && $this->_init_data['first']; 44 $this->_initialize(); 45 } 46 47 protected function _initialize() { 48 $this->view->set(array( 49 'data' => $this->data()
-
MODPATH/_internal/module/classes/Kohana/Module.php [ 21 ] » Kohana_Module->__construct(arguments)
0
array(19) ( "id" => string(7) "Content" "placeholder_id" => string(1) "3" "active" => string(1) "1" "desktop" => string(1) "1" "mobile" => string(1) "1" "panel" => string(1) "0" "sensile" => string(1) "0" "order" => string(1) "0" "cache" => string(1) "0" "module_name" => string(7) "Content" "exclude" => string(0) "" "include" => string(72) "a:1:{i:0;a:2:{s:10:"controller";s:7:"content";s:6:"action";s:4:"view";}}" "params" => bool FALSE "module_id" => string(2) "45" "lang_id" => string(1) "1" "name" => string(7) "Treść" "content" => string(0) "" "first" => bool TRUE "h1" => bool TRUE )
16 foreach ($module as &$value) { 17 $value = ucfirst($value); 18 } 19 $module = implode('_', $module); 20 $data['id'] = $data['module_name']; 21 return new $module($data); 22 } 23 24 public function __construct($init_data = NULL) { 25 $this->name = strtolower($init_data['module_name']); 26 $this->_init_data = $init_data;
-
APPPATH/classes/Controller/Template.php [ 168 ] » Kohana_Module::factory(arguments)
0
string(14) "Module_Content"
1
array(19) ( "id" => string(7) "Content" "placeholder_id" => string(1) "3" "active" => string(1) "1" "desktop" => string(1) "1" "mobile" => string(1) "1" "panel" => string(1) "0" "sensile" => string(1) "0" "order" => string(1) "0" "cache" => string(1) "0" "module_name" => string(7) "Content" "exclude" => string(0) "" "include" => string(72) "a:1:{i:0;a:2:{s:10:"controller";s:7:"content";s:6:"action";s:4:"view";}}" "params" => string(0) "" "module_id" => string(2) "45" "lang_id" => string(1) "1" "name" => string(7) "Treść" "content" => string(0) "" "first" => bool TRUE "h1" => bool TRUE )
163 } 164 165 if (!$cache = Cache::instance()->get($module_name)) { 166 if ($module['module_name']) { 167 $benchmark = Profiler::start('Modules', $module['module_name']); 168 $cache = Module::factory($module['module_name'], $module); 169 Profiler::stop($benchmark); 170 } else { 171 if ($module['panel']) { 172 $cache = Twig::factory('snippets/module.twig', array('title' => $module['name'], 'inc' => $module['content'])); 173 } else {
-
APPPATH/classes/Controller/Template.php [ 92 ] » Controller_Template->_init()
87 'controller' => strtolower($this->request->controller()), 88 'action' => strtolower($this->request->action()), 89 ) + $this->request->param()); 90 $this->template->_show_profiler = isset($_GET['d3bug']); 91 $this->template->_profiler = View::factory('profiler/stats'); 92 $this->_init(); 93 } 94 } 95 96 protected function _init() { 97 HTML::add_style(array(
-
SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Template->before()
64 * @return Response 65 */ 66 public function execute() 67 { 68 // Execute the "before action" method 69 $this->before(); 70 71 // Determine the action to use 72 $action = 'action_'.$this->request->action(); 73 74 // If the action doesn't exist, it's a 404
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Content(9)
{ protected _title => string(0) "" public environment => object Twig_Environment(26)
{ protected charset => string(5) "UTF-8" protected loader => object Twig_Loader_Theme(1)
public auto_render => bool TRUE public template => object Twig(4){ protected cache => NULL }
protected debug => bool TRUE protected autoReload => bool TRUE protected cache => string(46) "/var/www/meczenazywo.tv/application/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(7) ( "core" => object Twig_Extension_Core(4){ protected dateFormats => array(2) ( 0 => string(10) "F j, Y H:i" 1 => string(7) "%d days" ) protected numberFormat => array(3) ( 0 => integer 0 1 => string(1) "." 2 => string(1) " " ) protected timezone => NULL protected escapers => array(0) }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => bool FALSE }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"kohana_twig" => object Kohana_Twig_Extensions(0){ }
"Text" => object Twig_Extension_Text(0){ }
"debug" => object Twig_Extension_Debug(0){ }
"string_loader" => object Twig_Extension_StringLoader(0){ }
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected extensionInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) protected staging => object Twig_Extension_Staging(6){ protected functions => array(0) protected filters => array(0) protected visitors => array(0) protected tokenParsers => array(0) protected globals => array(0) protected tests => array(0) }
}{ protected _file => string(12) "Content/view" protected _extension => string(4) "twig" protected _data => array(10) ( "title" => array(0) "base" => string(1) "/" "path" => string(1) "/" "lang" => string(2) "pl" "domain" => string(20) "https://hdmecze.com/" "lang_icon" => string(6) "pl.png" "page" => string(24) "page-content action-view" "placeholders" => array(0) "_show_profiler" => bool FALSE "_profiler" => object View(2)
public auth_required => bool FALSE public secure_actions => bool FALSE public request => object Request(20){ protected _file => string(60) "/var/www/meczenazywo.tv/application/views/profiler/stats.php" protected _data => array(0) }
) protected _environment => object Twig_Environment(26){ protected charset => string(5) "UTF-8" protected loader => object Twig_Loader_Theme(1)
}{ protected cache => NULL }
protected debug => bool TRUE protected autoReload => bool TRUE protected cache => string(46) "/var/www/meczenazywo.tv/application/cache/twig" protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(7) ( "core" => object Twig_Extension_Core(4){ protected dateFormats => array(2) ( ... ) protected numberFormat => array(3) ( ... ) protected timezone => NULL protected escapers => array(0) }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => bool FALSE }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"kohana_twig" => object Kohana_Twig_Extensions(0){ }
"Text" => object Twig_Extension_Text(0){ }
"debug" => object Twig_Extension_Debug(0){ }
"string_loader" => object Twig_Extension_StringLoader(0){ }
) protected parsers => NULL protected visitors => NULL protected filters => NULL protected tests => NULL protected functions => NULL protected globals => NULL protected runtimeInitialized => bool FALSE protected extensionInitialized => bool FALSE protected loadedTemplates => NULL protected strictVariables => bool FALSE protected unaryOperators => NULL protected binaryOperators => NULL protected templateClassPrefix => string(15) "__TwigTemplate_" protected functionCallbacks => array(0) protected filterCallbacks => array(0) protected staging => object Twig_Extension_Staging(6){ protected functions => array(0) protected filters => array(0) protected visitors => array(0) protected tokenParsers => array(0) protected globals => array(0) protected tests => array(0) }
}{ protected _is_mobile => NULL protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(82) "https://www.meczenazywo.tv/gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" protected _route => object Route(9)
public response => object Response(5){ protected _translate => array(3) ( "<controller>" => bool TRUE "<type>" => bool TRUE "content" => bool TRUE ) protected _uri_source => string(18) "<plain>(/p,<page>)" protected _regex_source => array(1) ( "plain" => string(13528) "10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|100-zl-na-mecz …" ) protected _filters => array(0) protected _uri => string(18) "<plain>(/p,<page>)" protected _regex => array(1) ( "plain" => string(13528) "10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|100-zl-na-mecz …" ) protected _defaults => array(4) ( "controller" => string(5) "mecze" "action" => string(4) "view" "page" => integer 1 "plain" => string(0) "" ) protected _route_regex => string(13575) "#^(?P<plain>10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|10 …" public _defaults_source => array(4) ( "controller" => string(7) "content" "action" => string(4) "view" "page" => integer 1 "plain" => string(0) "" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Content" protected _action => string(4) "view" protected _uri => string(55) "gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" protected _external => bool FALSE protected _params => array(2) ( "plain" => string(55) "gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" "page" => integer 1 ) 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)
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(0) protected _destroyed => bool FALSE }
}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(20)
{ protected _is_mobile => NULL protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(82) "https://www.meczenazywo.tv/gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" protected _route => object Route(9)
{ protected _translate => array(3) ( "<controller>" => bool TRUE "<type>" => bool TRUE "content" => bool TRUE ) protected _uri_source => string(18) "<plain>(/p,<page>)" protected _regex_source => array(1) ( "plain" => string(13528) "10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|100-zl-na-mecz …" ) protected _filters => array(0) protected _uri => string(18) "<plain>(/p,<page>)" protected _regex => array(1) ( "plain" => string(13528) "10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|100-zl-na-mecz …" ) protected _defaults => array(4) ( "controller" => string(5) "mecze" "action" => string(4) "view" "page" => integer 1 "plain" => string(0) "" ) protected _route_regex => string(13575) "#^(?P<plain>10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|10 …" public _defaults_source => array(4) ( "controller" => string(7) "content" "action" => string(4) "view" "page" => integer 1 "plain" => string(0) "" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Content" protected _action => string(4) "view" protected _uri => string(55) "gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" protected _external => bool FALSE protected _params => array(2) ( "plain" => string(55) "gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" "page" => integer 1 ) 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))
-
APPPATH/classes/Request.php [ 153 ] » Kohana_Request_Client->execute(arguments)
0
object Request(20)
{ protected _is_mobile => NULL protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool TRUE protected _referrer => string(82) "https://www.meczenazywo.tv/gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" protected _route => object Route(9)
{ protected _translate => array(3) ( "<controller>" => bool TRUE "<type>" => bool TRUE "content" => bool TRUE ) protected _uri_source => string(18) "<plain>(/p,<page>)" protected _regex_source => array(1) ( "plain" => string(13528) "10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|100-zl-na-mecz …" ) protected _filters => array(0) protected _uri => string(18) "<plain>(/p,<page>)" protected _regex => array(1) ( "plain" => string(13528) "10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|100-zl-na-mecz …" ) protected _defaults => array(4) ( "controller" => string(5) "mecze" "action" => string(4) "view" "page" => integer 1 "plain" => string(0) "" ) protected _route_regex => string(13575) "#^(?P<plain>10-000-zl-w-now.*?|10-kryteriow-wy.*?|10-spinow-za-ni.*?|100-bonusu-na-p.*?|100-bonusu-odds.*?|100-zl-na-ksw-3.*?|10 …" public _defaults_source => array(4) ( "controller" => string(7) "content" "action" => string(4) "view" "page" => integer 1 "plain" => string(0) "" ) }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Content" protected _action => string(4) "view" protected _uri => string(55) "gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" protected _external => bool FALSE protected _params => array(2) ( "plain" => string(55) "gdzie-ogladac-grand-prix-australii-na-zywo-w-internecie" "page" => integer 1 ) 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) }
}148 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 149 ':uri' => $this->_uri, 150 )); 151 } 152 153 return $this->_client->execute($this); 154 } 155 156 /** 157 * Generates a relative URI for the current route. 158 *
-
DOCROOT/index.php [ 353 ] » Request->execute()
348 */ 349 350 //try 351 //{ 352 echo Request::factory() 353 ->execute() 354 ->send_headers() 355 ->body(); 356 //} 357 //catch (Exception $e) 358 //{