MODPATH/hana/classes/service/hana/route.php [ 195 ]
190
191 public function get_last_language_id()
192 {
193 if($llid=Cookie::get("last_language_id")) return $llid;
194 else
195 $llid = array_search($_SERVER["HTTP_ACCEPT_LANGUAGE"], $this->languages_map);
196
197 if($llid) return $llid; else return 1;
198 }
199
200 public function get_selected_language_code() {
-
MODPATH/hana/classes/service/hana/route.php [ 195 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(37) "Undefined index: HTTP_ACCEPT_LANGUAGE"
2
string(79) "/var/www/apertagroup.cz/domains/www/modules/hana/classes/service/hana/route.php"
3
integer 195
4
array(1) ( "llid" => NULL )
190 191 public function get_last_language_id() 192 { 193 if($llid=Cookie::get("last_language_id")) return $llid; 194 else 195 $llid = array_search($_SERVER["HTTP_ACCEPT_LANGUAGE"], $this->languages_map); 196 197 if($llid) return $llid; else return 1; 198 } 199 200 public function get_selected_language_code() {
-
APPPATH/classes/controller/page.php [ 178 ] » Service_Hana_Route->get_last_language_id()
173 public function action_page_navigation($parent_id,$id){ 174 175 176 $template=new View("subnav"); 177 if($parent_id==0){ 178 $lang = Service_Route::instance()->get_last_language_id(); 179 $parent=db::query(Database::SELECT,'SELECT parent_id from pages join page_data on (page_data.page_id=pages.id) where parent_id = '.$id.' and language_id = '.$id.' limit 1')->execute()->as_array(); 180 if(isset($parent[0]["parent_id"])){$parent_id=$parent[0]["parent_id"]; 181 $links=$this->service_page->get_pages_structure($parent_id); 182 } 183 else {
-
{PHP internal call} » Controller_Page->action_page_navigation(arguments)
0
string(1) "0"
1
string(1) "6"
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Page(5)
{ public with_photo => bool TRUE public photo_suffix => string(2) "t1" protected service_page => object Service_Page(10)
{ public structured_nav => bool TRUE public with_photo => bool TRUE public photo_suffix => string(2) "t1" public photo_thumb_suffix => string(2) "t3" public photos_resources_dir => string(13) "media/photos/" private page_orm => object Model_Page(47)
public internal => bool TRUE public request => object Request(9){ protected _rules => array(1) ( "nazev" => array(1) ( "not_empty" => NULL ) ) public language_class_name => NULL public class_name => string(4) "Page" public language_table_suffix => string(4) "data" public selected_language_id => integer 1 public join_on_routes => bool TRUE public disable_language_constraint => bool TRUE protected _language_table_name => string(9) "page_data" protected _language_columns => array(16) ( "page_id" => string(7) "page_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "nazev_seo_OLD" => string(13) "nazev_seo_OLD" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" "date_created" => string(12) "date_created" "date_modified" => string(13) "date_modified" "menu_class" => string(10) "menu_class" "mainpage" => string(8) "mainpage" ) protected _language_column_changed => array(16) ( "page_id" => string(7) "page_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "nazev_seo_OLD" => string(13) "nazev_seo_OLD" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" "date_created" => string(12) "date_created" "date_modified" => string(13) "date_modified" "menu_class" => string(10) "menu_class" "mainpage" => string(8) "mainpage" ) protected _language_data_loaded => bool TRUE protected _language_db_pending => bool FALSE protected _ld_orm => array(26) ( "id" => string(1) "6" "layout_type_id" => string(1) "0" "poradi" => string(1) "9" "parent_id" => string(1) "0" "readonly" => string(1) "0" "unclassified" => string(1) "0" "indexpage" => string(1) "0" "available_languages" => string(1) "7" "photo_src" => string(0) "" "page_id" => string(1) "6" "language_id" => string(1) "2" "route_id" => string(2) "19" "nazev_seo_OLD" => string(0) "" "nazev" => string(8) "About Us" "nadpis" => string(8) "About Us" "title" => string(8) "About Us" "description" => string(1) "0" "keywords" => string(1) "0" "uvodni_popis" => string(6) " " "popis" => string(756) "APERTA GROUP a.s. is a Czech company that was established in 2009 with the intention to use a building system based on a steel s …" "zobrazit" => string(1) "1" "date_created" => string(19) "0000-00-00 00:00:00" "date_modified" => string(19) "0000-00-00 00:00:00" "menu_class" => string(0) "" "mainpage" => string(1) "0" "nazev_seo" => string(8) "about-us" ) protected _load_with => array(1) ( 0 => string(6) "routes" ) private _get_count_all => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(1) ( "language_data" => array(4) ( "model" => string(13) "language_data" "foreign_key" => string(7) "page_id" "through" => NULL "far_key" => string(16) "language_data_id" ) ) protected _validate => NULL protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(26) ( "id" => string(1) "6" "layout_type_id" => string(1) "0" "poradi" => string(1) "9" "parent_id" => string(1) "0" "readonly" => string(1) "0" "unclassified" => string(1) "0" "indexpage" => string(1) "0" "available_languages" => string(1) "7" "photo_src" => string(0) "" "page_id" => string(1) "6" "language_id" => string(1) "2" "route_id" => string(2) "19" "nazev_seo_OLD" => string(0) "" "nazev" => string(8) "About Us" "nadpis" => string(8) "About Us" "title" => string(8) "About Us" "description" => string(0) "" "keywords" => string(0) "" "uvodni_popis" => string(6) " " "popis" => string(756) "APERTA GROUP a.s. is a Czech company that was established in 2009 with the intention to use a building system based on a steel s …" "zobrazit" => string(1) "1" "date_created" => string(19) "0000-00-00 00:00:00" "date_modified" => string(19) "0000-00-00 00:00:00" "menu_class" => string(0) "" "mainpage" => string(0) "" "nazev_seo" => string(8) "about-us" ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool TRUE protected _saved => bool TRUE protected _sorting => array(1) ( "id" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_name => string(5) "pages" protected _table_columns => array(9) ( "id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "layout_type_id" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "layout_type_id" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "poradi" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "poradi" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "readonly" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(8) "readonly" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "unclassified" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "unclassified" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "indexpage" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "indexpage" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "available_languages" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "available_languages" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo_src" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "photo_src" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(13) "utf8_czech_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(16) ( "page_id" => string(7) "page_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "nazev_seo_OLD" => string(13) "nazev_seo_OLD" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" "date_created" => string(12) "date_created" "date_modified" => string(13) "date_modified" "menu_class" => string(10) "menu_class" "mainpage" => string(8) "mainpage" ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
private unrelated_page_orm => NULL private navigation_structure => NULL private selected_language => NULL private index_routes => array(3) ( 1 => string(5) "index" 3 => string(8) "index-ru" 2 => string(8) "index-en" ) }{ protected _connection_id => string(40) "d0afc6f8cccbabc6b17afaa35a4928c2d8541f37" protected _identifier => string(1) "`" public last_query => string(385) "SELECT `page_data`.*, `routes`.`nazev_seo` AS `nazev_seo`, `pages`.* FROM `pages` LEFT JOIN `page_data` ON (`pages`.`id` = `page …" protected _instance => string(7) "default" protected _connection => resource(mysql link persistent) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( ... ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool FALSE ) }
protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _preload_data => array(0) }{ public route => object Route(4)
}{ protected _uri => string(86) "internal/<controller>/<action>(/<id1>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>)))))))" protected _regex => array(0) protected _defaults => array(1) ( "action" => string(5) "index" ) protected _route_regex => string(257) "#^internal/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)(?:/(?P<id1>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^ …" }
public status => integer 500 public response => string(0) "" public headers => array(0) public directory => string(0) "" public controller => string(4) "page" public action => string(15) "page_navigation" public uri => string(33) "internal/page/page_navigation/0/6" protected _params => array(2) ( "id1" => string(1) "0" "id2" => string(1) "6" ) }1
array(2) ( "id1" => string(1) "0" "id2" => string(1) "6" )
1107 1108 // Determine the action to use 1109 $action = empty($this->action) ? Route::$default_action : $this->action; 1110 1111 // Execute the main action with the parameters 1112 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1113 1114 // Execute the "after action" method 1115 $class->getMethod('after')->invoke($controller); 1116 } 1117 catch (Exception $e)
-
APPPATH/classes/controller/page.php [ 78 ] » Kohana_Request->execute()
73 // sestavim layout staticke stranky 74 $page_data = $this->service_page->get_page_by_nazev_seo($nazev_seo); 75 $template->is_indexpage=false; 76 $parent_id=isset($page_data['parent_id'])?$page_data['parent_id']:"0"; 77 $page_id=isset($page_data['id'])?$page_data['id']:"0"; 78 $subnav=Request::factory("internal/page/page_navigation/".$parent_id."/".$page_id)->execute()->response; 79 if($page_id!=15 && $page_id!=5 && $page_id!=6 && $page_id!=16)$template->subnav=$subnav; else $template->subnav=false; 80 if($page_data===false) 81 { 82 return $this->action_404($nazev_seo); 83 }
-
{PHP internal call} » Controller_Page->action_index(arguments)
0
string(8) "about-us"
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Page(5)
{ public with_photo => bool TRUE public photo_suffix => string(2) "t1" protected service_page => object Service_Page(10)
{ public structured_nav => bool TRUE public with_photo => bool TRUE public photo_suffix => string(2) "t1" public photo_thumb_suffix => string(2) "t3" public photos_resources_dir => string(13) "media/photos/" private page_orm => object Model_Page(47)
public internal => bool TRUE public request => object Request(9){ protected _rules => array(1) ( "nazev" => array(1) ( "not_empty" => NULL ) ) public language_class_name => NULL public class_name => string(4) "Page" public language_table_suffix => string(4) "data" public selected_language_id => integer 1 public join_on_routes => bool TRUE public disable_language_constraint => bool TRUE protected _language_table_name => string(9) "page_data" protected _language_columns => array(16) ( "page_id" => string(7) "page_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "nazev_seo_OLD" => string(13) "nazev_seo_OLD" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" "date_created" => string(12) "date_created" "date_modified" => string(13) "date_modified" "menu_class" => string(10) "menu_class" "mainpage" => string(8) "mainpage" ) protected _language_column_changed => array(16) ( "page_id" => string(7) "page_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "nazev_seo_OLD" => string(13) "nazev_seo_OLD" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" "date_created" => string(12) "date_created" "date_modified" => string(13) "date_modified" "menu_class" => string(10) "menu_class" "mainpage" => string(8) "mainpage" ) protected _language_data_loaded => bool TRUE protected _language_db_pending => bool FALSE protected _ld_orm => array(26) ( "id" => string(1) "6" "layout_type_id" => string(1) "0" "poradi" => string(1) "9" "parent_id" => string(1) "0" "readonly" => string(1) "0" "unclassified" => string(1) "0" "indexpage" => string(1) "0" "available_languages" => string(1) "7" "photo_src" => string(0) "" "page_id" => string(1) "6" "language_id" => string(1) "2" "route_id" => string(2) "19" "nazev_seo_OLD" => string(0) "" "nazev" => string(8) "About Us" "nadpis" => string(8) "About Us" "title" => string(8) "About Us" "description" => string(1) "0" "keywords" => string(1) "0" "uvodni_popis" => string(6) " " "popis" => string(756) "APERTA GROUP a.s. is a Czech company that was established in 2009 with the intention to use a building system based on a steel s …" "zobrazit" => string(1) "1" "date_created" => string(19) "0000-00-00 00:00:00" "date_modified" => string(19) "0000-00-00 00:00:00" "menu_class" => string(0) "" "mainpage" => string(1) "0" "nazev_seo" => string(8) "about-us" ) protected _load_with => array(1) ( 0 => string(6) "routes" ) private _get_count_all => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(1) ( "language_data" => array(4) ( "model" => string(13) "language_data" "foreign_key" => string(7) "page_id" "through" => NULL "far_key" => string(16) "language_data_id" ) ) protected _validate => NULL protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(26) ( "id" => string(1) "6" "layout_type_id" => string(1) "0" "poradi" => string(1) "9" "parent_id" => string(1) "0" "readonly" => string(1) "0" "unclassified" => string(1) "0" "indexpage" => string(1) "0" "available_languages" => string(1) "7" "photo_src" => string(0) "" "page_id" => string(1) "6" "language_id" => string(1) "2" "route_id" => string(2) "19" "nazev_seo_OLD" => string(0) "" "nazev" => string(8) "About Us" "nadpis" => string(8) "About Us" "title" => string(8) "About Us" "description" => string(0) "" "keywords" => string(0) "" "uvodni_popis" => string(6) " " "popis" => string(756) "APERTA GROUP a.s. is a Czech company that was established in 2009 with the intention to use a building system based on a steel s …" "zobrazit" => string(1) "1" "date_created" => string(19) "0000-00-00 00:00:00" "date_modified" => string(19) "0000-00-00 00:00:00" "menu_class" => string(0) "" "mainpage" => string(0) "" "nazev_seo" => string(8) "about-us" ) protected _changed => array(0) protected _related => array(0) protected _loaded => bool TRUE protected _saved => bool TRUE protected _sorting => array(1) ( "id" => string(3) "ASC" ) protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "page" protected _object_plural => string(5) "pages" protected _table_name => string(5) "pages" protected _table_columns => array(9) ( "id" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "layout_type_id" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "layout_type_id" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "poradi" => array(12) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(6) "poradi" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "readonly" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(8) "readonly" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "unclassified" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "unclassified" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "indexpage" => array(12) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(9) "indexpage" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "available_languages" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "available_languages" "column_default" => string(1) "1" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "photo_src" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "photo_src" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "255" "collation_name" => string(13) "utf8_czech_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(16) ( "page_id" => string(7) "page_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "nazev_seo_OLD" => string(13) "nazev_seo_OLD" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" "date_created" => string(12) "date_created" "date_modified" => string(13) "date_modified" "menu_class" => string(10) "menu_class" "mainpage" => string(8) "mainpage" ) protected _updated_column => NULL protected _created_column => NULL protected _primary_key => string(2) "id" protected _primary_val => string(4) "name" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
private unrelated_page_orm => NULL private navigation_structure => NULL private selected_language => NULL private index_routes => array(3) ( 1 => string(5) "index" 3 => string(8) "index-ru" 2 => string(8) "index-en" ) }{ protected _connection_id => string(40) "d0afc6f8cccbabc6b17afaa35a4928c2d8541f37" protected _identifier => string(1) "`" public last_query => string(385) "SELECT `page_data`.*, `routes`.`nazev_seo` AS `nazev_seo`, `pages`.* FROM `pages` LEFT JOIN `page_data` ON (`pages`.`id` = `page …" protected _instance => string(7) "default" protected _connection => resource(mysql link persistent) protected _config => array(6) ( "type" => string(5) "mysql" "connection" => array(3) ( ... ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE "profiling" => bool FALSE ) }
protected _db_applied => array(0) protected _db_pending => array(0) protected _db_reset => bool TRUE protected _db_builder => NULL protected _with_applied => array(0) protected _preload_data => array(0) }{ public route => object Route(4)
}{ protected _uri => string(86) "internal/<controller>/<action>(/<id1>(/<id2>(/<id3>(/<id4>(/<id5>(/<id6>(/<id7>)))))))" protected _regex => array(0) protected _defaults => array(1) ( "action" => string(5) "index" ) protected _route_regex => string(257) "#^internal/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)(?:/(?P<id1>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++)(?:/(?P<id3>[^ …" }
public status => integer 500 public response => string(0) "" public headers => array(0) public directory => string(0) "" public controller => string(4) "page" public action => string(5) "index" public uri => string(28) "internal/page/index/about-us" protected _params => array(1) ( "id1" => string(8) "about-us" ) }1
array(1) ( "id1" => string(8) "about-us" )
1107 1108 // Determine the action to use 1109 $action = empty($this->action) ? Route::$default_action : $this->action; 1110 1111 // Execute the main action with the parameters 1112 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1113 1114 // Execute the "after action" method 1115 $class->getMethod('after')->invoke($controller); 1116 } 1117 catch (Exception $e)
-
APPPATH/classes/controller/site.php [ 47 ] » Kohana_Request->execute()
42 { 43 // generovani hlavniho obsahu (mozno definovat rucne jiny typ obsahu pro uvodku, jinak se ridi nastavenym typem stranky v adminu) 44 if($main_controller_param_id1=="index") 45 $main_content=Request::factory("internal/".$main_controller."/".$main_controller_action."/".$main_controller_param_id1.$main_controller_param_id2)->execute()->response; 46 else 47 $main_content=Request::factory("internal/".$main_controller."/".$main_controller_action."/".$main_controller_param_id1.$main_controller_param_id2)->execute()->response; 48 } 49 50 // widget kosiku 51 // $cart_widget = Request::factory("internal/cart/widget")->execute()->response; 52
-
{PHP internal call} » Controller_Site->action_index(arguments)
0
string(8) "about-us"
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Site(6)
{ public template => object View(2)
{ protected _file => string(71) "/var/www/apertagroup.cz/domains/www/application/views/base_template.tpl" protected _data => array(3) ( "url_base" => string(1) "/" "media_path" => string(7) "/media/" "search_value" => string(8) "vyhledej" ) }
private default_main_content_controller => string(4) "page" private default_main_content_action => string(5) "index" public auto_render => bool TRUE public internal => bool FALSE public request => object Request(9){ public route => object Route(4)
}{ protected _uri => string(15) "(<id1>(/<id2>))" protected _regex => array(0) protected _defaults => array(2) ( "controller" => string(4) "site" "action" => string(5) "index" ) protected _route_regex => string(59) "#^(?:(?P<id1>[^/.,;?\n]++)(?:/(?P<id2>[^/.,;?\n]++))?)?$#uD" }
public status => integer 500 public response => string(0) "" public headers => array(1) ( "Content-Type" => string(24) "text/html; charset=utf-8" ) public directory => string(0) "" public controller => string(4) "site" public action => string(5) "index" public uri => string(8) "about-us" protected _params => array(1) ( "id1" => string(8) "about-us" ) }1
array(1) ( "id1" => string(8) "about-us" )
1107 1108 // Determine the action to use 1109 $action = empty($this->action) ? Route::$default_action : $this->action; 1110 1111 // Execute the main action with the parameters 1112 $class->getMethod('action_'.$action)->invokeArgs($controller, $this->_params); 1113 1114 // Execute the "after action" method 1115 $class->getMethod('after')->invoke($controller); 1116 } 1117 catch (Exception $e)
-
APPPATH/bootstrap.php [ 141 ] » Kohana_Request->execute()
136 137 try 138 { 139 // Attempt to execute the response 140 $request=Request::instance(); 141 $request->execute(); 142 } 143 catch (Exception $e) 144 { 145 if (Kohana::$environment != Kohana::PRODUCTION) 146 {
-
DOCROOT/index.php [ 103 ] » require(arguments)
0
string(61) "/var/www/apertagroup.cz/domains/www/application/bootstrap.php"
98 // Load empty core extension 99 require SYSPATH.'classes/kohana'.EXT; 100 } 101 102 // Bootstrap the application 103 require APPPATH.'bootstrap'.EXT;