MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/database/classes/Kohana/Database/MySQL.php [ 194 ]
189 {
190 // This benchmark is worthless
191 Profiler::delete($benchmark);
192 }
193
194 throw new Database_Exception(':error [ :query ]',
195 array(':error' => mysql_error($this->_connection), ':query' => $sql),
196 mysql_errno($this->_connection));
197 }
198
199 if (isset($benchmark))
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(307) "SELECT `docs`.`doc_id` AS `doc_id`, `docs`.`doc_dmt_id` AS `doc_dmt_id`, `docs`.`doc_dst_id` AS `doc_dst_id`, `docs`.`doc_name` …"
2
string(10) "Model_Docs"
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params); 247 } 248 } 249 250 // Execute the query 251 $result = $db->query($this->_type, $sql, $as_object, $object_params); 252 253 if (isset($cache_key) AND $this->_lifetime > 0) 254 { 255 // Cache the result array 256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/Kohana/ORM.php [ 1060 ] » Kohana_Database_Query->execute(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => string(40) "28fcd6006601f0584d9fa9e3491db39a264f12fc" protected _identifier => string(1) "`" public last_query => string(147) "SELECT COUNT(*) AS `records_found` FROM `documents` AS `docs` WHERE `docs`.`doc_dst_id` = '2' ORDER BY `doc_dmt_id`, `doc_dst_id …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "127.0.0.1" "database" => string(17) "43_lukacshaza_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
1055 } 1056 1057 if ($multiple === TRUE) 1058 { 1059 // Return database iterator casting to this object type 1060 $result = $this->_db_builder->as_object(get_class($this))->execute($this->_db); 1061 1062 $this->reset(); 1063 1064 return $result; 1065 }
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/Kohana/ORM.php [ 1001 ] » Kohana_ORM->_load_result(arguments)
0
bool TRUE
996 } 997 } 998 999 $this->_build(Database::SELECT); 1000 1001 return $this->_load_result(TRUE); 1002 } 1003 1004 /** 1005 * Returns an array of columns to include in the select query. This method 1006 * can be overridden to change the default select behavior.
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/ORM.php [ 376 ] » Kohana_ORM->find_all()
371 $this->_changed = array(); 372 } 373 374 public function find_all($lang = null) 375 { 376 $records = parent::find_all()->as_array(); 377 378 $this->queries[] = Database::instance()->last_query; 379 380 if (!$lang) { 381 return $records;
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/core/orm/classes/ORM.php [ 906 ] » ORM->find_all(arguments)
0
string(2) "hu"
901 $max = ceil($sum/$limit); 902 903 $records = $records 904 ->offset(($page-1)*$limit) 905 ->limit($limit) 906 ->find_all(I18n::$lang); 907 908 return array( 909 'page'=>$page, 910 'limit'=>$limit, 911 'max'=>$max,
-
APPPATH/classes/Controller/Council.php [ 75 ] » ORM->getForPage(arguments)
0
string(1) "0"
1
integer 5
70 71 $this->context->breadcumbs = $breadcumbs; 72 $this->context->doctype = $doctype; 73 $this->context->main = $main; 74 75 $this->context->docs = $doctype->docs->setAllOrder('desc')->getForPage($this->request->param('page'),5); 76 } 77 78 public function action_ajax() 79 { 80 if (!$this->request->is_ajax()) {
-
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Council->action_docs()
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_Council(6)
{ public template => string(17) "Council/docs.twig" public twig => object Twig_Environment(26)
{ protected charset => string(5) "UTF-8" protected loader => object Twig_Loader_Filesystem(2)
public auto_render => bool TRUE public context => object stdClass(7){ protected paths => array(1) ( "__main__" => array(7) ( 0 => string(65) "/var/www/vhosts/lukacshaza.hu/httpdocs/frontend/application/views" 1 => string(56) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/minion/views" 2 => string(58) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/jshelper/views" 3 => string(55) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/files/views" 4 => string(61) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/formbuilder/views" 5 => string(55) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/pager/views" 6 => string(59) "/var/www/vhosts/lukacshaza.hu/httpdocs/core/statistic/views" ) ) protected cache => array(0) }
protected debug => bool TRUE protected autoReload => bool TRUE protected cache => string(70) "/var/www/vhosts/lukacshaza.hu/httpdocs/frontend/application/cache/twig" 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) }
"escaper" => object Twig_Extension_Escaper(1){ protected defaultStrategy => string(4) "html" }
"optimizer" => object Twig_Extension_Optimizer(1){ protected optimizers => integer -1 }
"debug" => object Twig_Extension_Debug(0){ }
"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) }
}{ public title => string(21) "Egyéb nyomtatványok" public meta_keywords => string(0) "" public meta_description => string(0) "" public meta_copywrite => string(0) "" public breadcumbs => array(3) ( 0 => array(2) ( "title" => string(14) "Önkormányzat" "url" => string(34) "https://lukacshaza.hu/onkormanyzat" ) 1 => array(2) ( "title" => string(19) "Formanyomtatványok" "url" => string(53) "https://lukacshaza.hu/onkormanyzat/formanyomtatvanyok" ) 2 => array(1) ( "title" => string(21) "Egyéb nyomtatványok" ) ) public doctype => object Model_Docsubtype(46)
public request => object Request(19){ protected _table_name => string(16) "document_subtype" protected _primary_key => string(6) "dst_id" protected form => string(10) "docsubtype" protected _belongs_to => array(1) ( "type" => array(2) ( "foreign_key" => string(10) "dst_dmt_id" "model" => string(7) "Doctype" ) ) protected _has_many => array(1) ( "docs" => array(4) ( "foreign_key" => string(10) "doc_dst_id" "through" => NULL "far_key" => string(6) "doc_id" "model" => string(4) "Docs" ) ) protected _validation_messages => bool FALSE protected _translate_fields => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => string(2) "hu" protected uploadSettings => array(0) protected files => array(0) protected queries => array(1) ( 0 => string(286) "SELECT `docsubtype`.`dst_id` AS `dst_id`, `docsubtype`.`dst_dmt_id` AS `dst_dmt_id`, `docsubtype`.`dst_name` AS `dst_name`, `doc …" ) protected orderField => NULL protected orderDependences => array(0) protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "dst_id" => string(1) "2" "dst_dmt_id" => string(1) "5" "dst_name" => string(21) "Egyéb nyomtatványok" "dst_slug" => string(19) "egyeb-nyomtatvanyok" ) protected _changed => array(0) protected _original_values => array(4) ( "dst_id" => string(1) "2" "dst_dmt_id" => string(1) "5" "dst_name" => string(21) "Egyéb nyomtatványok" "dst_slug" => string(19) "egyeb-nyomtatvanyok" ) protected _related => array(1) ( "type" => object Model_Doctype(46)
public main => object Model_Mainmenus(46){ protected _table_name => string(13) "document_type" protected _primary_key => string(6) "dmt_id" protected form => string(7) "doctype" protected _has_many => array(2) ( "subs" => array(4) ( "foreign_key" => string(10) "dst_dmt_id" "through" => NULL "far_key" => string(6) "sub_id" "model" => string(10) "Docsubtype" ) "docs" => array(4) ( "foreign_key" => string(10) "doc_dmt_id" "through" => NULL "far_key" => string(6) "doc_id" "model" => string(4) "Docs" ) ) protected _validation_messages => bool FALSE protected _translate_fields => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => string(2) "hu" protected uploadSettings => array(0) protected files => array(0) protected queries => array(1) ( 0 => string(228) "SELECT `doctype`.`dmt_id` AS `dmt_id`, `doctype`.`dmt_name` AS `dmt_name`, `doctype`.`dmt_slug` AS `dmt_slug`, `doctype`.`dmt_sh …" ) protected orderField => NULL protected orderDependences => array(0) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(4) ( "dmt_id" => string(1) "5" "dmt_name" => string(19) "Formanyomtatványok" "dmt_slug" => string(18) "formanyomtatvanyok" "dmt_show_menu" => string(1) "1" ) protected _changed => array(0) protected _original_values => array(4) ( "dmt_id" => string(1) "5" "dmt_name" => string(19) "Formanyomtatványok" "dmt_slug" => string(18) "formanyomtatvanyok" "dmt_show_menu" => string(1) "1" ) 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(7) "doctype" protected _object_plural => string(8) "doctypes" protected _table_columns => array(4) ( "dmt_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "dmt_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" ) "dmt_name" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "dmt_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" ) "dmt_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "dmt_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" ) "dmt_show_menu" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(13) "dmt_show_menu" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "display" => string(1) "1" "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_MySQL(6)
) 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(10) "docsubtype" protected _object_plural => string(11) "docsubtypes" protected _table_columns => array(4) ( "dst_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "dst_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" ) "dst_dmt_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "dst_dmt_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "dst_name" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "dst_name" "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" ) "dst_slug" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "dst_slug" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "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_MySQL(6){ protected _connection_id => string(40) "28fcd6006601f0584d9fa9e3491db39a264f12fc" protected _identifier => string(1) "`" public last_query => string(147) "SELECT COUNT(*) AS `records_found` FROM `documents` AS `docs` WHERE `docs`.`doc_dst_id` = '2' ORDER BY `doc_dmt_id`, `doc_dst_id …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "127.0.0.1" "database" => string(17) "43_lukacshaza_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
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(7) "doctype" }{ protected _connection_id => string(40) "28fcd6006601f0584d9fa9e3491db39a264f12fc" protected _identifier => string(1) "`" public last_query => string(147) "SELECT COUNT(*) AS `records_found` FROM `documents` AS `docs` WHERE `docs`.`doc_dst_id` = '2' ORDER BY `doc_dmt_id`, `doc_dst_id …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "127.0.0.1" "database" => string(17) "43_lukacshaza_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
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(10) "docsubtype" }{ protected _table_name => string(5) "menus" protected _primary_key => string(5) "me_id" protected form => string(9) "mainmenus" protected orderField => string(8) "me_order" protected _has_many => array(3) ( "subs" => array(4) ( "foreign_key" => string(8) "sm_me_id" "through" => NULL "far_key" => string(6) "sub_id" "model" => string(7) "Submenu" ) "news" => array(4) ( "foreign_key" => string(8) "sn_me_id" "through" => NULL "far_key" => string(7) "news_id" "model" => string(9) "Sportnews" ) "tiles" => array(4) ( "foreign_key" => string(8) "ti_me_id" "through" => NULL "far_key" => string(7) "tile_id" "model" => string(5) "Tiles" ) ) protected _validation_messages => bool FALSE protected _translate_fields => array(0) protected _created_by => bool FALSE protected _updated_by => bool FALSE protected _validation_dir => string(6) "models" protected currentLang => string(2) "hu" protected uploadSettings => array(0) protected files => array(0) protected queries => array(1) ( 0 => string(249) "SELECT `mainmenus`.`me_id` AS `me_id`, `mainmenus`.`me_name` AS `me_name`, `mainmenus`.`me_order` AS `me_order`, `mainmenus`.`me …" ) protected orderDependences => array(0) protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(5) ( "me_id" => string(1) "2" "me_name" => string(14) "Önkormányzat" "me_order" => string(1) "1" "me_slug" => string(12) "onkormanyzat" "me_desc" => string(692) "<p>Polgármester: Virág János</p> <p>9724 Lukácsháza, Szombathelyi út 2.</p> <p>Telefon/fax: 94/568-063</p> <p>Mobil: +36 30/384- …" ) protected _changed => array(0) protected _original_values => array(5) ( "me_id" => string(1) "2" "me_name" => string(14) "Önkormányzat" "me_order" => string(1) "1" "me_slug" => string(12) "onkormanyzat" "me_desc" => string(692) "<p>Polgármester: Virág János</p> <p>9724 Lukácsháza, Szombathelyi út 2.</p> <p>Telefon/fax: 94/568-063</p> <p>Mobil: +36 30/384- …" ) 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(9) "mainmenus" protected _object_plural => string(11) "mainmenuses" protected _table_columns => array(5) ( "me_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(5) "me_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" ) "me_name" => array(12) ( "type" => string(6) "string" "column_name" => string(7) "me_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" ) "me_order" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "me_order" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "me_slug" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "me_slug" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "me_desc" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(7) "me_desc" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "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_MySQL(6)
}{ protected _connection_id => string(40) "28fcd6006601f0584d9fa9e3491db39a264f12fc" protected _identifier => string(1) "`" public last_query => string(147) "SELECT COUNT(*) AS `records_found` FROM `documents` AS `docs` WHERE `docs`.`doc_dst_id` = '2' ORDER BY `doc_dmt_id`, `doc_dst_id …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "127.0.0.1" "database" => string(17) "43_lukacshaza_new" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }
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(9) "mainmenus" }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
public response => object Response(5){ protected _filters => array(0) protected _uri => string(34) "onkormanyzat/<slug>/<sub>(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "controller" => string(7) "council" "action" => string(4) "docs" "page" => integer 1 ) protected _route_regex => string(82) "#^onkormanyzat/(?P<slug>[^/.,;?\n]++)/(?P<sub>[^/.,;?\n]++)(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Council" protected _action => string(4) "docs" protected _uri => string(53) "onkormanyzat/formanyomtatvanyok/egyeb-nyomtatvanyok/0" protected _external => bool FALSE protected _params => array(3) ( "slug" => string(18) "formanyomtatvanyok" "sub" => string(19) "egyeb-nyomtatvanyok" "page" => string(1) "0" ) protected _get => array(1) ( "/onkormanyzat/formanyomtatvanyok/egyeb-nyomtatvanyok/0" => 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.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(34) "onkormanyzat/<slug>/<sub>(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "controller" => string(7) "council" "action" => string(4) "docs" "page" => integer 1 ) protected _route_regex => string(82) "#^onkormanyzat/(?P<slug>[^/.,;?\n]++)/(?P<sub>[^/.,;?\n]++)(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Council" protected _action => string(4) "docs" protected _uri => string(53) "onkormanyzat/formanyomtatvanyok/egyeb-nyomtatvanyok/0" protected _external => bool FALSE protected _params => array(3) ( "slug" => string(18) "formanyomtatvanyok" "sub" => string(19) "egyeb-nyomtatvanyok" "page" => string(1) "0" ) protected _get => array(1) ( "/onkormanyzat/formanyomtatvanyok/egyeb-nyomtatvanyok/0" => 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/Kohana/Request.php [ 990 ] » Kohana_Request_Client->execute(arguments)
0
object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool FALSE protected _referrer => NULL protected _route => object Route(5)
{ protected _filters => array(0) protected _uri => string(34) "onkormanyzat/<slug>/<sub>(/<page>)" protected _regex => array(1) ( "page" => string(3) "\d+" ) protected _defaults => array(3) ( "controller" => string(7) "council" "action" => string(4) "docs" "page" => integer 1 ) protected _route_regex => string(82) "#^onkormanyzat/(?P<slug>[^/.,;?\n]++)/(?P<sub>[^/.,;?\n]++)(?:/(?P<page>\d+))?$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Council" protected _action => string(4) "docs" protected _uri => string(53) "onkormanyzat/formanyomtatvanyok/egyeb-nyomtatvanyok/0" protected _external => bool FALSE protected _params => array(3) ( "slug" => string(18) "formanyomtatvanyok" "sub" => string(19) "egyeb-nyomtatvanyok" "page" => string(1) "0" ) protected _get => array(1) ( "/onkormanyzat/formanyomtatvanyok/egyeb-nyomtatvanyok/0" => 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) }
}985 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 986 ':uri' => $this->_uri, 987 )); 988 } 989 990 return $this->_client->execute($this); 991 } 992 993 /** 994 * Returns whether this request is the initial request Kohana received. 995 * Can be used to test for sub requests.
-
MODPATH/var/www/vhosts/lukacshaza.hu/httpdocs/frontend/index.php [ 124 ] » Kohana_Request->execute()
119 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 120 * If no source is specified, the URI will be automatically detected. 121 */ 122 123 echo Request::factory(TRUE, array(), FALSE) 124 ->execute() 125 ->send_headers(TRUE) 126 ->body(); 127 }