MODPATH/orm/classes/Kohana/ORM.php [ 687 ]
682
683 return $model->where($col, '=', $val);
684 }
685 else
686 {
687 throw new Kohana_Exception('The :property property does not exist in the :class class',
688 array(':property' => $column, ':class' => get_class($this)));
689 }
690 }
691
692 /**
-
MODPATH/orm/classes/Kohana/ORM.php [ 603 ] » Kohana_ORM->get(arguments)
0
string(7) "vkmusic"
598 * @param string $column Column name 599 * @return mixed 600 */ 601 public function __get($column) 602 { 603 return $this->get($column); 604 } 605 606 /** 607 * Handles getting of column 608 * Override this method to add custom get behavior
-
APPPATH/views/pages/music-id.php [ 40 ] » Kohana_ORM->__get(arguments)
0
string(7) "vkmusic"
35 <div style="color: #fff!important">Текст песни:</div><br/> 36 <?php echo nl2br($music->text) ?> 37 <?php if($music->text == NULL) echo 'Совсем скоро текст будет добавлен.'; ?> 38 39 <br/><br/><br/> 40 <?php if($music->vkmusic != NULL): ?> 41 <a class="visible-xs" style="display: inline" href="<?php echo $music->vkmusic ?>"><img src="/public/images/vkmusic.png" style="height: 30px; margin-right: 10px; float: left"></a> 42 <?php endif; if($music->itunes != NULL): ?> 43 <a class="visible-xs" style="display: inline" href="<?php echo $music->itunes ?>" target="_blank"><img src="/public/images/ITunes.png" style="height: 30px; margin-right: 10px; float: left"></a> 44 <?php endif; if($music->applemusic != NULL): ?> 45 <a class="visible-xs" style="display: inline" href="<?php echo $music->applemusic ?>"><img src="/public/images/apple-music.png" style="height: 30px; margin-right: 10px; float: left"></a>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(67) "/home/h702075503/malfa.ru/docs/application/views/pages/music-id.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)
0
string(68) "/home/h702075503/malfa.ru/docs/application/views//pages/music-id.php"
1
array(1) ( "music" => object Model_Music(34)
{ protected _belongs_to => array(1) ( "artist" => array(2) ( "foreign_key" => string(9) "artist_id" "model" => string(6) "Artist" ) ) protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(2) "10" "artist_id" => string(1) "3" "artist_name" => string(12) "Наргиз" "title" => string(16) "Нелюбовь" "time" => string(4) "3:21" "year" => string(4) "2017" "download" => string(23) "https://band.link/wLsg7" "text" => string(1754) "[Куплет 1, Наргиз]: Мне холодно в доме и трудно дышать, И просто согреться не может душа. Но кто-то неслышно добавит огня, …" "album_id" => NULL "album_title" => NULL "double" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(2) "10" "artist_id" => string(1) "3" "artist_name" => string(12) "Наргиз" "title" => string(16) "Нелюбовь" "time" => string(4) "3:21" "year" => string(4) "2017" "download" => string(23) "https://band.link/wLsg7" "text" => string(1754) "[Куплет 1, Наргиз]: Мне холодно в доме и трудно дышать, И просто согреться не может душа. Но кто-то неслышно добавит огня, …" "album_id" => NULL "album_title" => NULL "double" => string(1) "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) "music" protected _object_plural => string(5) "music" protected _table_name => string(5) "music" protected _table_columns => array(11) ( "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(20) "select,insert,update" ) "artist_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "artist_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "artist_name" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "artist_name" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "time" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "time" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "year" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "year" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "download" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "download" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "album_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "album_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "album_title" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "album_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "double" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "double" "column_default" => string(1) "0" "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(20) "select,insert,update" ) ) 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) "10" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
){ protected _connection_id => string(40) "f7e5fd2eeb36a962398aeac4619d11108faae1b5" protected _identifier => string(1) "`" public last_query => string(397) "SELECT `music`.`id` AS `id`, `music`.`artist_id` AS `artist_id`, `music`.`artist_name` AS `artist_name`, `music`.`title` AS `tit …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(15) "h702075503_malf" "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(5) "music" }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/main.php [ 129 ] » Kohana_View->__toString()
124 $('.mobile-menu').on('click', '.menu-button', function() { 125 $(this).toggleClass('red').siblings('.menu-list').slideToggle(0); 126 }); 127 }); 128 </script> 129 <?php echo $content; ?> 130 <div class="container-fluid footer" style="padding: 30px 30px"> 131 <div class="col-md-3"> 132 <div class="row"> 133 <h2>О ЛЕЙБЛЕ</h2> 134 <h4>
-
SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)
0
string(57) "/home/h702075503/malfa.ru/docs/application/views/main.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)
0
string(57) "/home/h702075503/malfa.ru/docs/application/views/main.php"
1
array(4) ( "content" => object View(2)
{ protected _file => string(68) "/home/h702075503/malfa.ru/docs/application/views//pages/music-id.php" protected _data => array(1) ( "music" => object Model_Music(34)
"styles" => array(10) ( 0 => string(4) "grid" 1 => string(4) "menu" 2 => string(6) "style2" 3 => string(16) "font-awesome.min" 4 => string(7) "animate" 5 => string(20) "fm.revealator.jquery" 6 => string(2) "lg" 7 => string(2) "md" 8 => string(2) "sm" 9 => string(2) "xs" ) "scripts" => array(4) ( 0 => string(4) "main" 1 => string(4) "menu" 2 => string(18) "jquery.eislideshow" 3 => string(17) "jquery.easing.1.3" ) "title" => string(97) ""Нелюбовь" - Наргиз | Текст песни, прослушать и скачать" ){ protected _belongs_to => array(1) ( "artist" => array(2) ( "foreign_key" => string(9) "artist_id" "model" => string(6) "Artist" ) ) protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(2) "10" "artist_id" => string(1) "3" "artist_name" => string(12) "Наргиз" "title" => string(16) "Нелюбовь" "time" => string(4) "3:21" "year" => string(4) "2017" "download" => string(23) "https://band.link/wLsg7" "text" => string(1754) "[Куплет 1, Наргиз]: Мне холодно в доме и трудно дышать, И просто согреться не может душа. Но кто-то неслышно добавит огня, …" "album_id" => NULL "album_title" => NULL "double" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(2) "10" "artist_id" => string(1) "3" "artist_name" => string(12) "Наргиз" "title" => string(16) "Нелюбовь" "time" => string(4) "3:21" "year" => string(4) "2017" "download" => string(23) "https://band.link/wLsg7" "text" => string(1754) "[Куплет 1, Наргиз]: Мне холодно в доме и трудно дышать, И просто согреться не может душа. Но кто-то неслышно добавит огня, …" "album_id" => NULL "album_title" => NULL "double" => string(1) "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) "music" protected _object_plural => string(5) "music" protected _table_name => string(5) "music" protected _table_columns => array(11) ( "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(20) "select,insert,update" ) "artist_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "artist_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "artist_name" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "artist_name" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "time" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "time" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "year" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "year" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "download" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "download" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "album_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "album_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "album_title" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "album_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "double" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "double" "column_default" => string(1) "0" "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(20) "select,insert,update" ) ) 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) "10" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "f7e5fd2eeb36a962398aeac4619d11108faae1b5" protected _identifier => string(1) "`" public last_query => string(397) "SELECT `music`.`id` AS `id`, `music`.`artist_id` AS `artist_id`, `music`.`artist_name` AS `artist_name`, `music`.`title` AS `tit …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(15) "h702075503_malf" "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(5) "music" }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)
0
object Controller_Music(4)
{ public template => object View(2)
{ protected _file => string(57) "/home/h702075503/malfa.ru/docs/application/views/main.php" protected _data => array(4) ( "content" => object View(2)
public auto_render => bool TRUE public request => object Request(19){ protected _file => string(68) "/home/h702075503/malfa.ru/docs/application/views//pages/music-id.php" protected _data => array(1) ( "music" => object Model_Music(34)
"styles" => array(10) ( 0 => string(4) "grid" 1 => string(4) "menu" 2 => string(6) "style2" 3 => string(16) "font-awesome.min" 4 => string(7) "animate" 5 => string(20) "fm.revealator.jquery" 6 => string(2) "lg" 7 => string(2) "md" 8 => string(2) "sm" 9 => string(2) "xs" ) "scripts" => array(4) ( 0 => string(4) "main" 1 => string(4) "menu" 2 => string(18) "jquery.eislideshow" 3 => string(17) "jquery.easing.1.3" ) "title" => string(97) ""Нелюбовь" - Наргиз | Текст песни, прослушать и скачать" ) }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "foreign_key" => string(9) "artist_id" "model" => string(6) "Artist" ) ) protected _has_one => array(0) protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(2) "10" "artist_id" => string(1) "3" "artist_name" => string(12) "Наргиз" "title" => string(16) "Нелюбовь" "time" => string(4) "3:21" "year" => string(4) "2017" "download" => string(23) "https://band.link/wLsg7" "text" => string(1754) "[Куплет 1, Наргиз]: Мне холодно в доме и трудно дышать, И просто согреться не может душа. Но кто-то неслышно добавит огня, …" "album_id" => NULL "album_title" => NULL "double" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(2) "10" "artist_id" => string(1) "3" "artist_name" => string(12) "Наргиз" "title" => string(16) "Нелюбовь" "time" => string(4) "3:21" "year" => string(4) "2017" "download" => string(23) "https://band.link/wLsg7" "text" => string(1754) "[Куплет 1, Наргиз]: Мне холодно в доме и трудно дышать, И просто согреться не может душа. Но кто-то неслышно добавит огня, …" "album_id" => NULL "album_title" => NULL "double" => string(1) "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) "music" protected _object_plural => string(5) "music" protected _table_name => string(5) "music" protected _table_columns => array(11) ( "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(20) "select,insert,update" ) "artist_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "artist_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "artist_name" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(11) "artist_name" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "title" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "time" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "time" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 5 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "year" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "year" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "download" => array(12) ( "type" => string(6) "string" "column_name" => string(8) "download" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "text" => array(12) ( "type" => string(6) "string" "character_maximum_length" => string(5) "65535" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool FALSE "ordinal_position" => integer 8 "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "album_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(8) "album_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "album_title" => array(12) ( "type" => string(6) "string" "column_name" => string(11) "album_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "character_maximum_length" => string(4) "1000" "collation_name" => string(15) "utf8_general_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(20) "select,insert,update" ) "double" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "double" "column_default" => string(1) "0" "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(20) "select,insert,update" ) ) 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) "10" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_MySQL(6)
) }{ protected _connection_id => string(40) "f7e5fd2eeb36a962398aeac4619d11108faae1b5" protected _identifier => string(1) "`" public last_query => string(397) "SELECT `music`.`id` AS `id`, `music`.`artist_id` AS `artist_id`, `music`.`artist_name` AS `artist_name`, `music`.`title` AS `tit …" protected _instance => string(7) "default" protected _connection => resource(mysql link) protected _config => array(5) ( "type" => string(5) "MySQL" "connection" => array(3) ( "hostname" => string(9) "localhost" "database" => string(15) "h702075503_malf" "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(5) "music" }{ 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(20) "music/<id>-<musicid>" protected _regex => array(1) ( "id" => string(2) ".+" ) protected _defaults => array(2) ( "controller" => string(5) "music" "action" => string(2) "id" ) protected _route_regex => string(48) "#^music/(?P<id>.+)-(?P<musicid>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Music" protected _action => string(2) "id" protected _uri => string(17) "music/10-nelyubov" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "10" "musicid" => string(8) "nelyubov" ) 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)
}{ }
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)
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(20) "music/<id>-<musicid>" protected _regex => array(1) ( "id" => string(2) ".+" ) protected _defaults => array(2) ( "controller" => string(5) "music" "action" => string(2) "id" ) protected _route_regex => string(48) "#^music/(?P<id>.+)-(?P<musicid>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Music" protected _action => string(2) "id" protected _uri => string(17) "music/10-nelyubov" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "10" "musicid" => string(8) "nelyubov" ) 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) }
}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.0" }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 [ 993 ] » 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(20) "music/<id>-<musicid>" protected _regex => array(1) ( "id" => string(2) ".+" ) protected _defaults => array(2) ( "controller" => string(5) "music" "action" => string(2) "id" ) protected _route_regex => string(48) "#^music/(?P<id>.+)-(?P<musicid>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(0) "" protected _controller => string(5) "Music" protected _action => string(2) "id" protected _uri => string(17) "music/10-nelyubov" protected _external => bool FALSE protected _params => array(2) ( "id" => string(2) "10" "musicid" => string(8) "nelyubov" ) 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) }
}988 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array( 989 ':uri' => $this->_uri, 990 )); 991 } 992 993 return $this->_client->execute($this); 994 } 995 996 /** 997 * Returns whether this request is the initial request Kohana received. 998 * Can be used to test for sub requests.
-
DOCROOT/index.php [ 118 ] » Kohana_Request->execute()
113 /** 114 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO']. 115 * If no source is specified, the URI will be automatically detected. 116 */ 117 echo Request::factory(TRUE, array(), FALSE) 118 ->execute() 119 ->send_headers(TRUE) 120 ->body(); 121 }