SYSPATH/classes/Kohana/URL.php [ 121 ]
116 }
117
118 // Validate $host, see if it matches trusted hosts
119 if ( ! static::is_trusted_host($host))
120 {
121 throw new Kohana_Exception(
122 'Untrusted host :host. If you trust :host, add it to the trusted hosts in the `url` config file.',
123 [':host' => $host]
124 );
125 }
126 }
-
SYSPATH/classes/Kohana/URL.php [ 159 ] » Kohana_URL::base(arguments)
0string(5) "https"1bool TRUE
2NULL
154 // Encode all non-ASCII characters, as per RFC 1738 155 $path = preg_replace_callback('~([^/#]+)~', 'URL::_rawurlencode_callback', $path); 156 } 157 158 // Concat the URL 159 return URL::base($protocol, $index, $subdomain).$path; 160 } 161 162 /** 163 * Callback used for encoding all non-ASCII characters, as per RFC 1738 164 * Used by URL::site() -
APPPATH/views/global/partials/languages.php [ 6 ] » Kohana_URL::site(arguments)
0string(10) "en/cookies"1bool TRUE
1 <div class="languages"> 2 <ul> 3 <? foreach(Kohana::$config->load('site.public_languages') as $k => $v): ?> 4 <? if($k == $lang) continue; ?> 5 <li> 6 <a href="<?=URL::base().$k;?>/api/redirect?from=<?=$lang;?>&url=<?=URL::site(Request::detect_uri(), TRUE) . URL::query();?>"><?=$v;?></a> 7 </li> 8 <? endforeach; ?> 9 </ul> 10 </div> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(75) "/home/mogotel/mogoteldh.com/application/views/global/partials/languages.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(75) "/home/mogotel/mogoteldh.com/application/views/global/partials/languages.php"1array(0)354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message. -
APPPATH/views/global/menu.php [ 19 ] » Kohana_View->__toString()
14 <ul> 15 <?=Helper_Section::public_tree();?> 16 </ul> 17 </div> 18 19 <?=View::factory('global/partials/languages');?> 20 21 <div class="bottom"> 22 <?=View::factory('global/partials/social');?> 23 <?=View::factory('global/partials/terms');?> 24 </div> -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(61) "/home/mogotel/mogoteldh.com/application/views/global/menu.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(61) "/home/mogotel/mogoteldh.com/application/views/global/menu.php"1array(0)354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/View.php [ 236 ] » Kohana_View->render()
231 */ 232 public function __toString() 233 { 234 try 235 { 236 return $this->render(); 237 } 238 catch (Exception $e) 239 { 240 /** 241 * Display the exception message. -
APPPATH/views/global/template.php [ 70 ] » Kohana_View->__toString()
65 <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KH2T6PH" 66 height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> 67 <?// endif; ?> 68 <? 69 if (!$hide_menu) { 70 echo View::factory('global/menu'); 71 } 72 73 echo $content; 74 75 echo View::factory('global/footer'); -
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0string(65) "/home/mogotel/mogoteldh.com/application/views/global/template.php"57 ob_start(); 58 59 try 60 { 61 // Load the view within the current scope 62 include $kohana_view_filename; 63 } 64 catch (Exception $e) 65 { 66 // Delete the output buffer 67 ob_end_clean(); -
SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)
0string(65) "/home/mogotel/mogoteldh.com/application/views/global/template.php"1array(1) ( "content" => object View(2)
{ protected _file => string(65) "/home/mogotel/mogoteldh.com/application/views/privacy/section.php" protected _data => array(2) ( "sections" => object Database_MySQLi_Result(7)){ protected _internal_row => integer 0 protected _query => string(420) "SELECT `privacy`.`id` AS `id`, `privacy`.`status` AS `status`, `privacy`.`section_id` AS `section_id`, `privacy`.`title` AS `tit …" protected _result => object mysqli_result(5)"logos" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(13) "Model_Privacy" protected _object_params => NULL }{ protected _internal_row => integer 0 protected _query => string(282) "SELECT `logos`.`id` AS `id`, `logos`.`title` AS `title`, `logos`.`image` AS `image`, `logos`.`list_order` AS `list_order`, `logo …" protected _result => object mysqli_result(5)) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }protected _total_rows => integer 12 protected _current_row => integer 0 protected _as_object => string(11) "Model_Logos" protected _object_params => NULL }354 { 355 throw new View_Exception('You must set the file to use within your view before rendering'); 356 } 357 358 // Combine local and global data and capture the output 359 return View::capture($this->_file, $this->_data); 360 } 361 362 } -
SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()
39 */ 40 public function after() 41 { 42 if ($this->auto_render === TRUE) 43 { 44 $this->response->body($this->template->render()); 45 } 46 47 parent::after(); 48 } 49 -
SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()
82 83 // Execute the action itself 84 $this->{$action}(); 85 86 // Execute the "after action" method 87 $this->after(); 88 89 // Return the response 90 return $this->response; 91 } 92 -
{PHP internal call} » Kohana_Controller->execute()
-
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)
0object Controller_Privacy(6)
{ public template => object View(2){ protected _file => string(65) "/home/mogotel/mogoteldh.com/application/views/global/template.php" protected _data => array(1) ( "content" => object View(2)public auto_render => bool TRUE protected section => object Model_Section(37){ protected _file => string(65) "/home/mogotel/mogoteldh.com/application/views/privacy/section.php" protected _data => array(2) ( "sections" => object Database_MySQLi_Result(7)) }{ protected _internal_row => integer 0 protected _query => string(420) "SELECT `privacy`.`id` AS `id`, `privacy`.`status` AS `status`, `privacy`.`section_id` AS `section_id`, `privacy`.`title` AS `tit …" protected _result => object mysqli_result(5)"logos" => object Database_MySQLi_Result(7){ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }protected _total_rows => integer 1 protected _current_row => integer 0 protected _as_object => string(13) "Model_Privacy" protected _object_params => NULL }{ protected _internal_row => integer 0 protected _query => string(282) "SELECT `logos`.`id` AS `id`, `logos`.`title` AS `title`, `logos`.`image` AS `image`, `logos`.`list_order` AS `list_order`, `logo …" protected _result => object mysqli_result(5)) }{ public current_field => NULL public field_count => NULL public lengths => NULL public num_rows => NULL public type => NULL }protected _total_rows => integer 12 protected _current_row => integer 0 protected _as_object => string(11) "Model_Logos" protected _object_params => NULL }{ protected _created_column => array(2) ( "column" => string(12) "date_created" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(12) "date_updated" "format" => string(11) "Y-m-d H:i:s" ) protected _sorting => array(1) ( "list_order" => string(3) "ASC" ) protected _has_one => array(1) ( "textdoc" => array(2) ( "foreign_key" => string(10) "section_id" "model" => string(7) "Textdoc" ) ) protected _has_many => array(1) ( "members" => array(4) ( "foreign_key" => string(10) "section_id" "model" => string(6) "People" "through" => NULL "far_key" => string(9) "member_id" ) ) protected _belongs_to => array(1) ( "gallery" => array(2) ( "foreign_key" => string(10) "gallery_id" "model" => string(9) "Galleries" ) ) protected _cmsEditAction => string(4) "view" protected _load_with => array(0) protected _validation => NULL protected _object => array(30) ( "id" => string(2) "28" "parent_id" => string(1) "0" "original_id" => NULL "module_id" => string(7) "privacy" "lang" => string(2) "en" "controller" => string(0) "" "action" => string(0) "" "template" => string(8) "sections" "list_order" => string(1) "6" "user_id" => string(1) "0" "date_created" => string(19) "2020-10-01 16:39:04" "date_updated" => string(19) "2023-11-10 13:41:36" "title" => string(7) "Cookies" "link" => string(7) "cookies" "redirect" => string(0) "" "target" => string(0) "" "metatitle" => string(14) "Cookies policy" "metadescription" => string(208) "Cookies are tiny text files that are stored on your computer when you visit certain websites. You can disable cookies already st …" "metakeywords" => string(14) "Cookies policy" "intro" => NULL "config" => NULL "status" => string(1) "1" "category" => NULL "image" => NULL "image_large" => NULL "top" => string(1) "0" "bottom" => string(1) "0" "header_title" => string(52) "<p>Cookies <span class="red-text">policy</span></p> " "header_intro" => string(216) "<p>Cookies are tiny text files that are stored on your computer when you visit certain websites. You can disable cookies already …" "gallery_id" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(30) ( "id" => string(2) "28" "parent_id" => string(1) "0" "original_id" => NULL "module_id" => string(7) "privacy" "lang" => string(2) "en" "controller" => string(0) "" "action" => string(0) "" "template" => string(8) "sections" "list_order" => string(1) "6" "user_id" => string(1) "0" "date_created" => string(19) "2020-10-01 16:39:04" "date_updated" => string(19) "2023-11-10 13:41:36" "title" => string(7) "Cookies" "link" => string(7) "cookies" "redirect" => string(0) "" "target" => string(0) "" "metatitle" => string(14) "Cookies policy" "metadescription" => string(208) "Cookies are tiny text files that are stored on your computer when you visit certain websites. You can disable cookies already st …" "metakeywords" => string(14) "Cookies policy" "intro" => NULL "config" => NULL "status" => string(1) "1" "category" => NULL "image" => NULL "image_large" => NULL "top" => string(1) "0" "bottom" => string(1) "0" "header_title" => string(52) "<p>Cookies <span class="red-text">policy</span></p> " "header_intro" => string(216) "<p>Cookies are tiny text files that are stored on your computer when you visit certain websites. You can disable cookies already …" "gallery_id" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "section" protected _object_plural => string(8) "sections" protected _table_name => string(8) "sections" protected _table_columns => array(30) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "original_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "original_id" "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" ) "module_id" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "module_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(1) "2" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "template" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "template" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "list_order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "list_order" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 10 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_created" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_updated" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "link" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "redirect" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "redirect" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "target" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "target" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "character_maximum_length" => string(1) "8" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metatitle" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "metatitle" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(15) "metadescription" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(12) "metakeywords" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(5) "intro" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "config" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(6) "config" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "status" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(6) "status" "column_default" => string(1) "2" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "category" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "category" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image_large" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "image_large" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "top" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(3) "top" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bottom" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "bottom" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "header_title" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "header_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 28 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "header_intro" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(12) "header_intro" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 29 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "gallery_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "gallery_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 30 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(2) "28" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)public request => object Request(19){ protected _connection_id => string(40) "1467323e30efb6745a81565f94d2dfd81b45efa3" protected _identifier => string(1) "`" public last_query => string(1199) "SELECT `section`.`id` AS `id`, `section`.`parent_id` AS `parent_id`, `section`.`original_id` AS `original_id`, `section`.`module …" 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(7) "section" protected _behaviors => array(0) protected _private_columns => bool FALSE }{ 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(4) ( "hostname" => string(9) "localhost" "database" => string(14) "mogotel_mdhweb" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ 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(61) "_decoded/<lang>/<controller>/<action>/<section>/<ajax>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(166) "#^_decoded/(?P<lang>[^/.,;?\n]++)/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<section>[^/.,;?\n]++)/(?P<ajax>[^/., …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Privacy" protected _action => string(7) "section" protected _uri => string(32) "_decoded/en/privacy/section/28/0" protected _external => bool FALSE protected _params => array(4) ( "lang" => string(2) "en" "section" => string(2) "28" "ajax" => string(1) "0" "host" => bool FALSE ) protected _get => array(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)public settings => array(5) ( "email_receiver_1" => string(31) "development.manager@mogotel.com" "email_receiver_2" => string(31) "development.manager@mogotel.com" "email_receiver_3" => string(31) "development.manager@mogotel.com" "email_receiver_4" => string(31) "development.manager@mogotel.com" "email_receiver_hr" => string(31) "development.manager@mogotel.com" ) }{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }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)
0object 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(61) "_decoded/<lang>/<controller>/<action>/<section>/<ajax>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(166) "#^_decoded/(?P<lang>[^/.,;?\n]++)/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<section>[^/.,;?\n]++)/(?P<ajax>[^/., …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Privacy" protected _action => string(7) "section" protected _uri => string(32) "_decoded/en/privacy/section/28/0" protected _external => bool FALSE protected _params => array(4) ( "lang" => string(2) "en" "section" => string(2) "28" "ajax" => string(1) "0" "host" => bool FALSE ) protected _get => array(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) }}1object 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.0" }109 $orig_response = $response = Response::factory(['_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 [ 1000 ] » Kohana_Request_Client->execute(arguments)
0object 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(61) "_decoded/<lang>/<controller>/<action>/<section>/<ajax>(/<id>)" protected _regex => array(0) protected _defaults => array(2) ( "action" => string(5) "index" "host" => bool FALSE ) protected _route_regex => string(166) "#^_decoded/(?P<lang>[^/.,;?\n]++)/(?P<controller>[^/.,;?\n]++)/(?P<action>[^/.,;?\n]++)/(?P<section>[^/.,;?\n]++)/(?P<ajax>[^/., …" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(7) "Privacy" protected _action => string(7) "section" protected _uri => string(32) "_decoded/en/privacy/section/28/0" protected _external => bool FALSE protected _params => array(4) ( "lang" => string(2) "en" "section" => string(2) "28" "ajax" => string(1) "0" "host" => bool FALSE ) protected _get => array(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) }}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests. -
APPPATH/classes/Controller/Decode.php [ 19 ] » Kohana_Request->execute()
14 'controller' => empty($section->controller) ? $section->module_id : $section->controller, 15 'action' => empty($section->action) ? 'section' : $section->action, 16 'section' => $section->id, 17 'ajax' => $this->request->is_ajax() ? 1 : 0 18 ))) 19 ->execute() 20 ->send_headers() 21 ->body()); 22 } 23 24 public function action_item() -
SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Decode->action_section()
79 [':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)
0object Controller_Decode(4)
{ protected section => object Model_Section(37){ protected _created_column => array(2) ( "column" => string(12) "date_created" "format" => string(11) "Y-m-d H:i:s" ) protected _updated_column => array(2) ( "column" => string(12) "date_updated" "format" => string(11) "Y-m-d H:i:s" ) protected _sorting => array(1) ( "list_order" => string(3) "ASC" ) protected _has_one => array(1) ( "textdoc" => array(2) ( "foreign_key" => string(10) "section_id" "model" => string(7) "Textdoc" ) ) protected _has_many => array(1) ( "members" => array(4) ( "foreign_key" => string(10) "section_id" "model" => string(6) "People" "through" => NULL "far_key" => string(9) "member_id" ) ) protected _belongs_to => array(1) ( "gallery" => array(2) ( "foreign_key" => string(10) "gallery_id" "model" => string(9) "Galleries" ) ) protected _cmsEditAction => string(4) "view" protected _load_with => array(0) protected _validation => NULL protected _object => array(30) ( "id" => NULL "parent_id" => NULL "original_id" => NULL "module_id" => NULL "lang" => NULL "controller" => NULL "action" => NULL "template" => NULL "list_order" => NULL "user_id" => NULL "date_created" => NULL "date_updated" => NULL "title" => NULL "link" => NULL "redirect" => NULL "target" => NULL "metatitle" => NULL "metadescription" => NULL "metakeywords" => NULL "intro" => NULL "config" => NULL "status" => NULL "category" => NULL "image" => NULL "image_large" => NULL "top" => NULL "bottom" => NULL "header_title" => NULL "header_intro" => NULL "gallery_id" => NULL ) protected _changed => array(0) protected _original_values => array(0) protected _related => array(0) protected _valid => bool FALSE protected _loaded => bool FALSE protected _saved => bool FALSE protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(7) "section" protected _object_plural => string(8) "sections" protected _table_name => string(8) "sections" protected _table_columns => array(30) ( "id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "parent_id" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(9) "parent_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "original_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "original_id" "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" ) "module_id" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "module_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(13) ( "type" => string(6) "string" "exact" => bool TRUE "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(4) "char" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "character_maximum_length" => string(1) "2" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "controller" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "controller" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "action" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "action" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "template" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "template" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "list_order" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(10) "list_order" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 9 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "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 10 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_created" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_created" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_updated" => array(10) ( "type" => string(6) "string" "column_name" => string(12) "date_updated" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "title" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 13 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "link" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "link" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 14 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "redirect" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "redirect" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "target" => array(12) ( "type" => string(6) "string" "column_name" => string(6) "target" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "character_maximum_length" => string(1) "8" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metatitle" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "metatitle" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "character_maximum_length" => string(3) "255" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metadescription" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(15) "metadescription" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "metakeywords" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(12) "metakeywords" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "intro" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(5) "intro" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "config" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(8) "16777215" "column_name" => string(6) "config" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "status" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(3) "255" "column_name" => string(6) "status" "column_default" => string(1) "2" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 22 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "category" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "category" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image" => array(12) ( "type" => string(6) "string" "column_name" => string(5) "image" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "image_large" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "image_large" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "character_maximum_length" => string(2) "64" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "top" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(3) "top" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "bottom" => array(13) ( "type" => string(3) "int" "min" => string(4) "-128" "max" => string(3) "127" "column_name" => string(6) "bottom" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "display" => string(1) "1" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "header_title" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "header_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 28 "character_maximum_length" => string(4) "2000" "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "header_intro" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(12) "header_intro" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 29 "collation_name" => string(18) "utf8mb4_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "gallery_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(10) "gallery_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 30 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => NULL protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQLi(6)public request => object Request(19){ protected _connection_id => string(40) "1467323e30efb6745a81565f94d2dfd81b45efa3" protected _identifier => string(1) "`" public last_query => string(1199) "SELECT `section`.`id` AS `id`, `section`.`parent_id` AS `parent_id`, `section`.`original_id` AS `original_id`, `section`.`module …" 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(7) "section" protected _behaviors => array(0) protected _private_columns => bool FALSE }{ 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(4) ( "hostname" => string(9) "localhost" "database" => string(14) "mogotel_mdhweb" "persistent" => bool FALSE "ssl" => NULL ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5)public response => object Response(5){ protected _filters => array(0) protected _uri => string(13) "<lang>/<path>" protected _regex => array(2) ( "lang" => string(5) "lv|en" "path" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "en" "controller" => string(6) "decode" "action" => string(7) "section" ) protected _route_regex => string(34) "#^(?P<lang>lv|en)/(?P<path>.+)$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Decode" protected _action => string(7) "section" protected _uri => string(10) "en/cookies" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "en" "path" => string(7) "cookies" ) protected _get => array(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)public settings => array(5) ( "email_receiver_1" => string(31) "development.manager@mogotel.com" "email_receiver_2" => string(31) "development.manager@mogotel.com" "email_receiver_3" => string(31) "development.manager@mogotel.com" "email_receiver_4" => string(31) "development.manager@mogotel.com" "email_receiver_hr" => string(31) "development.manager@mogotel.com" ) }{ }protected _body => string(0) "" protected _cookies => array(0) protected _protocol => string(8) "HTTP/1.0" }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)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(13) "<lang>/<path>" protected _regex => array(2) ( "lang" => string(5) "lv|en" "path" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "en" "controller" => string(6) "decode" "action" => string(7) "section" ) protected _route_regex => string(34) "#^(?P<lang>lv|en)/(?P<path>.+)$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Decode" protected _action => string(7) "section" protected _uri => string(10) "en/cookies" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "en" "path" => string(7) "cookies" ) protected _get => array(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) }}1object 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.0" }109 $orig_response = $response = Response::factory(['_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 [ 1000 ] » Kohana_Request_Client->execute(arguments)
0object Request(19)
{ protected _requested_with => NULL protected _method => string(3) "GET" protected _protocol => string(8) "HTTP/1.0" protected _secure => bool TRUE protected _referrer => NULL protected _route => object Route(5){ protected _filters => array(0) protected _uri => string(13) "<lang>/<path>" protected _regex => array(2) ( "lang" => string(5) "lv|en" "path" => string(2) ".+" ) protected _defaults => array(3) ( "lang" => string(2) "en" "controller" => string(6) "decode" "action" => string(7) "section" ) protected _route_regex => string(34) "#^(?P<lang>lv|en)/(?P<path>.+)$#uD" }protected _routes => array(0) protected _header => object HTTP_Header(0){ }protected _body => NULL protected _directory => string(0) "" protected _controller => string(6) "Decode" protected _action => string(7) "section" protected _uri => string(10) "en/cookies" protected _external => bool FALSE protected _params => array(2) ( "lang" => string(2) "en" "path" => string(7) "cookies" ) protected _get => array(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) }}995 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', [ 996 ':uri' => $this->_uri, 997 ]); 998 } 999 1000 return $this->_client->execute($this); 1001 } 1002 1003 /** 1004 * Returns whether this request is the initial request Kohana received. 1005 * Can be used to test for sub requests. -
DOCROOT/index.php [ 130 ] » Kohana_Request->execute()
125 ->body(); 126 */ 127 try 128 { 129 echo Request::factory(TRUE, array(), FALSE) 130 ->execute() 131 ->send_headers(TRUE) 132 ->body(); 133 } 134 catch (Error $e) 135 {