SYSPATH/classes/Controller.php [ 57 ]
52
53 $requestLang = ORM::factory('Languages')->getRequestLang($this->request);
54 $orm = new $class();
55
56 $result = $orm->where($orm->getBinding(),'=',$param)->setEnabled()->find($requestLang['lang']);
57 if (!$result->loaded()) throw HTTP_Exception::factory(404,'The page not found!');
58
59 return $result;
60 }
61 }
-
SYSPATH/classes/Controller.php [ 42 ] » Controller->assingVariable(arguments)
0
string(17) "Model\Attractions"
1
string(49) "kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5"
37 $method = new ReflectionMethod($this, $action); 38 $params = $this->request->param(); 39 40 foreach ($method->getParameters() as $parameter) { 41 if (array_key_exists($parameter->getName(),$params)) { 42 $result[] = $this->assingVariable($parameter->getClass()->getName(),$params[$parameter->getName()]); 43 } 44 } 45 46 return $result; 47 }
-
SYSPATH/classes/Controller.php [ 22 ] » Controller->getMethodParams(arguments)
0
string(14) "action_details"
17 'The requested URL :uri was not found on this server.', 18 array(':uri' => $this->request->uri()) 19 )->request($this->request); 20 } 21 22 $params = $this->getMethodParams($action); 23 24 // Execute the action itself 25 call_user_func_array(array($this, $action), $params); 26 27 // Execute the "after action" method
-
{PHP internal call} » Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_Attraction(6)
{ public template => string(23) "Attraction/details.twig" public twig => object Twig_Environment(34)
{ protected charset => string(5) "UTF-8" protected loader => object Twig_Loader_Filesystem(4)
public auto_render => bool TRUE public context => object stdClass(5){ protected paths => array(1) ( "__main__" => array(9) ( 0 => string(54) "/var/www/guide2visit_eu/web/frontend/application/views" 1 => string(45) "/var/www/guide2visit_eu/web/core/minion/views" 2 => string(42) "/var/www/guide2visit_eu/web/core/orm/views" 3 => string(47) "/var/www/guide2visit_eu/web/core/jshelper/views" 4 => string(44) "/var/www/guide2visit_eu/web/core/files/views" 5 => string(50) "/var/www/guide2visit_eu/web/core/formbuilder/views" 6 => string(44) "/var/www/guide2visit_eu/web/core/pager/views" 7 => string(45) "/var/www/guide2visit_eu/web/core/mailer/views" 8 => string(46) "/var/www/guide2visit_eu/web/core/helpers/views" ) ) protected cache => array(0) protected errorCache => array(0) private rootPath => string(37) "/var/www/guide2visit_eu/web/frontend/" }
protected debug => bool TRUE protected autoReload => bool TRUE protected cache => object Twig_Cache_Filesystem(2){ private directory => string(60) "/var/www/guide2visit_eu/web/frontend/application/cache/twig/" private options => integer 0 }
protected lexer => NULL protected parser => NULL protected compiler => NULL protected baseTemplateClass => string(13) "Twig_Template" protected extensions => array(6) ( "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) }
"debug" => object Twig_Extension_Debug(0){ }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => string(4) "html" }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"string_loader" => object Twig_Extension_StringLoader(0){ }
"view_extension" => object View_Extensions(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) }
private originalCache => string(59) "/var/www/guide2visit_eu/web/frontend/application/cache/twig" private bcWriteCacheFile => bool FALSE private bcGetCacheFilename => bool FALSE private lastModifiedExtension => integer 0 private extensionsByClass => array(6) ( "Twig_Extension_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) }
"Twig_Extension_Debug" => object Twig_Extension_Debug(0){ }
"Twig_Extension_Escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => string(4) "html" }
"Twig_Extension_Optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"Twig_Extension_StringLoader" => object Twig_Extension_StringLoader(0){ }
"View_Extensions" => object View_Extensions(0){ }
) private runtimeLoaders => array(0) private runtimes => array(0) private optionsHash => string(88) "core:debug:escaper:optimizer:string_loader:view_extension:0:5:6:1.30.0:1:Twig_Template:0" }{ public title => string(7) "Welcome" public meta_keywords => string(0) "" public meta_description => string(0) "" public meta_copywrite => string(0) "" public landscapes => array(5) ( 0 => object Model\Text\Landscapes(56)
public request => object Request(19){ protected _table_name => string(15) "text_landscapes" protected _primary_key => string(5) "tl_id" protected form => string(14) "textlandscapes" protected _translate_fields => array(1) ( 0 => string(7) "tl_name" ) protected queries => array(0) protected is_nested_tree => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "tl_id" => string(1) "1" "tl_name" => string(18) "Őrség-Vendvidék" "tl_slug" => string(15) "orseg-vendvidek" ) protected _changed => array(0) protected _original_values => array(3) ( "tl_id" => string(1) "1" "tl_name" => string(18) "Őrség-Vendvidék" "tl_slug" => string(15) "orseg-vendvidek" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(15) "text\landscapes" protected _object_plural => string(17) "text\landscapeses" protected _table_columns => array(3) ( "tl_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "tl_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tl_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tl_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "1" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
1 => object Model\Text\Landscapes(56){ protected _connection_id => string(40) "00b7320a074cea212cb03cfa5b2e086c537c0f29" protected _identifier => string(1) "`" public last_query => string(872) "SELECT `attractions`.`at_id` AS `at_id`, `attractions`.`at_tc_id` AS `at_tc_id`, `attractions`.`at_tl_id` AS `at_tl_id`, `attrac …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL 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 _cast_data => array(0) protected _errors_filename => string(15) "text\landscapes" protected enabledField => NULL protected orderField => NULL protected orderDependencies => array(0) protected defaultField => NULL protected defaultDependencies => array(0) protected uploadSettings => array(0) protected files => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _soft_delete_field => NULL protected _validation_messages => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => bool FALSE protected is_translate_orm => bool FALSE protected schema => array(0) protected binding => NULL protected hasLogging => bool FALSE protected entity => NULL }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "127.0.0.1" "database" => string(13) "1_guide2visit" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE ) }{ protected _table_name => string(15) "text_landscapes" protected _primary_key => string(5) "tl_id" protected form => string(14) "textlandscapes" protected _translate_fields => array(1) ( 0 => string(7) "tl_name" ) protected queries => array(0) protected is_nested_tree => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "tl_id" => string(1) "2" "tl_name" => string(14) "Göcsej-Hetés" "tl_slug" => string(12) "gocsej-hetes" ) protected _changed => array(0) protected _original_values => array(3) ( "tl_id" => string(1) "2" "tl_name" => string(14) "Göcsej-Hetés" "tl_slug" => string(12) "gocsej-hetes" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(15) "text\landscapes" protected _object_plural => string(17) "text\landscapeses" protected _table_columns => array(3) ( "tl_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "tl_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tl_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tl_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "2" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
2 => object Model\Text\Landscapes(56){ protected _connection_id => string(40) "00b7320a074cea212cb03cfa5b2e086c537c0f29" protected _identifier => string(1) "`" public last_query => string(872) "SELECT `attractions`.`at_id` AS `at_id`, `attractions`.`at_tc_id` AS `at_tc_id`, `attractions`.`at_tl_id` AS `at_tl_id`, `attrac …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL 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 _cast_data => array(0) protected _errors_filename => string(15) "text\landscapes" protected enabledField => NULL protected orderField => NULL protected orderDependencies => array(0) protected defaultField => NULL protected defaultDependencies => array(0) protected uploadSettings => array(0) protected files => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _soft_delete_field => NULL protected _validation_messages => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => bool FALSE protected is_translate_orm => bool FALSE protected schema => array(0) protected binding => NULL protected hasLogging => bool FALSE protected entity => NULL }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "127.0.0.1" "database" => string(13) "1_guide2visit" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE ) }{ protected _table_name => string(15) "text_landscapes" protected _primary_key => string(5) "tl_id" protected form => string(14) "textlandscapes" protected _translate_fields => array(1) ( 0 => string(7) "tl_name" ) protected queries => array(0) protected is_nested_tree => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "tl_id" => string(1) "3" "tl_name" => string(11) "Muraszombat" "tl_slug" => string(11) "muraszombat" ) protected _changed => array(0) protected _original_values => array(3) ( "tl_id" => string(1) "3" "tl_name" => string(11) "Muraszombat" "tl_slug" => string(11) "muraszombat" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(15) "text\landscapes" protected _object_plural => string(17) "text\landscapeses" protected _table_columns => array(3) ( "tl_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "tl_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tl_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tl_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "3" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
3 => object Model\Text\Landscapes(56){ protected _connection_id => string(40) "00b7320a074cea212cb03cfa5b2e086c537c0f29" protected _identifier => string(1) "`" public last_query => string(872) "SELECT `attractions`.`at_id` AS `at_id`, `attractions`.`at_tc_id` AS `at_tc_id`, `attractions`.`at_tl_id` AS `at_tl_id`, `attrac …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL 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 _cast_data => array(0) protected _errors_filename => string(15) "text\landscapes" protected enabledField => NULL protected orderField => NULL protected orderDependencies => array(0) protected defaultField => NULL protected defaultDependencies => array(0) protected uploadSettings => array(0) protected files => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _soft_delete_field => NULL protected _validation_messages => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => bool FALSE protected is_translate_orm => bool FALSE protected schema => array(0) protected binding => NULL protected hasLogging => bool FALSE protected entity => NULL }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "127.0.0.1" "database" => string(13) "1_guide2visit" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE ) }{ protected _table_name => string(15) "text_landscapes" protected _primary_key => string(5) "tl_id" protected form => string(14) "textlandscapes" protected _translate_fields => array(1) ( 0 => string(7) "tl_name" ) protected queries => array(0) protected is_nested_tree => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "tl_id" => string(1) "4" "tl_name" => string(6) "Lendva" "tl_slug" => string(6) "lendva" ) protected _changed => array(0) protected _original_values => array(3) ( "tl_id" => string(1) "4" "tl_name" => string(6) "Lendva" "tl_slug" => string(6) "lendva" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(15) "text\landscapes" protected _object_plural => string(17) "text\landscapeses" protected _table_columns => array(3) ( "tl_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "tl_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tl_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tl_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "4" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
4 => object Model\Text\Landscapes(56){ protected _connection_id => string(40) "00b7320a074cea212cb03cfa5b2e086c537c0f29" protected _identifier => string(1) "`" public last_query => string(872) "SELECT `attractions`.`at_id` AS `at_id`, `attractions`.`at_tc_id` AS `at_tc_id`, `attractions`.`at_tl_id` AS `at_tl_id`, `attrac …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL 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 _cast_data => array(0) protected _errors_filename => string(15) "text\landscapes" protected enabledField => NULL protected orderField => NULL protected orderDependencies => array(0) protected defaultField => NULL protected defaultDependencies => array(0) protected uploadSettings => array(0) protected files => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _soft_delete_field => NULL protected _validation_messages => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => bool FALSE protected is_translate_orm => bool FALSE protected schema => array(0) protected binding => NULL protected hasLogging => bool FALSE protected entity => NULL }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "127.0.0.1" "database" => string(13) "1_guide2visit" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE ) }{ protected _table_name => string(15) "text_landscapes" protected _primary_key => string(5) "tl_id" protected form => string(14) "textlandscapes" protected _translate_fields => array(1) ( 0 => string(7) "tl_name" ) protected queries => array(0) protected is_nested_tree => bool FALSE protected _has_one => array(0) protected _belongs_to => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(3) ( "tl_id" => string(1) "5" "tl_name" => string(4) "Ptuj" "tl_slug" => string(4) "ptuj" ) protected _changed => array(0) protected _original_values => array(3) ( "tl_id" => string(1) "5" "tl_name" => string(4) "Ptuj" "tl_slug" => string(4) "ptuj" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(15) "text\landscapes" protected _object_plural => string(17) "text\landscapeses" protected _table_columns => array(3) ( "tl_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "tl_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tl_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tl_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "tl_slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key_value => string(1) "5" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
) }{ protected _connection_id => string(40) "00b7320a074cea212cb03cfa5b2e086c537c0f29" protected _identifier => string(1) "`" public last_query => string(872) "SELECT `attractions`.`at_id` AS `at_id`, `attractions`.`at_tc_id` AS `at_tc_id`, `attractions`.`at_tl_id` AS `at_tl_id`, `attrac …" protected _instance => string(7) "default" protected _connection => object mysqli(19)
protected _db_group => NULL 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 _cast_data => array(0) protected _errors_filename => string(15) "text\landscapes" protected enabledField => NULL protected orderField => NULL protected orderDependencies => array(0) protected defaultField => NULL protected defaultDependencies => array(0) protected uploadSettings => array(0) protected files => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _soft_delete_field => NULL protected _validation_messages => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => bool FALSE protected is_translate_orm => bool FALSE protected schema => array(0) protected binding => NULL protected hasLogging => bool FALSE protected entity => NULL }{ public affected_rows => NULL public client_info => NULL public client_version => NULL public connect_errno => NULL public connect_error => NULL public errno => NULL public error => NULL public error_list => NULL public field_count => NULL public host_info => NULL public info => NULL public insert_id => NULL public server_info => NULL public server_version => NULL public stat => NULL public sqlstate => NULL public protocol_version => NULL public thread_id => NULL public warning_count => NULL }
protected _config => array(5) ( "type" => string(6) "MySQLi" "connection" => array(5) ( "hostname" => string(9) "127.0.0.1" "database" => string(13) "1_guide2visit" "port" => NULL "socket" => NULL "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool TRUE ) }{ 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(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(31) "vonzerok-reszletek/<attraction>" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(10) "attraction" "action" => string(7) "details" "lang" => string(2) "hu" ) protected _route_regex => string(53) "#^vonzerok-reszletek/(?P<attraction>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Attraction" protected _action => string(7) "details" protected _uri => string(68) "vonzerok-reszletek/kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" protected _external => bool FALSE protected _params => array(2) ( "attraction" => string(49) "kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" "lang" => string(2) "hu" ) protected _get => array(1) ( "/vonzerok-reszletek/kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" => string(0) "" ) protected _post => array(0) protected _cookies => array(0) protected _client => object Request_Client_Internal(9){ protected _previous_environment => NULL protected _cache => NULL protected _follow => bool FALSE protected _follow_headers => array(1) ( 0 => string(13) "Authorization" ) protected _strict_redirect => bool TRUE protected _header_callbacks => array(1) ( "Location" => string(34) "Request_Client::on_header_location" ) protected _max_callback_depth => integer 5 protected _callback_depth => integer 1 protected _callback_params => array(0) }
}{ protected _status => integer 200 protected _header => object HTTP_Header(0)
}{ }
protected _body => string(0) "" protected _cookies => array(0) protected _protocol => NULL }92 93 // Create a new instance of the controller 94 $controller = $class->newInstance($request, $response); 95 96 // Run the controller's execute() method 97 $response = $class->getMethod('execute')->invoke($controller); 98 99 if ( ! $response instanceof Response) 100 { 101 // Controller failed to return a Response. 102 throw new Kohana_Exception('Controller failed to return a Response');
-
SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.1" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(31) "vonzerok-reszletek/<attraction>" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(10) "attraction" "action" => string(7) "details" "lang" => string(2) "hu" ) protected _route_regex => string(53) "#^vonzerok-reszletek/(?P<attraction>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Attraction" protected _action => string(7) "details" protected _uri => string(68) "vonzerok-reszletek/kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" protected _external => bool FALSE protected _params => array(2) ( "attraction" => string(49) "kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" "lang" => string(2) "hu" ) protected _get => array(1) ( "/vonzerok-reszletek/kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" => string(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 => NULL }109 $orig_response = $response = Response::factory(); 110 111 if (($cache = $this->cache()) instanceof HTTP_Cache) 112 return $cache->execute($this, $request, $response); 113 114 $response = $this->execute_request($request, $response); 115 116 // Execute response callbacks 117 foreach ($this->header_callbacks() as $header => $callback) 118 { 119 if ($response->headers($header))
-
SYSPATH/classes/Request.php [ 85 ] » 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(5)
{ protected _filters => array(0) protected _uri => string(31) "vonzerok-reszletek/<attraction>" protected _regex => array(0) protected _defaults => array(3) ( "controller" => string(10) "attraction" "action" => string(7) "details" "lang" => string(2) "hu" ) protected _route_regex => string(53) "#^vonzerok-reszletek/(?P<attraction>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(10) "Attraction" protected _action => string(7) "details" protected _uri => string(68) "vonzerok-reszletek/kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" protected _external => bool FALSE protected _params => array(2) ( "attraction" => string(49) "kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" "lang" => string(2) "hu" ) protected _get => array(1) ( "/vonzerok-reszletek/kerekparral-a-himfai-tohoz-es-parkerdohoz-orseg-5" => string(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) }
}80 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 81 ':uri' => $this->_uri, 82 )); 83 } 84 85 return $this->_client->execute($this); 86 } 87 88 }
-
MODPATH/var/www/guide2visit_eu/web/frontend/index.php [ 121 ] » Request->execute()
116 /** 117 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 118 * If no source is specified, the URI will be automatically detected. 119 */ 120 echo Request::factory(TRUE, array(), FALSE) 121 ->execute() 122 ->send_headers(TRUE) 123 ->body(); 124 }