APPPATH/classes/Controller/Website.php [ 220 ]
215 $this -> template -> set('content', json_encode(array("status"=>"0","text"=>$text)));
216 $this->response->body(json_encode(array("status"=>"0","text"=>$text)) );
217 return false;
218 }else{
219 //Log::instance()->add(Log::ERROR,'hasedit false checkEditingPermission else');
220 throw new Kohana_Exception($text);
221 }
222
223
224 //Log::instance()->add(Log::ERROR,'checkEditingPermission vege');
225 /*throw new Kohana_Exception(
-
APPPATH/classes/Controller/AgilityTeamRun.php [ 870 ] » Controller_Website->checkEditingPermission(arguments)
0
object Model_Event(34)
{ protected _belongs_to => array(1) ( "user" => array(2) ( "model" => string(4) "User" "foreign_key" => string(7) "user_id" ) ) protected _has_many => array(8) ( "entries" => array(4) ( "model" => string(5) "Entry" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(8) "entry_id" ) "teamEntries" => array(4) ( "model" => string(9) "TeamEntry" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(12) "teamentry_id" ) "dogShowResults" => array(4) ( "model" => string(14) "Result_DogShow" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(16) "dogshowresult_id" ) "runs" => array(4) ( "model" => string(10) "AgilityRun" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(6) "run_id" ) "teamRuns" => array(4) ( "model" => string(14) "AgilityTeamRun" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(10) "teamrun_id" ) "courses" => array(4) ( "model" => string(13) "AgilityCourse" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(8) "cours_id" ) "lunchOptions" => array(4) ( "model" => string(11) "LunchOption" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(14) "lunchoption_id" ) "dailyApplications" => array(4) ( "model" => string(16) "DailyApplication" "foreign_key" => string(8) "event_id" "through" => NULL "far_key" => string(19) "dailyapplication_id" ) ) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(37) ( "id" => string(2) "25" "type" => string(1) "a" "name" => string(20) "Országos Bajnokság" "long_name" => string(25) "XIV. Országos Bajnokság" "location" => string(52) "Futsal Aréna 2310 Szigetszentmiklós, Sport u. 8. " "event_date" => string(10) "2017-11-03" "event_date_end" => string(10) "2017-11-05" "fast_dog_add" => string(1) "0" "created" => string(19) "2017-10-30 23:01:24" "updated" => string(19) "2017-11-01 18:33:22" "user_id" => string(6) "199513" "organizer_id" => NULL "accept_entries" => string(1) "0" "description" => string(0) "" "schedule" => string(0) "" "lunch_option" => string(1) "0" "daily_application" => string(1) "1" "entry_fee_first" => string(0) "" "entry_fee_second" => string(0) "" "entry_fee_daily_first" => string(0) "" "entry_fee_daily_second" => string(0) "" "participants_min" => string(1) "0" "participants_max" => string(1) "0" "allowed_classes" => string(8) "A1,A2,A3" "locationPointZoom" => string(2) "18" "locationPointLat" => string(18) "47.352907333914885" "locationPointLng" => string(18) "19.054015908586738" "qualification" => string(1) "0" "qualification2" => string(1) "0" "hide_quali_scores" => string(1) "0" "official" => string(1) "1" "team" => string(1) "1" "teamsize" => string(1) "3" "tent_reservation" => string(1) "0" "hide_startlists" => string(1) "0" "substitute_id" => NULL "participant_count_str" => string(0) "" ) protected _changed => array(0) protected _original_values => array(37) ( "id" => string(2) "25" "type" => string(1) "a" "name" => string(20) "Országos Bajnokság" "long_name" => string(25) "XIV. Országos Bajnokság" "location" => string(52) "Futsal Aréna 2310 Szigetszentmiklós, Sport u. 8. " "event_date" => string(10) "2017-11-03" "event_date_end" => string(10) "2017-11-05" "fast_dog_add" => string(1) "0" "created" => string(19) "2017-10-30 23:01:24" "updated" => string(19) "2017-11-01 18:33:22" "user_id" => string(6) "199513" "organizer_id" => NULL "accept_entries" => string(1) "0" "description" => string(0) "" "schedule" => string(0) "" "lunch_option" => string(1) "0" "daily_application" => string(1) "1" "entry_fee_first" => string(0) "" "entry_fee_second" => string(0) "" "entry_fee_daily_first" => string(0) "" "entry_fee_daily_second" => string(0) "" "participants_min" => string(1) "0" "participants_max" => string(1) "0" "allowed_classes" => string(8) "A1,A2,A3" "locationPointZoom" => string(2) "18" "locationPointLat" => string(18) "47.352907333914885" "locationPointLng" => string(18) "19.054015908586738" "qualification" => string(1) "0" "qualification2" => string(1) "0" "hide_quali_scores" => string(1) "0" "official" => string(1) "1" "team" => string(1) "1" "teamsize" => string(1) "3" "tent_reservation" => string(1) "0" "hide_startlists" => string(1) "0" "substitute_id" => NULL "participant_count_str" => string(0) "" ) 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(5) "event" protected _object_plural => string(6) "events" protected _table_name => string(6) "events" protected _table_columns => array(37) ( "id" => array(13) ( "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 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "type" "column_default" => string(1) "a" "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(1) "1" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(2) "80" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "long_name" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "long_name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(3) "255" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "location" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "location" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(3) "255" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "event_date" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "event_date" "column_default" => NULL "data_type" => string(4) "date" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "event_date_end" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "event_date_end" "column_default" => NULL "data_type" => string(4) "date" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "fast_dog_add" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "fast_dog_add" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "created" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "updated" => array(10) ( "type" => string(6) "string" "column_name" => string(7) "updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "user_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(7) "user_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "organizer_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(12) "organizer_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "accept_entries" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(14) "accept_entries" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "description" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "schedule" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(8) "schedule" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lunch_option" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(12) "lunch_option" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 16 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "daily_application" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(17) "daily_application" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 17 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "entry_fee_first" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "entry_fee_first" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "character_maximum_length" => string(2) "50" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "entry_fee_second" => array(12) ( "type" => string(6) "string" "column_name" => string(16) "entry_fee_second" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "character_maximum_length" => string(2) "50" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "entry_fee_daily_first" => array(12) ( "type" => string(6) "string" "column_name" => string(21) "entry_fee_daily_first" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "character_maximum_length" => string(2) "50" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "entry_fee_daily_second" => array(12) ( "type" => string(6) "string" "column_name" => string(22) "entry_fee_daily_second" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "character_maximum_length" => string(2) "50" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "participants_min" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(16) "participants_min" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "participants_max" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(16) "participants_max" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "display" => string(1) "3" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "allowed_classes" => array(12) ( "type" => string(6) "string" "column_name" => string(15) "allowed_classes" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "character_maximum_length" => string(2) "30" "collation_name" => string(17) "utf8_hungarian_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "locationPointZoom" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(17) "locationPointZoom" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 25 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "locationPointLat" => array(10) ( "type" => string(5) "float" "column_name" => string(16) "locationPointLat" "column_default" => string(1) "0" "data_type" => string(6) "double" "is_nullable" => bool FALSE "ordinal_position" => integer 26 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "locationPointLng" => array(10) ( "type" => string(5) "float" "column_name" => string(16) "locationPointLng" "column_default" => string(1) "0" "data_type" => string(6) "double" "is_nullable" => bool FALSE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "qualification" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "qualification" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "qualification2" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(14) "qualification2" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "hide_quali_scores" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(17) "hide_quali_scores" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "official" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "official" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "team" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "team" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 32 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "teamsize" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "teamsize" "column_default" => string(1) "3" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 33 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tent_reservation" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(16) "tent_reservation" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 34 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "hide_startlists" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(15) "hide_startlists" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 35 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "substitute_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(13) "substitute_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "participant_count_str" => array(12) ( "type" => string(6) "string" "column_name" => string(21) "participant_count_str" "column_default" => string(3) "0/0" "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 37 "character_maximum_length" => string(3) "255" "collation_name" => string(17) "utf8_hungarian_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 => string(2) "id" protected _primary_key_value => string(2) "25" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)
{ protected _connection_id => string(40) "5d78326a12c96b7aac0276e6e64ae8cf772ab8f5" protected _identifier => string(1) "`" public last_query => string(1644) "SELECT `event`.`id` AS `id`, `event`.`type` AS `type`, `event`.`name` AS `name`, `event`.`long_name` AS `long_name`, `event`.`lo …" 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(5) "event" }{ 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(3) ( "hostname" => string(9) "localhost" "database" => string(12) "dogresultcom" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }865 866 public function action_recordresults() { 867 $id = $this->request->param('id'); 868 $run_id = $this->request->query('run_id'); 869 $event = new Model_Event($id); 870 if(!$this->checkEditingPermission($event)){ 871 return; 872 } 873 874 $caller_url = Arr::get($_GET, 'backurl'); 875 if(!$caller_url){
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_AgilityTeamRun->action_recordresults()
79 array(':uri' => $this->request->uri()) 80 )->request($this->request); 81 } 82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response
-
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0
object Controller_AgilityTeamRun(14)
{ protected user => NULL protected otheruser => NULL protected lang => string(2) "hu" protected lang_url => string(107) "/en/AgilityTeamRun/recordresults/25?run_id=9&backurl=%2Fhu%2FAgilityTeamRun%2Fview%2F9%2Fcsapat-osszetett-l" protected lang_url_text => NULL protected keyword => NULL protected meta_description => NULL protected registerCSS => array(0) protected registerJS => array(0) protected registerJSHead => array(0) public template => object View(2)
{ protected _file => string(55) "/var/www/dogresult/application/views/resulttemplate.php" protected _data => array(1) ( "chartContent" => string(0) "" ) }
public auto_render => bool TRUE public request => 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)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(41) "(<lang>/)(<controller>(/<action>(/<id>)))" protected _regex => array(2) ( "lang" => string(10) "(hu|en|xx)" "id" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "hu" "controller" => string(5) "event" "action" => string(5) "index" ) protected _route_regex => string(111) "#^(?:(?P<lang>(hu|en|xx))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>.+))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "AgilityTeamRun" protected _action => string(13) "recordresults" protected _uri => string(34) "hu/AgilityTeamRun/recordresults/25" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "hu" "id" => string(2) "25" ) protected _get => array(2) ( "run_id" => string(1) "9" "backurl" => string(44) "/hu/AgilityTeamRun/view/9/csapat-osszetett-l" ) 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 => string(8) "HTTP/1.1" }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(41) "(<lang>/)(<controller>(/<action>(/<id>)))" protected _regex => array(2) ( "lang" => string(10) "(hu|en|xx)" "id" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "hu" "controller" => string(5) "event" "action" => string(5) "index" ) protected _route_regex => string(111) "#^(?:(?P<lang>(hu|en|xx))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>.+))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "AgilityTeamRun" protected _action => string(13) "recordresults" protected _uri => string(34) "hu/AgilityTeamRun/recordresults/25" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "hu" "id" => string(2) "25" ) protected _get => array(2) ( "run_id" => string(1) "9" "backurl" => string(44) "/hu/AgilityTeamRun/view/9/csapat-osszetett-l" ) 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))
-
SYSPATH/classes/Kohana/Request.php [ 997 ] » 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(41) "(<lang>/)(<controller>(/<action>(/<id>)))" protected _regex => array(2) ( "lang" => string(10) "(hu|en|xx)" "id" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "hu" "controller" => string(5) "event" "action" => string(5) "index" ) protected _route_regex => string(111) "#^(?:(?P<lang>(hu|en|xx))/)?(?:(?P<controller>[^/.,;?\n]++)(?:/(?P<action>[^/.,;?\n]++)(?:/(?P<id>.+))?)?)?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(14) "AgilityTeamRun" protected _action => string(13) "recordresults" protected _uri => string(34) "hu/AgilityTeamRun/recordresults/25" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "hu" "id" => string(2) "25" ) protected _get => array(2) ( "run_id" => string(1) "9" "backurl" => string(44) "/hu/AgilityTeamRun/view/9/csapat-osszetett-l" ) 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) }
}992 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 993 ':uri' => $this->_uri, 994 )); 995 } 996 997 return $this->_client->execute($this); 998 } 999 1000 /** 1001 * Returns whether this request is the initial request Kohana received. 1002 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 125 ] » Kohana_Request->execute()
120 /** 121 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 122 * If no source is specified, the URI will be automatically detected. 123 */ 124 echo Request::factory(TRUE, array(), FALSE) 125 ->execute() 126 ->send_headers(TRUE) 127 ->body(); 128 }