MODPATH/database/classes/Kohana/Database/MySQL.php [ 194 ]
189 {190 // This benchmark is worthless191 Profiler::delete($benchmark);192 }193 194 throw new Database_Exception(':error [ :query ]',195 array(':error' => mysql_error($this->_connection), ':query' => $sql),196 mysql_errno($this->_connection));197 }198 199 if (isset($benchmark))
MODPATH/database/classes/Kohana/Database/Query.php [ 251 ]» Kohana_Database_MySQL->query(arguments)
0
integer 1
1
string(415) "SELECT `song`.`id` AS `id`, `song`.`name` AS `name`, `song`.`url` AS `url`, `song`.`text` AS `text`, `song`.`translate` AS `tran …"
2
string(10) "Model_Song"
3
array(0)
246 return new Database_Result_Cached($result, $sql, $as_object, $object_params);247 }248 }249 250 // Execute the query251 $result = $db->query($this->_type, $sql, $as_object, $object_params);252 253 if (isset($cache_key) AND $this->_lifetime > 0)254 {255 // Cache the result array256 Kohana::cache($cache_key, $result->as_array(), $this->_lifetime);
MODPATH/orm/classes/Kohana/ORM.php [ 1063 ]» Kohana_Database_Query->execute(arguments)
0
object Database_MySQL(6)
{ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "persistent" => bool FALSE ) "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE )}
1058 }1059 1060 if ($multiple === TRUE)1061 {1062 // Return database iterator casting to this object type1063 $result = $this->_db_builder->as_object(get_class($this))->execute($this->_db);1064 1065 $this->reset();1066 1067 return $result;1068 }
MODPATH/orm/classes/Kohana/ORM.php [ 1004 ]» Kohana_ORM->_load_result(arguments)
0
bool TRUE
999 }1000 }1001 1002 $this->_build(Database::SELECT);1003 1004 return $this->_load_result(TRUE);1005 }1006 1007 /**1008 * Returns an array of columns to include in the select query. This method1009 * can be overridden to change the default select behavior.
APPPATH/classes/Controller/Index/Artist.php [ 20 ]» Kohana_ORM->find_all()
15 16 $title = $artist->name . ' тексты песен';17 $data['title'] = $title;18 $this->template->title = $title;19 20 $songs = $artist->songs->order_by('name')->find_all();21 $data['songs'] = $songs;22 23 $block_center = View::factory('index/main/v_artist', $data);24 $this->template->block_center = $block_center;25
SYSPATH/classes/Kohana/Controller.php [ 84 ]» Controller_Index_Artist->action_index()
79 array(':uri' => $this->request->uri())80 )->request($this->request);81 }82 83 // Execute the action itself84 $this->{$action}();85 86 // Execute the "after action" method87 $this->after();88 89 // Return the response
{PHP internal call}» Kohana_Controller->execute()
SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ]» ReflectionMethod->invoke(arguments)
0
object Controller_Index_Artist(9)
{ public user_owner_id => NULL public user_id => NULL protected auth => NULL protected user => NULL public template => object View(2)
{ protected _file => string(70) "/home/admin/web/tekstovnet.ru/public_html/application/views/v_base.php" protected _data => array(9) ( "show_adsense" => bool TRUE "block_letters" => string(5375) "<div class="alphabet"> <li> <a href="/1" style="display:block;">А</a> </li> …" "title" => string(35) "Comedy Club тексты песен" "last_songs" => array(5) ( 0 => object Model_Song(34)
public auth_required => bool FALSE public auto_render => bool TRUE public request => object Request(19){ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1493260" "name" => string(31) "In der Osterhasenmalerwerkstatt" "url" => string(31) "In-der-Osterhasenmalerwerkstatt" "text" => string(1299) "In der Osterhasenmalerwerkstatt<br> Hinterm Hügel am Waldesrand<br> Malen jetzt die Osterhasen<br> Flink und fleißi …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:24:32" "artist_id" => string(5) "57104" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "45" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1493260" "name" => string(31) "In der Osterhasenmalerwerkstatt" "url" => string(31) "In-der-Osterhasenmalerwerkstatt" "text" => string(1299) "In der Osterhasenmalerwerkstatt<br> Hinterm Hügel am Waldesrand<br> Malen jetzt die Osterhasen<br> Flink und fleißi …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:24:32" "artist_id" => string(5) "57104" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "45" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1493260" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
1 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1493259" "name" => string(11) "Press Start" "url" => string(11) "Press-Start" "text" => string(1154) "сделал press start (ооо)<br> русский рэп нажал я плэй<br> рок стар (ага)<br> создал перс он весь в бабле<br> press star( ага …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:22:19" "artist_id" => string(6) "489401" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "33" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1493259" "name" => string(11) "Press Start" "url" => string(11) "Press-Start" "text" => string(1154) "сделал press start (ооо)<br> русский рэп нажал я плэй<br> рок стар (ага)<br> создал перс он весь в бабле<br> press star( ага …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:22:19" "artist_id" => string(6) "489401" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "33" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1493259" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
2 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1493258" "name" => string(17) "The Age of Reason" "url" => string(17) "The-Age-of-Reason" "text" => string(886) "Can you feel it all around, a new spirit we have found.<br> Enlight the darkness, end the fear, a new understanding´s here …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:20:33" "artist_id" => string(6) "489400" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "45" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1493258" "name" => string(17) "The Age of Reason" "url" => string(17) "The-Age-of-Reason" "text" => string(886) "Can you feel it all around, a new spirit we have found.<br> Enlight the darkness, end the fear, a new understanding´s here …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:20:33" "artist_id" => string(6) "489400" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "45" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1493258" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
3 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1493257" "name" => string(10) "Салют" "url" => string(6) "Salyut" "text" => string(3655) "Я год за годом треками веду прицельный обстрел <br> Кто такой вообще и зачем лезть на сцену посмел? <br> Все гонятся за мимоле …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:16:06" "artist_id" => string(4) "3032" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "46" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1493257" "name" => string(10) "Салют" "url" => string(6) "Salyut" "text" => string(3655) "Я год за годом треками веду прицельный обстрел <br> Кто такой вообще и зачем лезть на сцену посмел? <br> Все гонятся за мимоле …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:16:06" "artist_id" => string(4) "3032" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "46" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1493257" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
4 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1493256" "name" => string(6) "No Man" "url" => string(6) "No-Man" "text" => string(2156) "It feels like, Christmas time<br> When Waterford gyal ah whine<br> <br> We make love so hard, girl<br> It wake up our forefa …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:12:50" "artist_id" => string(4) "5682" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "49" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1493256" "name" => string(6) "No Man" "url" => string(6) "No-Man" "text" => string(2156) "It feels like, Christmas time<br> When Waterford gyal ah whine<br> <br> We make love so hard, girl<br> It wake up our forefa …" "translate" => NULL "rate" => string(1) "0" "date_time" => string(19) "2024-03-19 03:12:50" "artist_id" => string(4) "5682" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "49" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1493256" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
) "rand_songs" => array(5) ( 0 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(6) "627139" "name" => string(12) "медляк" "url" => string(7) "medlyak" "text" => string(1133) "mze sadgac gaqra da gamepda bneli shen shen ukve ar xar dadna chaqra santeli me ushenoba mklavs shens nabijebs veli shen nadzaxe …" "translate" => string(1301) "мзэ садгач гакра да геймпда бнели шен шен укве ар xар дадна чакра сантели ме ушеноба мклавс шенс набижебс вели да шен ар чаншар …" "rate" => string(1) "0" "date_time" => string(19) "2015-09-28 03:34:33" "artist_id" => string(5) "28120" "youtube_id" => string(11) "OqepF-_-gCI" "show_adsense" => string(1) "1" "letter_id" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(6) "627139" "name" => string(12) "медляк" "url" => string(7) "medlyak" "text" => string(1133) "mze sadgac gaqra da gamepda bneli shen shen ukve ar xar dadna chaqra santeli me ushenoba mklavs shens nabijebs veli shen nadzaxe …" "translate" => string(1301) "мзэ садгач гакра да геймпда бнели шен шен укве ар xар дадна чакра сантели ме ушеноба мклавс шенс набижебс вели да шен ар чаншар …" "rate" => string(1) "0" "date_time" => string(19) "2015-09-28 03:34:33" "artist_id" => string(5) "28120" "youtube_id" => string(11) "OqepF-_-gCI" "show_adsense" => string(1) "1" "letter_id" => 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "627139" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
1 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(6) "848485" "name" => string(37) "Как хотела меня мать" "url" => string(20) "Kak-hotela-menya-mat" "text" => string(1530) "Ой, да как хотела меня мать,<br> Да, за первого отдать.<br> А тот первый паренек – неверный,<br> Ой, не отдай меня, мать.<br> …" "translate" => string(1010) "Oh, how my mother wanted me,<br> Yes, pay for the first.<br> And that first boy is wrong<br> Oh, don't give me away, mother.<br> …" "rate" => string(1) "0" "date_time" => string(19) "2020-07-22 06:08:02" "artist_id" => string(5) "10452" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "12" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(6) "848485" "name" => string(37) "Как хотела меня мать" "url" => string(20) "Kak-hotela-menya-mat" "text" => string(1530) "Ой, да как хотела меня мать,<br> Да, за первого отдать.<br> А тот первый паренек – неверный,<br> Ой, не отдай меня, мать.<br> …" "translate" => string(1010) "Oh, how my mother wanted me,<br> Yes, pay for the first.<br> And that first boy is wrong<br> Oh, don't give me away, mother.<br> …" "rate" => string(1) "0" "date_time" => string(19) "2020-07-22 06:08:02" "artist_id" => string(5) "10452" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "12" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "848485" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
2 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1043894" "name" => string(14) "Саботаж" "url" => string(7) "Sabotaj" "text" => string(1088) "1. Нам порядком надоело терпеть<br> Беззаконие чинимое вокруг!<br> И желанье, резко все поменять,<br> Появилось не случайно и не …" "translate" => string(684) "1. We are tired of enduring<br> Impossigate itching around!<br> And the desire, sharply change everything,<br> It appeared not b …" "rate" => string(1) "0" "date_time" => string(19) "2021-04-30 15:18:09" "artist_id" => string(6) "249805" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "30" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1043894" "name" => string(14) "Саботаж" "url" => string(7) "Sabotaj" "text" => string(1088) "1. Нам порядком надоело терпеть<br> Беззаконие чинимое вокруг!<br> И желанье, резко все поменять,<br> Появилось не случайно и не …" "translate" => string(684) "1. We are tired of enduring<br> Impossigate itching around!<br> And the desire, sharply change everything,<br> It appeared not b …" "rate" => string(1) "0" "date_time" => string(19) "2021-04-30 15:18:09" "artist_id" => string(6) "249805" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "30" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1043894" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
3 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(7) "1395415" "name" => string(4) "Do I" "url" => string(4) "Do-I" "text" => string(1099) "Someone said in a book I read<br> Love turns on like a light in your head<br> When it does, you can't see why<br> Just hold o …" "translate" => string(2030) "Кто -то сказал в книге, которую я прочитал <br> Любовь включается как свет в вашей голове <br> Когда это произойдет, вы не мож …" "rate" => string(1) "0" "date_time" => string(19) "2023-07-15 01:54:10" "artist_id" => string(3) "319" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "40" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(7) "1395415" "name" => string(4) "Do I" "url" => string(4) "Do-I" "text" => string(1099) "Someone said in a book I read<br> Love turns on like a light in your head<br> When it does, you can't see why<br> Just hold o …" "translate" => string(2030) "Кто -то сказал в книге, которую я прочитал <br> Любовь включается как свет в вашей голове <br> Когда это произойдет, вы не мож …" "rate" => string(1) "0" "date_time" => string(19) "2023-07-15 01:54:10" "artist_id" => string(3) "319" "youtube_id" => NULL "show_adsense" => string(1) "1" "letter_id" => string(2) "40" ) 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(7) "1395415" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
4 => object Model_Song(34){ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ protected _belongs_to => array(1) ( "artist" => array(2) ( "model" => string(6) "Artist" "foreign_key" => string(9) "artist_id" ) ) protected _has_one => array(2) ( "view" => array(2) ( "model" => string(4) "View" "foreign_key" => string(2) "id" ) "vote" => array(2) ( "model" => string(4) "Vote" "foreign_key" => string(2) "id" ) ) protected _reload_on_wakeup => bool FALSE protected _has_many => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(11) ( "id" => string(6) "727255" "name" => string(37) "Когда часы пробьют 12" "url" => string(22) "Kogda-chasy-probyut-12" "text" => string(2601) "В тот час, когда часы пробьют двенадцать,<br> И сердце на мгновение замрет<br> Когда тебе исполниться пятнадцать<br> И в мире …" "translate" => string(1568) "The hour the clock strikes twelve<br> And the heart will freeze for a moment<br> When you turn fifteen<br> And in this world, so …" "rate" => string(1) "0" "date_time" => string(19) "2016-03-16 03:02:43" "artist_id" => string(4) "8955" "youtube_id" => string(11) "82t98rswQeg" "show_adsense" => string(1) "1" "letter_id" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(11) ( "id" => string(6) "727255" "name" => string(37) "Когда часы пробьют 12" "url" => string(22) "Kogda-chasy-probyut-12" "text" => string(2601) "В тот час, когда часы пробьют двенадцать,<br> И сердце на мгновение замрет<br> Когда тебе исполниться пятнадцать<br> И в мире …" "translate" => string(1568) "The hour the clock strikes twelve<br> And the heart will freeze for a moment<br> When you turn fifteen<br> And in this world, so …" "rate" => string(1) "0" "date_time" => string(19) "2016-03-16 03:02:43" "artist_id" => string(4) "8955" "youtube_id" => string(11) "82t98rswQeg" "show_adsense" => string(1) "1" "letter_id" => 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(4) "song" protected _object_plural => string(5) "songs" protected _table_name => string(5) "songs" protected _table_columns => array(11) ( "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" ) "name" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "name" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 2 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "url" => array(12) ( "type" => string(6) "string" "column_name" => string(3) "url" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 3 "character_maximum_length" => string(3) "255" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "text" => array(12) ( "type" => string(6) "string" "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool FALSE "ordinal_position" => integer 4 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "translate" => array(12) ( "type" => string(6) "string" "column_name" => string(9) "translate" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "character_maximum_length" => string(5) "10000" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "rate" => array(13) ( "type" => string(3) "int" "min" => string(1) "0" "max" => string(10) "4294967295" "column_name" => string(4) "rate" "column_default" => string(1) "0" "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 6 "display" => string(2) "10" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date_time" => array(10) ( "type" => string(6) "string" "column_name" => string(9) "date_time" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool FALSE "ordinal_position" => integer 7 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "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 8 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "youtube_id" => array(12) ( "type" => string(6) "string" "column_name" => string(10) "youtube_id" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "character_maximum_length" => string(3) "127" "collation_name" => string(15) "utf8_unicode_ci" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "show_adsense" => array(12) ( "type" => string(6) "string" "column_name" => string(12) "show_adsense" "column_default" => string(1) "1" "data_type" => string(4) "enum" "is_nullable" => bool FALSE "ordinal_position" => integer 10 "collation_name" => string(15) "utf8_unicode_ci" "options" => array(2) ( 0 => string(1) "0" 1 => string(1) "1" ) "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "letter_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "letter_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool FALSE "ordinal_position" => integer 11 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "727255" protected _table_names_plural => bool TRUE protected _db => object Database_MySQL(6)
) "block_popular" => string(0) "" "user" => NULL "styles" => array(3) ( 0 => string(21) "media/css/style.css?3" 1 => string(54) "media/css/custom-theme/jquery-ui-1.10.4.custom.min.css" 2 => string(34) "media/css/social-likes_classic.css" ) "scripts" => array(4) ( 0 => string(29) "media/js/jquery-1.11.0.min.js" 1 => string(16) "media/js/my.js?3" 2 => string(39) "media/js/jquery-ui-1.10.4.custom.min.js" 3 => string(28) "media/js/social-likes.min.js" ) ) }{ protected _connection_id => string(40) "25ec3a3fe9771be6ddc1eb766938eaa936b4b370" protected _identifier => string(1) "`" public last_query => string(212) "SELECT `artist`.`id` AS `id`, `artist`.`name` AS `name`, `artist`.`url` AS `url`, `artist`.`letter_id` AS `letter_id` FROM `arti …" 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(16) "admin_tekstovnet" "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(4) "song" }{ 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(24) "<letter_id>/<artist_url>" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "Index" "controller" => string(6) "Artist" "action" => string(5) "index" ) protected _route_regex => string(62) "#^(?P<letter_id>[^/.,;?\n]++)/(?P<artist_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(6) "Artist" protected _action => string(5) "index" protected _uri => string(14) "30/Comedy-Club" protected _external => bool FALSE protected _params => array(2) ( "letter_id" => string(2) "30" "artist_url" => string(11) "Comedy-Club" ) 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(24) "<letter_id>/<artist_url>" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "Index" "controller" => string(6) "Artist" "action" => string(5) "index" ) protected _route_regex => string(62) "#^(?P<letter_id>[^/.,;?\n]++)/(?P<artist_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(6) "Artist" protected _action => string(5) "index" protected _uri => string(14) "30/Comedy-Club" protected _external => bool FALSE protected _params => array(2) ( "letter_id" => string(2) "30" "artist_url" => string(11) "Comedy-Club" ) 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 callbacks117 foreach ($this->header_callbacks() as $header => $callback)118 {119 if ($response->headers($header))
SYSPATH/classes/Kohana/Request.php [ 986 ]» 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(24) "<letter_id>/<artist_url>" protected _regex => array(0) protected _defaults => array(3) ( "directory" => string(5) "Index" "controller" => string(6) "Artist" "action" => string(5) "index" ) protected _route_regex => string(62) "#^(?P<letter_id>[^/.,;?\n]++)/(?P<artist_url>[^/.,;?\n]++)$#uD" }
protected _routes => array(0) protected _header => object HTTP_Header(0){ }
protected _body => NULL protected _directory => string(5) "Index" protected _controller => string(6) "Artist" protected _action => string(5) "index" protected _uri => string(14) "30/Comedy-Club" protected _external => bool FALSE protected _params => array(2) ( "letter_id" => string(2) "30" "artist_url" => string(11) "Comedy-Club" ) 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) }
}981 throw new Request_Exception('Unable to execute :uri without a Kohana_Request_Client', array(982 ':uri' => $this->_uri,983 ));984 }985 986 return $this->_client->execute($this);987 }988 989 /**990 * Returns whether this request is the initial request Kohana received.991 * Can be used to test for sub requests.
DOCROOT/index.php [ 132 ]» Kohana_Request->execute()
127 /**128 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].129 * If no source is specified, the URI will be automatically detected.130 */131 echo Request::factory(TRUE, array(), FALSE)132 ->execute()133 ->send_headers(TRUE)134 ->body();135 }