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() {
-
MODPATH/hana/classes/service/hana/page.php [ 68 ] » Service_Hana_Route->get_last_language_id()
63 $lang_id=Service_Route::instance()->get_selected_language_id(); 64 return $indexpgs[$lang_id]; 65 } 66 public function get_pages_structure($parent_id) 67 { 68 $lang = Service_Route::instance()->get_last_language_id(); 69 $pages = orm::factory('page')->where('parent_id','=',$parent_id)->language($lang)->where('zobrazit','=',1)->order_by('poradi')->find_all(); 70 $result_data=array(); 71 $x=0; 72 foreach ($pages as $page) { 73 $result_data[$x]["nazev"]=$page->nazev;
-
APPPATH/classes/controller/page.php [ 186 ] » Service_Hana_Page->get_pages_structure(arguments)
0
string(1) "2"
181 $links=$this->service_page->get_pages_structure($parent_id); 182 } 183 else { 184 $links=false;} 185 }else{ 186 $links=$this->service_page->get_pages_structure($parent_id); 187 } 188 //$sel_links=Service_Page::instance()->get_selected_navigation_links($selected_controller, $selected_page); 189 //print_r($links); 190 if($links){ 191 foreach ($links as $link){
-
{PHP internal call} » Controller_Page->action_page_navigation(arguments)
0
string(1) "2"
1
string(1) "9"
-
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 => NULL private unrelated_page_orm => NULL private navigation_structure => NULL private selected_language => NULL private index_routes => array(0) }
public internal => bool TRUE public request => object Request(9){ 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/2/9" protected _params => array(2) ( "id1" => string(1) "2" "id2" => string(1) "9" ) }1
array(2) ( "id1" => string(1) "2" "id2" => string(1) "9" )
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/reference.php [ 167 ] » Kohana_Request->execute()
162 $popis=$nazev_stranky.", URL:".$_SERVER['SERVER_NAME']."/".$nazev_seo; 163 //$template->contact_form=Request::factory("internal/contactform/index/".urlencode(str_replace(".", " ", $page_data["nazev"]))."/normal/order_form")->execute()->response; 164 $this->template->contact_form=Request::factory("internal/contactform/index/".urlencode(str_replace(".", "___", $popis)))->execute()->response; 165 166 //$this->template->subnav=Request::factory("internal/reference/category_navigation/".$page_data['parent_id'])->execute()->response; 167 $this->template->subnav=Request::factory("internal/page/page_navigation/2/9")->execute()->response; 168 if($this->with_gallery) 169 { 170 $this->template->gallery=Request::factory("internal/gallery/index/".$reference_data["id"]."/".$this->module_key."/item/".$this->gallery_type."/".$this->gallery_template."/".$this->gallery_thumb_suffix."/".$this->gallery_detail_suffix)->execute()->response; 171 } 172
-
{PHP internal call} » Controller_Reference->action_detail(arguments)
0
string(14) "rd-velikova-ii"
-
SYSPATH/classes/kohana/request.php [ 1112 ] » ReflectionMethod->invokeArgs(arguments)
0
object Controller_Reference(22)
{ protected module_key => string(9) "reference" protected no_of_references_indexpage => integer 2 protected no_of_references_sidebar => integer 4 protected no_of_references_main => integer 6 protected reference_detail_photo_suffix => string(2) "t3" protected references_main_photo_suffix => string(2) "t3" protected references_indexpage_photo_suffix => string(2) "t3" protected references_sidebar_photo_suffix => string(2) "t3" protected unrelated_page => bool FALSE protected with_gallery => bool TRUE protected gallery_type => string(6) "normal" protected gallery_template => string(7) "gallery" protected gallery_thumb_suffix => string(2) "t2" protected gallery_detail_suffix => string(2) "t1" protected template => object View(2)
{ protected _file => string(67) "/var/www/apertagroup.cz/domains/www/application/views/reference.tpl" protected _data => array(7) ( "module_reference_mode" => string(6) "detail" "back_link_url" => string(9) "reference" "back_link_text" => string(26) "Zpět na seznam referencí" "photo" => string(59) "/media/photos/reference/item/images-7/rd-velikova-ii-t2.jpg" "title" => string(16) "RD Velíková II" "description" => string(0) "" "contact_form" => string(3781) "<div class="clr"></div> <div class="products-box" style="width:630px;"> <div id="FormSection"> <a name="form1" id="form1"></ …" ) }
protected reference_service => object Service_Article(7){ public module => string(9) "reference" public order_by => string(6) "poradi" public order_direction => string(3) "asc" public photo_detail_suffix => string(2) "t3" public photo_thumb_suffix => string(2) "t2" public photos_resources_dir => string(13) "media/photos/" private model => object Model_Reference(47)
protected module_nazev_seo => string(9) "reference" protected url => array(2) ( "reference" => array(2) ( "nazev" => string(9) "Reference" "lang_id" => integer 1 ) "references" => array(2) ( "nazev" => string(22) "Фотогалерея" "lang_id" => integer 3 ) ) protected languages => array(3) ( 1 => array(3) ( "nazev" => string(9) "Reference" "nazev_seo" => string(9) "reference" "back_link" => string(26) "Zpět na seznam referencí" ) 2 => array(3) ( "nazev" => string(10) "References" "nazev_seo" => string(10) "references" "back_link" => string(12) "Back to list" ) 3 => array(3) ( "nazev" => string(22) "Фотогалерея" "nazev_seo" => string(22) "Фотогалерея" "back_link" => string(55) "Вернуться к списку литературы" ) ) public internal => bool TRUE public request => object Request(9){ protected _has_many => array(2) ( "reference_photos" => array(4) ( "model" => string(15) "reference_photo" "foreign_key" => string(12) "reference_id" "through" => NULL "far_key" => string(18) "reference_photo_id" ) "language_data" => array(4) ( "model" => string(13) "language_data" "foreign_key" => string(12) "reference_id" "through" => NULL "far_key" => string(16) "language_data_id" ) ) protected _rules => array(1) ( "nazev" => array(1) ( "not_empty" => NULL ) ) public language_class_name => NULL public class_name => string(9) "Reference" public language_table_suffix => string(4) "data" public selected_language_id => integer 1 public join_on_routes => bool TRUE public disable_language_constraint => bool FALSE protected _language_table_name => string(14) "reference_data" protected _language_columns => array(11) ( "reference_id" => string(12) "reference_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" ) protected _language_column_changed => array(11) ( "reference_id" => string(12) "reference_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" ) protected _language_data_loaded => bool TRUE protected _language_db_pending => array(1) ( 1 => array(2) ( "name" => string(5) "where" "args" => array(3) ( ... ) ) ) protected _ld_orm => array(16) ( "id" => string(1) "7" "poradi" => string(1) "2" "photo_src" => string(14) "rd-velikova-ii" "available_languages" => string(1) "7" "reference_id" => string(1) "7" "language_id" => string(1) "1" "route_id" => string(2) "32" "title" => string(16) "RD Velíková II" "description" => string(1) "0" "keywords" => string(1) "0" "nazev" => string(16) "RD Velíková II" "nadpis" => string(16) "RD Velíková II" "uvodni_popis" => string(35) "Rodínný dům Velíková II.<br />" "popis" => NULL "zobrazit" => string(1) "1" "nazev_seo" => string(14) "rd-velikova-ii" ) 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 _validate => NULL protected _callbacks => array(0) protected _filters => array(0) protected _labels => array(0) protected _object => array(16) ( "id" => string(1) "7" "poradi" => string(1) "2" "photo_src" => string(14) "rd-velikova-ii" "available_languages" => string(1) "7" "reference_id" => string(1) "7" "language_id" => string(1) "1" "route_id" => string(2) "32" "title" => string(16) "RD Velíková II" "description" => string(0) "" "keywords" => string(0) "" "nazev" => string(16) "RD Velíková II" "nadpis" => string(16) "RD Velíková II" "uvodni_popis" => string(35) "Rodínný dům Velíková II.<br />" "popis" => string(0) "" "zobrazit" => string(1) "1" "nazev_seo" => string(14) "rd-velikova-ii" ) 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(9) "reference" protected _object_plural => string(10) "references" protected _table_name => string(10) "references" protected _table_columns => array(4) ( "id" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(3) "int" "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" ) "poradi" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "poradi" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "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 3 "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" ) "available_languages" => array(12) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "available_languages" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _ignored_columns => array(11) ( "reference_id" => string(12) "reference_id" "language_id" => string(11) "language_id" "route_id" => string(8) "route_id" "title" => string(5) "title" "description" => string(11) "description" "keywords" => string(8) "keywords" "nazev" => string(5) "nazev" "nadpis" => string(6) "nadpis" "uvodni_popis" => string(12) "uvodni_popis" "popis" => string(5) "popis" "zobrazit" => string(8) "zobrazit" ) 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)
}{ protected _connection_id => string(40) "d0afc6f8cccbabc6b17afaa35a4928c2d8541f37" protected _identifier => string(1) "`" public last_query => string(480) "SELECT `reference_data`.*, `routes`.`nazev_seo` AS `nazev_seo`, `references`.* FROM `references` LEFT JOIN `reference_data` ON ( …" 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)
public service_page => object Service_Page(10){ 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(9) "reference" public action => string(6) "detail" public uri => string(40) "internal/reference/detail/rd-velikova-ii" protected _params => array(1) ( "id1" => string(14) "rd-velikova-ii" ) }{ 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 => NULL private unrelated_page_orm => NULL private navigation_structure => NULL private selected_language => NULL private index_routes => array(0) }
}1
array(1) ( "id1" => string(14) "rd-velikova-ii" )
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(14) "rd-velikova-ii"
-
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(14) "rd-velikova-ii" protected _params => array(1) ( "id1" => string(14) "rd-velikova-ii" ) }1
array(1) ( "id1" => string(14) "rd-velikova-ii" )
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;