APPPATH/views/tags/news.php [ 34 ]
29 </div>
30 </a>
31 <? endif;*/ ?>
32
33 <? foreach ($news_collection as $news_item): ?>
34 <? $news_count += 1; ?>
35 <a href="<?= $news_item->view_url() ?>">
36 <div class="item">
37 <div class="image resize_news2"
38 style="background: url('<?= $news_item->file_s->html_img_url(232, 142) ?>'); background-size: cover;">
39 <div class="content">
-
APPPATH/views/tags/news.php [ 34 ] » Kohana_Core::error_handler(arguments)
0
integer 8
1
string(30) "Undefined variable: news_count"
2
string(51) "/srv/www/new.baq.kz/application/views/tags/news.php"
3
integer 34
4
array(13) ( "kohana_view_filename" => string(51) "/srv/www/new.baq.kz/application/views/tags/news.php" "kohana_view_data" => array(2) ( "tag" => object Model_Tag(46)
{ protected _table_name => string(4) "tags" protected _list_title => string(23) "Список тегов" protected _edit_title => string(6) "тег" public lang => NULL protected alphabet => array(3) ( "ru" => array(33) ( 0 => string(2) "А" 1 => string(2) "Б" 2 => string(2) "В" 3 => string(2) "Г" 4 => string(2) "Д" 5 => string(2) "Е" 6 => string(2) "Ё" 7 => string(2) "Ж" 8 => string(2) "З" 9 => string(2) "И" 10 => string(2) "Й" 11 => string(2) "К" 12 => string(2) "Л" 13 => string(2) "М" 14 => string(2) "Н" 15 => string(2) "О" 16 => string(2) "П" 17 => string(2) "Р" 18 => string(2) "С" 19 => string(2) "Т" 20 => string(2) "У" 21 => string(2) "Ф" 22 => string(2) "Х" 23 => string(2) "Ц" 24 => string(2) "Ч" 25 => string(2) "Ш" 26 => string(2) "Щ" 27 => string(2) "Ъ" 28 => string(2) "Ы" 29 => string(2) "Ь" 30 => string(2) "Э" 31 => string(2) "Ю" 32 => string(2) "Я" ) "kz" => array(39) ( 0 => string(2) "А" 1 => string(2) "Ә" 2 => string(2) "Б" 3 => string(2) "В" 4 => string(2) "Г" 5 => string(2) "Ғ" 6 => string(2) "Д" 7 => string(2) "Е" 8 => string(2) "Ж" 9 => string(2) "З" 10 => string(2) "И" 11 => string(2) "Й" 12 => string(2) "К" 13 => string(2) "Қ" 14 => string(2) "Л" 15 => string(2) "М" 16 => string(2) "Н" 17 => string(2) "Ң" 18 => string(2) "О" 19 => string(2) "Ө" 20 => string(2) "П" 21 => string(2) "Р" 22 => string(2) "С" 23 => string(2) "Т" 24 => string(2) "У" 25 => string(2) "Ұ" 26 => string(2) "Ү" 27 => string(2) "Ф" 28 => string(2) "Х" 29 => string(2) "Һ" 30 => string(2) "Ц" 31 => string(2) "Ч" 32 => string(2) "Ш" 33 => string(2) "Щ" 34 => string(2) "Ы" 35 => string(2) "І" 36 => string(2) "Э" 37 => string(2) "Ю" 38 => string(2) "Я" ) "en" => array(26) ( 0 => string(1) "A" 1 => string(1) "B" 2 => string(1) "C" 3 => string(1) "D" 4 => string(1) "E" 5 => string(1) "F" 6 => string(1) "G" 7 => string(1) "H" 8 => string(1) "I" 9 => string(1) "J" 10 => string(1) "K" 11 => string(1) "L" 12 => string(1) "M" 13 => string(1) "N" 14 => string(1) "O" 15 => string(1) "P" 16 => string(1) "Q" 17 => string(1) "R" 18 => string(1) "S" 19 => string(1) "T" 20 => string(1) "U" 21 => string(1) "V" 22 => string(1) "W" 23 => string(1) "X" 24 => string(1) "Y" 25 => string(1) "Z" ) ) protected _has_many => array(1) ( "news" => array(4) ( "foreign_key" => string(6) "tag_id" "through" => string(9) "tags_news" "far_key" => string(7) "news_id" "model" => string(4) "News" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _route => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(7) ( "id" => string(4) "2202" "tag" => string(27) "Сенат Төрағасы" "sef" => string(14) "senat_toragasi" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(4) "2202" "tag" => string(27) "Сенат Төрағасы" "sef" => string(14) "senat_toragasi" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) 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(3) "tag" protected _object_plural => string(4) "tags" protected _table_columns => array(7) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tag" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "tag" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "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(4) "2202" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
"news_collection" => object Database_Result_Cached(6){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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(3) "tag" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _query => string(1514) "SELECT `news`.`id` AS `id`, `news`.`title` AS `title`, `news`.`description` AS `description`, `news`.`text` AS `text`, `news`.`f …" protected _result => array(12) ( 0 => object Model_News(45)
) "tag" => object Model_Tag(46){ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "437487" "title" => string(77) "Тоқаев: Отандық заңнаманы жетілдіру керек" "description" => string(370) "<p>Астана, BAQ.KZ. <strong>Қасым-Жомарт Тоқаевтың</strong> төрағалық етуімен <strong>Сенат Бюросының</strong> 2018 жылғы қорытын …" "text" => string(4645) "<p>Сенаторлар Қазақстан мен Хорватия арасындағы Табысқа салынатын салықтарға қатысты қосарланған салық салуды болдырмау және сал …" "file" => string(6) "328625" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2053" "date" => string(19) "2018-12-24 17:00:00" "sef" => string(56) "tokaev_otandik_zannamani_zhetildiru_kerek20181224_170000" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "437487" "title" => string(77) "Тоқаев: Отандық заңнаманы жетілдіру керек" "description" => string(370) "<p>Астана, BAQ.KZ. <strong>Қасым-Жомарт Тоқаевтың</strong> төрағалық етуімен <strong>Сенат Бюросының</strong> 2018 жылғы қорытын …" "text" => string(4645) "<p>Сенаторлар Қазақстан мен Хорватия арасындағы Табысқа салынатын салықтарға қатысты қосарланған салық салуды болдырмау және сал …" "file" => string(6) "328625" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2053" "date" => string(19) "2018-12-24 17:00:00" "sef" => string(56) "tokaev_otandik_zannamani_zhetildiru_kerek20181224_170000" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "437487" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
1 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436964" "title" => string(143) "Тоқаев біздің елдегі дипломатиялық қызметтері аяқталған елшілерді қабылдады" "description" => string(487) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Чехия Республикасының Қазақстан …" "text" => string(1821) "<p style="text-align: justify;">Сенат Төрағасы Қазақстан мен сол мемлекеттердің арасындағы саяси, экономикалық және мәдени-гуман …" "file" => string(6) "327549" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2133" "date" => string(19) "2018-12-11 20:26:00" "sef" => string(93) "tokaev_bizdin_eldegi_diplomatiyalik_kizmetteri_ayaktalgan_elshilerdi_kabildadi20181211_182600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436964" "title" => string(143) "Тоқаев біздің елдегі дипломатиялық қызметтері аяқталған елшілерді қабылдады" "description" => string(487) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Чехия Республикасының Қазақстан …" "text" => string(1821) "<p style="text-align: justify;">Сенат Төрағасы Қазақстан мен сол мемлекеттердің арасындағы саяси, экономикалық және мәдени-гуман …" "file" => string(6) "327549" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2133" "date" => string(19) "2018-12-11 20:26:00" "sef" => string(93) "tokaev_bizdin_eldegi_diplomatiyalik_kizmetteri_ayaktalgan_elshilerdi_kabildadi20181211_182600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436964" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
2 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436776" "title" => string(167) "Қасым-Жомарт Тоқаев: Негізсіз қылмыстық қудалаудан қорғау - қазіргі өткір сұрақтардың бірі" "description" => string(437) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Сенат төрағасы Қасым-Жомарт Тоқаев «Құқық қорғау қызметінің процестік не …" "text" => string(4523) "<blockquote> <p style="text-align: justify;">«Мемлекет басшысы атап көрсеткендей, құқық қорғау органдарының сапалы қызметі азама …" "file" => string(6) "327240" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2449" "date" => string(19) "2018-12-07 10:58:00" "sef" => string(103) "kasimzhomart_tokaev_negizsiz_kilmistik_kudalaudan_korgau__kazirgi_otkir_suraktardin_biri20181207_105800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "142" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436776" "title" => string(167) "Қасым-Жомарт Тоқаев: Негізсіз қылмыстық қудалаудан қорғау - қазіргі өткір сұрақтардың бірі" "description" => string(437) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Сенат төрағасы Қасым-Жомарт Тоқаев «Құқық қорғау қызметінің процестік не …" "text" => string(4523) "<blockquote> <p style="text-align: justify;">«Мемлекет басшысы атап көрсеткендей, құқық қорғау органдарының сапалы қызметі азама …" "file" => string(6) "327240" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2449" "date" => string(19) "2018-12-07 10:58:00" "sef" => string(103) "kasimzhomart_tokaev_negizsiz_kilmistik_kudalaudan_korgau__kazirgi_otkir_suraktardin_biri20181207_105800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "142" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436776" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
3 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436485" "title" => string(130) "Тоқаев Еуразияның заңгер-ғалымдарын ынтымақтастықты дамытуға шақырды" "description" => string(450) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Қара теңіз-Каспий өңірі елдерін …" "text" => string(4701) "<p style="text-align: justify;">Қ.Тоқаев Қазақстан Республикасы Тұңғыш Президенті күнінің қарсаңында өткізген бұл кездесу кездей …" "file" => string(6) "326571" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1914" "date" => string(19) "2018-11-30 18:09:00" "sef" => string(84) "tokaev_euraziyanin_zangergalimdarin_intimaktastikti_damituga_shakirdi20181130_180900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436485" "title" => string(130) "Тоқаев Еуразияның заңгер-ғалымдарын ынтымақтастықты дамытуға шақырды" "description" => string(450) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Қара теңіз-Каспий өңірі елдерін …" "text" => string(4701) "<p style="text-align: justify;">Қ.Тоқаев Қазақстан Республикасы Тұңғыш Президенті күнінің қарсаңында өткізген бұл кездесу кездей …" "file" => string(6) "326571" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1914" "date" => string(19) "2018-11-30 18:09:00" "sef" => string(84) "tokaev_euraziyanin_zangergalimdarin_intimaktastikti_damituga_shakirdi20181130_180900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436485" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
4 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436436" "title" => string(138) "Тоқаев Петербургте ТМД Парламентаралық Ассамблеясының шараларына қатысты" "description" => string(488) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> Парламент сенатының төрағасы Қасым-Жомарт Тоқаев …" "text" => string(5389) "<p style="text-align: justify;">ТМД ПАА Кеңесінің отырысы мен Парламентаралық Ассамблеяның 48-ші отырысында ұйымға қатысушы мемл …" "file" => string(6) "326391" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1624" "date" => string(19) "2018-11-30 08:56:00" "sef" => string(89) "tokaev_peterburgte_tmd_parlamentaralik_assambleyasinin_sharalarina_katisti20181130_085600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436436" "title" => string(138) "Тоқаев Петербургте ТМД Парламентаралық Ассамблеясының шараларына қатысты" "description" => string(488) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> Парламент сенатының төрағасы Қасым-Жомарт Тоқаев …" "text" => string(5389) "<p style="text-align: justify;">ТМД ПАА Кеңесінің отырысы мен Парламентаралық Ассамблеяның 48-ші отырысында ұйымға қатысушы мемл …" "file" => string(6) "326391" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1624" "date" => string(19) "2018-11-30 08:56:00" "sef" => string(89) "tokaev_peterburgte_tmd_parlamentaralik_assambleyasinin_sharalarina_katisti20181130_085600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436436" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
5 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "433299" "title" => string(138) "Тоқаев «Швейцария-Қазақстан» парламентаралық тобының төрағасын қабылдады" "description" => string(601) "<p style="text-align: justify;">Парламент Сенатының төрағасы Қасым-Жомарт Тоқаев Швейцария Конфедерациясы Федералдық жиналысы Ка …" "text" => string(2796) "<p style="text-align: justify;">Қазақстан мен Швейцария арасындағы екіжақты қарым-қатынастың деңгейін жоғары бағалаған Сенат Төр …" "file" => string(6) "320451" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1728" "date" => string(19) "2018-10-01 20:17:00" "sef" => string(87) "tokaev_shveitsariyakazakstan_parlamentaralik_tobinin_toragasin_kabildadi20181001_170000" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "433299" "title" => string(138) "Тоқаев «Швейцария-Қазақстан» парламентаралық тобының төрағасын қабылдады" "description" => string(601) "<p style="text-align: justify;">Парламент Сенатының төрағасы Қасым-Жомарт Тоқаев Швейцария Конфедерациясы Федералдық жиналысы Ка …" "text" => string(2796) "<p style="text-align: justify;">Қазақстан мен Швейцария арасындағы екіжақты қарым-қатынастың деңгейін жоғары бағалаған Сенат Төр …" "file" => string(6) "320451" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1728" "date" => string(19) "2018-10-01 20:17:00" "sef" => string(87) "tokaev_shveitsariyakazakstan_parlamentaralik_tobinin_toragasin_kabildadi20181001_170000" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "433299" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
6 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "432675" "title" => string(65) "Тоқаев Бразилия елшісімен кездесті" "description" => string(322) "<p style="text-align: justify;">Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Бразилияның Қазақстандағы елшісі Марсия Доннер …" "text" => string(2061) "<p style="text-align: justify;">Төраға Елшіні Қазақстандағы жұмысының басталуымен құттықтап, тілектестігін білдірді және оның ди …" "file" => string(6) "319101" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1815" "date" => string(19) "2018-09-19 16:24:00" "sef" => string(51) "tokaev_braziliya_elshisimen_kezdesti20180919_140600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "432675" "title" => string(65) "Тоқаев Бразилия елшісімен кездесті" "description" => string(322) "<p style="text-align: justify;">Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Бразилияның Қазақстандағы елшісі Марсия Доннер …" "text" => string(2061) "<p style="text-align: justify;">Төраға Елшіні Қазақстандағы жұмысының басталуымен құттықтап, тілектестігін білдірді және оның ди …" "file" => string(6) "319101" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1815" "date" => string(19) "2018-09-19 16:24:00" "sef" => string(51) "tokaev_braziliya_elshisimen_kezdesti20180919_140600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "432675" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
7 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "432394" "title" => string(53) "Тоқаев АҚШ Елшісін қабылдады" "description" => string(424) "<p style="text-align: justify;">Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев АҚШ-тың Қазақстан Республикасындағы Елшісі Джор …" "text" => string(2489) "<p style="text-align: justify;">Америкалық Елшінің екіжақты қатынастарды дамытудағы елеулі үлесіне тоқтала келіп, Қ.Тоқаев Мемле …" "file" => string(6) "318518" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1887" "date" => string(19) "2018-09-13 20:33:00" "sef" => string(45) "tokaev_aksh_elshisin_kabildadi20180913_202700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "432394" "title" => string(53) "Тоқаев АҚШ Елшісін қабылдады" "description" => string(424) "<p style="text-align: justify;">Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев АҚШ-тың Қазақстан Республикасындағы Елшісі Джор …" "text" => string(2489) "<p style="text-align: justify;">Америкалық Елшінің екіжақты қатынастарды дамытудағы елеулі үлесіне тоқтала келіп, Қ.Тоқаев Мемле …" "file" => string(6) "318518" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1887" "date" => string(19) "2018-09-13 20:33:00" "sef" => string(45) "tokaev_aksh_elshisin_kabildadi20180913_202700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "432394" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
8 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "431534" "title" => string(167) "Сенат Төрағасы Қытайдың шет елдермен достастық қоғамы төрағасының орынбасарымен кездесті" "description" => string(397) "<p style="text-align: justify;">Қазақстан Республикасы Парламенті Сенатының Төрағасы Қасым-Жомарт Тоқаев Қытайдың шет елдермен д …" "text" => string(2376) "<p style="text-align: justify;">Сенат Төрағасы екі ел арасындағы сауда-экономикалық, энергетикалық, мәдени-гуманитарлық салалард …" "file" => string(6) "316637" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2014" "date" => string(19) "2018-08-27 22:02:00" "sef" => string(104) "senat_toragasi_kitaidin_shet_eldermen_dostastik_kogami_toragasinin_orinbasarimen_kezdesti20180827_220200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "431534" "title" => string(167) "Сенат Төрағасы Қытайдың шет елдермен достастық қоғамы төрағасының орынбасарымен кездесті" "description" => string(397) "<p style="text-align: justify;">Қазақстан Республикасы Парламенті Сенатының Төрағасы Қасым-Жомарт Тоқаев Қытайдың шет елдермен д …" "text" => string(2376) "<p style="text-align: justify;">Сенат Төрағасы екі ел арасындағы сауда-экономикалық, энергетикалық, мәдени-гуманитарлық салалард …" "file" => string(6) "316637" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2014" "date" => string(19) "2018-08-27 22:02:00" "sef" => string(104) "senat_toragasi_kitaidin_shet_eldermen_dostastik_kogami_toragasinin_orinbasarimen_kezdesti20180827_220200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "431534" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
9 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "427037" "title" => string(131) "Біртанов «кешірілмес жайбасарлық» деген Тоқаевтың сынына жауап берді " "description" => string(362) "<p style="text-align: justify;">Денсаулық сақтау министрі Елжан Біртанов менингитпен күресу жұмыстарын сынаған Сенат спикері Қас …" "text" => string(2565) "<blockquote> <p style="text-align: justify;">«Бұл мәселе ақпараттық жүйелер мен әлеуметтік желілермен жұмыс істеу ретінде, әрине …" "file" => string(6) "306898" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "1" "views_count" => string(4) "2508" "date" => string(19) "2018-06-05 13:51:00" "sef" => string(84) "birtanov_keshirilmes_zhaibasarlik_degen_tokaevtin_sinina_zhauap_berdi20180605_135100" "redactor_id" => string(3) "659" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "427037" "title" => string(131) "Біртанов «кешірілмес жайбасарлық» деген Тоқаевтың сынына жауап берді " "description" => string(362) "<p style="text-align: justify;">Денсаулық сақтау министрі Елжан Біртанов менингитпен күресу жұмыстарын сынаған Сенат спикері Қас …" "text" => string(2565) "<blockquote> <p style="text-align: justify;">«Бұл мәселе ақпараттық жүйелер мен әлеуметтік желілермен жұмыс істеу ретінде, әрине …" "file" => string(6) "306898" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "1" "views_count" => string(4) "2508" "date" => string(19) "2018-06-05 13:51:00" "sef" => string(84) "birtanov_keshirilmes_zhaibasarlik_degen_tokaevtin_sinina_zhauap_berdi20180605_135100" "redactor_id" => string(3) "659" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "427037" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
10 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "424333" "title" => string(61) "Министр қазақшасын түзеп келіпті" "description" => string(784) "<p style="text-align: justify;">Нақты сұраққа нақты жауап бере алмай Сенат Төрағасы Қасым-Жомарт Тоқаевтан сын естігеннен кейін …" "text" => string(5604) "<p style="text-align: justify;">Дегенмен, бұл жолы да министр сенаторлардың сын садағынан құтыла алмады. Сенаттың Экономикалық с …" "file" => string(6) "301053" "file_author" => string(0) "" "category_id" => string(2) "36" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2132" "date" => string(19) "2018-04-19 22:35:00" "sef" => string(48) "ministr_kazakshasin_tuzep_kelipti20180419_223500" "redactor_id" => string(3) "659" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "424333" "title" => string(61) "Министр қазақшасын түзеп келіпті" "description" => string(784) "<p style="text-align: justify;">Нақты сұраққа нақты жауап бере алмай Сенат Төрағасы Қасым-Жомарт Тоқаевтан сын естігеннен кейін …" "text" => string(5604) "<p style="text-align: justify;">Дегенмен, бұл жолы да министр сенаторлардың сын садағынан құтыла алмады. Сенаттың Экономикалық с …" "file" => string(6) "301053" "file_author" => string(0) "" "category_id" => string(2) "36" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2132" "date" => string(19) "2018-04-19 22:35:00" "sef" => string(48) "ministr_kazakshasin_tuzep_kelipti20180419_223500" "redactor_id" => string(3) "659" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "424333" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
11 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "377346" "title" => string(67) "Қ.Тоқаев ЮНЭЙДС басшысымен кездесті " "description" => string(351) "<p style="text-align: justify;">Сенат Төрағасы Қасым-Жомарт Тоқаев БҰҰ Бас хатшысының орынбасары, ЮНЭЙДС (БҰҰ АИТВ/ЖИТС жөніндег …" "text" => string(1760) "<p style="text-align: justify;">Сенат басшысы Қазақстан СПИД, өкпе аурулары және безгекпен күрес жөніндегі БҰҰ ВИЧ/СПИД жөніндег …" "file" => string(5) "17938" "file_author" => string(0) "" "category_id" => string(2) "18" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1149" "date" => string(19) "2016-06-21 18:07:00" "sef" => string(35) "ktokaev_uneids_basshisimen_kezdesti" "redactor_id" => string(2) "16" "tags" => string(105) " БҰҰ ВИЧ/СПИД, Қасым-Жомарт Тоқаев, Сенат Төрағасы, ЮНЭЙДС " "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => NULL "og_title" => NULL "og_description" => NULL "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "377346" "title" => string(67) "Қ.Тоқаев ЮНЭЙДС басшысымен кездесті " "description" => string(351) "<p style="text-align: justify;">Сенат Төрағасы Қасым-Жомарт Тоқаев БҰҰ Бас хатшысының орынбасары, ЮНЭЙДС (БҰҰ АИТВ/ЖИТС жөніндег …" "text" => string(1760) "<p style="text-align: justify;">Сенат басшысы Қазақстан СПИД, өкпе аурулары және безгекпен күрес жөніндегі БҰҰ ВИЧ/СПИД жөніндег …" "file" => string(5) "17938" "file_author" => string(0) "" "category_id" => string(2) "18" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1149" "date" => string(19) "2016-06-21 18:07:00" "sef" => string(35) "ktokaev_uneids_basshisimen_kezdesti" "redactor_id" => string(2) "16" "tags" => string(105) " БҰҰ ВИЧ/СПИД, Қасым-Жомарт Тоқаев, Сенат Төрағасы, ЮНЭЙДС " "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => NULL "og_title" => NULL "og_description" => NULL "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "377346" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
) protected _total_rows => integer 12 protected _current_row => integer 0 protected _as_object => string(10) "Model_News" protected _object_params => NULL }{ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "tags" protected _list_title => string(23) "Список тегов" protected _edit_title => string(6) "тег" public lang => NULL protected alphabet => array(3) ( "ru" => array(33) ( 0 => string(2) "А" 1 => string(2) "Б" 2 => string(2) "В" 3 => string(2) "Г" 4 => string(2) "Д" 5 => string(2) "Е" 6 => string(2) "Ё" 7 => string(2) "Ж" 8 => string(2) "З" 9 => string(2) "И" 10 => string(2) "Й" 11 => string(2) "К" 12 => string(2) "Л" 13 => string(2) "М" 14 => string(2) "Н" 15 => string(2) "О" 16 => string(2) "П" 17 => string(2) "Р" 18 => string(2) "С" 19 => string(2) "Т" 20 => string(2) "У" 21 => string(2) "Ф" 22 => string(2) "Х" 23 => string(2) "Ц" 24 => string(2) "Ч" 25 => string(2) "Ш" 26 => string(2) "Щ" 27 => string(2) "Ъ" 28 => string(2) "Ы" 29 => string(2) "Ь" 30 => string(2) "Э" 31 => string(2) "Ю" 32 => string(2) "Я" ) "kz" => array(39) ( 0 => string(2) "А" 1 => string(2) "Ә" 2 => string(2) "Б" 3 => string(2) "В" 4 => string(2) "Г" 5 => string(2) "Ғ" 6 => string(2) "Д" 7 => string(2) "Е" 8 => string(2) "Ж" 9 => string(2) "З" 10 => string(2) "И" 11 => string(2) "Й" 12 => string(2) "К" 13 => string(2) "Қ" 14 => string(2) "Л" 15 => string(2) "М" 16 => string(2) "Н" 17 => string(2) "Ң" 18 => string(2) "О" 19 => string(2) "Ө" 20 => string(2) "П" 21 => string(2) "Р" 22 => string(2) "С" 23 => string(2) "Т" 24 => string(2) "У" 25 => string(2) "Ұ" 26 => string(2) "Ү" 27 => string(2) "Ф" 28 => string(2) "Х" 29 => string(2) "Һ" 30 => string(2) "Ц" 31 => string(2) "Ч" 32 => string(2) "Ш" 33 => string(2) "Щ" 34 => string(2) "Ы" 35 => string(2) "І" 36 => string(2) "Э" 37 => string(2) "Ю" 38 => string(2) "Я" ) "en" => array(26) ( 0 => string(1) "A" 1 => string(1) "B" 2 => string(1) "C" 3 => string(1) "D" 4 => string(1) "E" 5 => string(1) "F" 6 => string(1) "G" 7 => string(1) "H" 8 => string(1) "I" 9 => string(1) "J" 10 => string(1) "K" 11 => string(1) "L" 12 => string(1) "M" 13 => string(1) "N" 14 => string(1) "O" 15 => string(1) "P" 16 => string(1) "Q" 17 => string(1) "R" 18 => string(1) "S" 19 => string(1) "T" 20 => string(1) "U" 21 => string(1) "V" 22 => string(1) "W" 23 => string(1) "X" 24 => string(1) "Y" 25 => string(1) "Z" ) ) protected _has_many => array(1) ( "news" => array(4) ( "foreign_key" => string(6) "tag_id" "through" => string(9) "tags_news" "far_key" => string(7) "news_id" "model" => string(4) "News" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _route => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _belongs_to => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(7) ( "id" => string(4) "2202" "tag" => string(27) "Сенат Төрағасы" "sef" => string(14) "senat_toragasi" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(4) "2202" "tag" => string(27) "Сенат Төрағасы" "sef" => string(14) "senat_toragasi" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) 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(3) "tag" protected _object_plural => string(4) "tags" protected _table_columns => array(7) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "tag" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "tag" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(4) "text" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "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(4) "2202" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
"news_collection" => object Database_Result_Cached(6){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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(3) "tag" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _query => string(1514) "SELECT `news`.`id` AS `id`, `news`.`title` AS `title`, `news`.`description` AS `description`, `news`.`text` AS `text`, `news`.`f …" protected _result => array(12) ( 0 => object Model_News(45)
{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "437487" "title" => string(77) "Тоқаев: Отандық заңнаманы жетілдіру керек" "description" => string(370) "<p>Астана, BAQ.KZ. <strong>Қасым-Жомарт Тоқаевтың</strong> төрағалық етуімен <strong>Сенат Бюросының</strong> 2018 жылғы қорытын …" "text" => string(4645) "<p>Сенаторлар Қазақстан мен Хорватия арасындағы Табысқа салынатын салықтарға қатысты қосарланған салық салуды болдырмау және сал …" "file" => string(6) "328625" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2053" "date" => string(19) "2018-12-24 17:00:00" "sef" => string(56) "tokaev_otandik_zannamani_zhetildiru_kerek20181224_170000" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "437487" "title" => string(77) "Тоқаев: Отандық заңнаманы жетілдіру керек" "description" => string(370) "<p>Астана, BAQ.KZ. <strong>Қасым-Жомарт Тоқаевтың</strong> төрағалық етуімен <strong>Сенат Бюросының</strong> 2018 жылғы қорытын …" "text" => string(4645) "<p>Сенаторлар Қазақстан мен Хорватия арасындағы Табысқа салынатын салықтарға қатысты қосарланған салық салуды болдырмау және сал …" "file" => string(6) "328625" "file_author" => string(0) "" "category_id" => string(1) "5" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2053" "date" => string(19) "2018-12-24 17:00:00" "sef" => string(56) "tokaev_otandik_zannamani_zhetildiru_kerek20181224_170000" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "437487" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
1 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436964" "title" => string(143) "Тоқаев біздің елдегі дипломатиялық қызметтері аяқталған елшілерді қабылдады" "description" => string(487) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Чехия Республикасының Қазақстан …" "text" => string(1821) "<p style="text-align: justify;">Сенат Төрағасы Қазақстан мен сол мемлекеттердің арасындағы саяси, экономикалық және мәдени-гуман …" "file" => string(6) "327549" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2133" "date" => string(19) "2018-12-11 20:26:00" "sef" => string(93) "tokaev_bizdin_eldegi_diplomatiyalik_kizmetteri_ayaktalgan_elshilerdi_kabildadi20181211_182600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436964" "title" => string(143) "Тоқаев біздің елдегі дипломатиялық қызметтері аяқталған елшілерді қабылдады" "description" => string(487) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Чехия Республикасының Қазақстан …" "text" => string(1821) "<p style="text-align: justify;">Сенат Төрағасы Қазақстан мен сол мемлекеттердің арасындағы саяси, экономикалық және мәдени-гуман …" "file" => string(6) "327549" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2133" "date" => string(19) "2018-12-11 20:26:00" "sef" => string(93) "tokaev_bizdin_eldegi_diplomatiyalik_kizmetteri_ayaktalgan_elshilerdi_kabildadi20181211_182600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436964" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
2 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436776" "title" => string(167) "Қасым-Жомарт Тоқаев: Негізсіз қылмыстық қудалаудан қорғау - қазіргі өткір сұрақтардың бірі" "description" => string(437) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Сенат төрағасы Қасым-Жомарт Тоқаев «Құқық қорғау қызметінің процестік не …" "text" => string(4523) "<blockquote> <p style="text-align: justify;">«Мемлекет басшысы атап көрсеткендей, құқық қорғау органдарының сапалы қызметі азама …" "file" => string(6) "327240" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2449" "date" => string(19) "2018-12-07 10:58:00" "sef" => string(103) "kasimzhomart_tokaev_negizsiz_kilmistik_kudalaudan_korgau__kazirgi_otkir_suraktardin_biri20181207_105800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "142" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436776" "title" => string(167) "Қасым-Жомарт Тоқаев: Негізсіз қылмыстық қудалаудан қорғау - қазіргі өткір сұрақтардың бірі" "description" => string(437) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Сенат төрағасы Қасым-Жомарт Тоқаев «Құқық қорғау қызметінің процестік не …" "text" => string(4523) "<blockquote> <p style="text-align: justify;">«Мемлекет басшысы атап көрсеткендей, құқық қорғау органдарының сапалы қызметі азама …" "file" => string(6) "327240" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2449" "date" => string(19) "2018-12-07 10:58:00" "sef" => string(103) "kasimzhomart_tokaev_negizsiz_kilmistik_kudalaudan_korgau__kazirgi_otkir_suraktardin_biri20181207_105800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "142" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436776" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
3 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436485" "title" => string(130) "Тоқаев Еуразияның заңгер-ғалымдарын ынтымақтастықты дамытуға шақырды" "description" => string(450) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Қара теңіз-Каспий өңірі елдерін …" "text" => string(4701) "<p style="text-align: justify;">Қ.Тоқаев Қазақстан Республикасы Тұңғыш Президенті күнінің қарсаңында өткізген бұл кездесу кездей …" "file" => string(6) "326571" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1914" "date" => string(19) "2018-11-30 18:09:00" "sef" => string(84) "tokaev_euraziyanin_zangergalimdarin_intimaktastikti_damituga_shakirdi20181130_180900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436485" "title" => string(130) "Тоқаев Еуразияның заңгер-ғалымдарын ынтымақтастықты дамытуға шақырды" "description" => string(450) "<p style="text-align: justify;">Астана, BAQ.KZ. Парламент Сенатының Төрағасы Қасым-Жомарт Тоқаев Қара теңіз-Каспий өңірі елдерін …" "text" => string(4701) "<p style="text-align: justify;">Қ.Тоқаев Қазақстан Республикасы Тұңғыш Президенті күнінің қарсаңында өткізген бұл кездесу кездей …" "file" => string(6) "326571" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1914" "date" => string(19) "2018-11-30 18:09:00" "sef" => string(84) "tokaev_euraziyanin_zangergalimdarin_intimaktastikti_damituga_shakirdi20181130_180900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436485" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
4 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "436436" "title" => string(138) "Тоқаев Петербургте ТМД Парламентаралық Ассамблеясының шараларына қатысты" "description" => string(488) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> Парламент сенатының төрағасы Қасым-Жомарт Тоқаев …" "text" => string(5389) "<p style="text-align: justify;">ТМД ПАА Кеңесінің отырысы мен Парламентаралық Ассамблеяның 48-ші отырысында ұйымға қатысушы мемл …" "file" => string(6) "326391" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1624" "date" => string(19) "2018-11-30 08:56:00" "sef" => string(89) "tokaev_peterburgte_tmd_parlamentaralik_assambleyasinin_sharalarina_katisti20181130_085600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436436" "title" => string(138) "Тоқаев Петербургте ТМД Парламентаралық Ассамблеясының шараларына қатысты" "description" => string(488) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> Парламент сенатының төрағасы Қасым-Жомарт Тоқаев …" "text" => string(5389) "<p style="text-align: justify;">ТМД ПАА Кеңесінің отырысы мен Парламентаралық Ассамблеяның 48-ші отырысында ұйымға қатысушы мемл …" "file" => string(6) "326391" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1624" "date" => string(19) "2018-11-30 08:56:00" "sef" => string(89) "tokaev_peterburgte_tmd_parlamentaralik_assambleyasinin_sharalarina_katisti20181130_085600" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "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) "436436" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
5 => object Model_News(45){ protected _identifier => string(1) "`" public last_query => string(512) "SELECT `storage`.`id` AS `id`, `storage`.`key` AS `key`, `storage`.`name` AS `name`, `storage`.`size` AS `size`, `storage`.`type …" protected _instance => string(7) "default" protected _connection => object PDO(0)
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) "news" }{ }
protected _config => array(4) ( "type" => string(9) "PDO_MySQL" "table_prefix" => string(0) "" "charset" => string(4) "utf8" "caching" => bool FALSE ) }{ protected _table_name => string(4) "news" protected _route => string(4) "news" protected _list_title => string(29) "Список новостей" protected _edit_title => string(14) "новость" public lang => NULL protected _has_many => array(6) ( "photos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "photo_id" "model" => string(10) "News_Photo" ) "videos" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(8) "video_id" "model" => string(10) "News_Video" ) "comments" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(10) "comment_id" "model" => string(7) "Comment" ) "tags2" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(9) "tags_news" "far_key" => string(6) "tag_id" "model" => string(3) "Tag" ) "events" => array(4) ( "foreign_key" => string(7) "news_id" "through" => string(11) "events_news" "far_key" => string(8) "event_id" "model" => string(5) "Event" ) "broadcast" => array(4) ( "foreign_key" => string(7) "news_id" "through" => NULL "far_key" => string(12) "broadcast_id" "model" => string(14) "News_Broadcast" ) ) protected _belongs_to => array(8) ( "category" => array(2) ( "foreign_key" => string(11) "category_id" "model" => string(8) "Category" ) "file_s" => array(2) ( "foreign_key" => string(4) "file" "model" => string(7) "Storage" ) "audio_file_s" => array(2) ( "foreign_key" => string(10) "audio_file" "model" => string(7) "Storage" ) "author" => array(2) ( "foreign_key" => string(9) "author_id" "model" => string(6) "Author" ) "redactor" => array(2) ( "foreign_key" => string(11) "redactor_id" "model" => string(4) "User" ) "newspaper" => array(2) ( "foreign_key" => string(12) "newspaper_id" "model" => string(9) "Newspaper" ) "edition" => array(2) ( "foreign_key" => string(10) "edition_id" "model" => string(16) "Newspaperedition" ) "center" => array(2) ( "foreign_key" => string(9) "center_id" "model" => string(9) "Culcenter" ) ) public _default_values => array(0) protected _default_lang => string(2) "ru" protected _need_log => bool FALSE protected _action_type => NULL protected _deffered_values => array(0) protected _partial_models => array(0) public pagination => NULL protected _has_one => array(0) protected _load_with => array(0) protected _validation => NULL protected _object => array(39) ( "id" => string(6) "433299" "title" => string(138) "Тоқаев «Швейцария-Қазақстан» парламентаралық тобының төрағасын қабылдады" "description" => string(601) "<p style="text-align: justify;">Парламент Сенатының төрағасы Қасым-Жомарт Тоқаев Швейцария Конфедерациясы Федералдық жиналысы Ка …" "text" => string(2796) "<p style="text-align: justify;">Қазақстан мен Швейцария арасындағы екіжақты қарым-қатынастың деңгейін жоғары бағалаған Сенат Төр …" "file" => string(6) "320451" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1728" "date" => string(19) "2018-10-01 20:17:00" "sef" => string(87) "tokaev_shveitsariyakazakstan_parlamentaralik_tobinin_toragasin_kabildadi20181001_170000" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "433299" "title" => string(138) "Тоқаев «Швейцария-Қазақстан» парламентаралық тобының төрағасын қабылдады" "description" => string(601) "<p style="text-align: justify;">Парламент Сенатының төрағасы Қасым-Жомарт Тоқаев Швейцария Конфедерациясы Федералдық жиналысы Ка …" "text" => string(2796) "<p style="text-align: justify;">Қазақстан мен Швейцария арасындағы екіжақты қарым-қатынастың деңгейін жоғары бағалаған Сенат Төр …" "file" => string(6) "320451" "file_author" => string(48) "Сенаттың баспасөз қызметі" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1728" "date" => string(19) "2018-10-01 20:17:00" "sef" => string(87) "tokaev_shveitsariyakazakstan_parlamentaralik_tobinin_toragasin_kabildadi20181001_170000" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => 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) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment"