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(3) "589" "tag" => string(29) "Қанат Бозымбаев" "sef" => string(15) "kanat_bozimbaev" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(3) "589" "tag" => string(29) "Қанат Бозымбаев" "sef" => string(15) "kanat_bozimbaev" "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(3) "589" 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(1513) "SELECT `news`.`id` AS `id`, `news`.`title` AS `title`, `news`.`description` AS `description`, `news`.`text` AS `text`, `news`.`f …" protected _result => array(20) ( 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) "437621" "title" => string(139) "Бозымбаев: Дизель отынын көрші елдерге заңсыз жөнелту фактілері тіркелуде " "description" => string(402) "<p>Астана, BAQ.KZ тілшісі. Шекара аумағында дизель отынын көрші елдерге жөнелту фактілері тіркеліп отыр. Бұл жөнінде Орталық ком …" "text" => string(3320) "<blockquote> <p>«Мұнайды өңдеу саласында мұнай өңдеу зауыттарының жаңартылуы аяқталды. Өздеріңіз білетіндей, жаңарту жұмыстары 2 …" "file" => string(6) "328841" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "3016" "date" => string(19) "2018-12-26 17:19:00" "sef" => string(5) "disel" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "437621" "title" => string(139) "Бозымбаев: Дизель отынын көрші елдерге заңсыз жөнелту фактілері тіркелуде " "description" => string(402) "<p>Астана, BAQ.KZ тілшісі. Шекара аумағында дизель отынын көрші елдерге жөнелту фактілері тіркеліп отыр. Бұл жөнінде Орталық ком …" "text" => string(3320) "<blockquote> <p>«Мұнайды өңдеу саласында мұнай өңдеу зауыттарының жаңартылуы аяқталды. Өздеріңіз білетіндей, жаңарту жұмыстары 2 …" "file" => string(6) "328841" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "3016" "date" => string(19) "2018-12-26 17:19:00" "sef" => string(5) "disel" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "437621" 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) "437606" "title" => string(117) "Бозымбаев төртінші мұнай өңдеуші зауыт құрылысы жайында айтты " "description" => string(256) "<p>Астана, BAQ.KZ тілшісі. Бұл жөнінде Орталық коммуникациялар қызметінде өткен брифингте ҚР Энергетика министрі Қанат Бозымбаев …" "text" => string(2656) "<blockquote> <p>«Төртінші мұнай өңдеуші зауыт әзірше салынбайды. Неге? Себебі, «ҚазМұнайГаз» екі әлемдік компнаияны тартты. Энер …" "file" => string(6) "328811" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "3375" "date" => string(19) "2018-12-26 15:00:00" "sef" => string(11) "munai_zauyt" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "437606" "title" => string(117) "Бозымбаев төртінші мұнай өңдеуші зауыт құрылысы жайында айтты " "description" => string(256) "<p>Астана, BAQ.KZ тілшісі. Бұл жөнінде Орталық коммуникациялар қызметінде өткен брифингте ҚР Энергетика министрі Қанат Бозымбаев …" "text" => string(2656) "<blockquote> <p>«Төртінші мұнай өңдеуші зауыт әзірше салынбайды. Неге? Себебі, «ҚазМұнайГаз» екі әлемдік компнаияны тартты. Энер …" "file" => string(6) "328811" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "3375" "date" => string(19) "2018-12-26 15:00:00" "sef" => string(11) "munai_zauyt" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "437606" 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) "437603" "title" => string(121) "2018 жылы елді мекендерді газдандыру бойынша 46 жоба іске асырылған " "description" => string(403) "<p>Астана, BAQ.KZ тілшісі. Елді мекендерді газдандыру бойынша 2018 жылы 21 млрд теңгеге 46 жоба іске асырылды. Бұл жөнінде Ортал …" "text" => string(2468) "<blockquote> <p>«Осы жылдың маусым айында Атырау облысында қуаттылығы жылына 500 мың тонна болатын құны 2,6 млрд АҚШ доллары тұр …" "file" => string(6) "328808" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "2907" "date" => string(19) "2018-12-26 14:45:00" "sef" => string(9) "bozymbaev" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "437603" "title" => string(121) "2018 жылы елді мекендерді газдандыру бойынша 46 жоба іске асырылған " "description" => string(403) "<p>Астана, BAQ.KZ тілшісі. Елді мекендерді газдандыру бойынша 2018 жылы 21 млрд теңгеге 46 жоба іске асырылды. Бұл жөнінде Ортал …" "text" => string(2468) "<blockquote> <p>«Осы жылдың маусым айында Атырау облысында қуаттылығы жылына 500 мың тонна болатын құны 2,6 млрд АҚШ доллары тұр …" "file" => string(6) "328808" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "2907" "date" => string(19) "2018-12-26 14:45:00" "sef" => string(9) "bozymbaev" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "437603" 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) "437526" "title" => string(167) "Бозымбаев жылу беру маусымы туралы: Азаматтарымыз Үкіметтің ерекше жылуын сезінетін шығар" "description" => string(260) "<p>Астана, BAQ.KZ. Үкімет отырысында Энергетика министрлігі Қанат Бозымбаев биылғы жылу беру маусымы ойдағыдай жүргізіліп жатқан …" "text" => string(3072) "<p>Оның айтуынша, осы жылы жылу қазандықтарын жөндеу жоспардағыдай жүргізілген.</p> <blockquote> <p>«Кезең штаттық режимде өтуд …" "file" => string(6) "328676" "file_author" => string(31) "ашық дереккөзден" "category_id" => string(2) "16" "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) "2344" "date" => string(19) "2018-12-25 10:49:00" "sef" => string(107) "bozimbaev_zhilu_beru_mausimi_turali_azamattarimiz_ukimettin_erekshe_zhiluin_sezinetin_shigar20181225_104900" "redactor_id" => string(4) "1123" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "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) "437526" "title" => string(167) "Бозымбаев жылу беру маусымы туралы: Азаматтарымыз Үкіметтің ерекше жылуын сезінетін шығар" "description" => string(260) "<p>Астана, BAQ.KZ. Үкімет отырысында Энергетика министрлігі Қанат Бозымбаев биылғы жылу беру маусымы ойдағыдай жүргізіліп жатқан …" "text" => string(3072) "<p>Оның айтуынша, осы жылы жылу қазандықтарын жөндеу жоспардағыдай жүргізілген.</p> <blockquote> <p>«Кезең штаттық режимде өтуд …" "file" => string(6) "328676" "file_author" => string(31) "ашық дереккөзден" "category_id" => string(2) "16" "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) "2344" "date" => string(19) "2018-12-25 10:49:00" "sef" => string(107) "bozimbaev_zhilu_beru_mausimi_turali_azamattarimiz_ukimettin_erekshe_zhiluin_sezinetin_shigar20181225_104900" "redactor_id" => string(4) "1123" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "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) "437526" 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) "435538" "title" => string(137) "Бозымбаев: Мұнайдың ресурстық базасын толықтыру мәселесі өзекті болып тұр" "description" => string(309) "<p style="text-align: justify;">Астана, BAQ.KZ. Бүгін Үкімет отырысында мұнай-газ саласында геологиялық барлау жұмыстарын дамыту …" "text" => string(7664) "<p dir="ltr" style="text-align: justify;">Энергетика министрлігінің ақпаратына сәйкес, Қазақстанның 277 кен орны бойынша алынаты …" "file" => string(6) "324641" "file_author" => string(0) "" "category_id" => string(2) "16" "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) "1907" "date" => string(19) "2018-11-13 16:46:00" "sef" => string(87) "bozimbaev_munaidin_resurstik_bazasin_toliktiru_maselesi_ozekti_bolip_tur20181113_164600" "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) "435538" "title" => string(137) "Бозымбаев: Мұнайдың ресурстық базасын толықтыру мәселесі өзекті болып тұр" "description" => string(309) "<p style="text-align: justify;">Астана, BAQ.KZ. Бүгін Үкімет отырысында мұнай-газ саласында геологиялық барлау жұмыстарын дамыту …" "text" => string(7664) "<p dir="ltr" style="text-align: justify;">Энергетика министрлігінің ақпаратына сәйкес, Қазақстанның 277 кен орны бойынша алынаты …" "file" => string(6) "324641" "file_author" => string(0) "" "category_id" => string(2) "16" "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) "1907" "date" => string(19) "2018-11-13 16:46:00" "sef" => string(87) "bozimbaev_munaidin_resurstik_bazasin_toliktiru_maselesi_ozekti_bolip_tur20181113_164600" "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) "435538" 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) "435525" "title" => string(116) "Бозымбаев: Шкарупаны қызметінен босату мәселесін қарастырамыз" "description" => string(831) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Ақордада өткен<a href="https://baq.kz/kk …" "text" => string(4546) "<p style="text-align: justify;">Қанат Бозымбаев журналистерге Шкарупаның қомақты бюджет қаражатын жымқыруға қатысы бар екенін те …" "file" => string(6) "324622" "file_author" => string(31) "ашық дереккөзден" "category_id" => string(2) "16" "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) "2029" "date" => string(19) "2018-11-13 12:53:00" "sef" => string(76) "bozimbaev_shkarupani_kizmetinen_bosatu_maselesin_karastiramiz20181113_125300" "redactor_id" => string(4) "1123" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "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) "435525" "title" => string(116) "Бозымбаев: Шкарупаны қызметінен босату мәселесін қарастырамыз" "description" => string(831) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Ақордада өткен<a href="https://baq.kz/kk …" "text" => string(4546) "<p style="text-align: justify;">Қанат Бозымбаев журналистерге Шкарупаның қомақты бюджет қаражатын жымқыруға қатысы бар екенін те …" "file" => string(6) "324622" "file_author" => string(31) "ашық дереккөзден" "category_id" => string(2) "16" "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) "2029" "date" => string(19) "2018-11-13 12:53:00" "sef" => string(76) "bozimbaev_shkarupani_kizmetinen_bosatu_maselesin_karastiramiz20181113_125300" "redactor_id" => string(4) "1123" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "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) "435525" 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) "435279" "title" => string(178) "Ештеңе білмеймін: Бозымбаев тағы бір вице-министрдің қаржы жымқыруына қатысты түсініктеме берді" "description" => string(311) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. ҚР Энергетика министрі Қанат Бозымбаев Энергетика вице-министрі Анатолий …" "text" => string(2447) "<blockquote> <p style="text-align: justify;">«Ештеңе білмеймін. Мен де бірінші рет естідім. Мен тек бұның 2015 жылы болғанын ест …" "file" => string(6) "324178" "file_author" => string(0) "" "category_id" => string(2) "16" "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) "3094" "date" => string(19) "2018-11-08 10:59:00" "sef" => string(112) "eshtene_bilmeimin_bozimbaev_tagi_bir_vitseministrdin_karzhi_zhimkiruina_katisti_tusinikteme_berdi20181108_105900" "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) "1" "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) "435279" "title" => string(178) "Ештеңе білмеймін: Бозымбаев тағы бір вице-министрдің қаржы жымқыруына қатысты түсініктеме берді" "description" => string(311) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. ҚР Энергетика министрі Қанат Бозымбаев Энергетика вице-министрі Анатолий …" "text" => string(2447) "<blockquote> <p style="text-align: justify;">«Ештеңе білмеймін. Мен де бірінші рет естідім. Мен тек бұның 2015 жылы болғанын ест …" "file" => string(6) "324178" "file_author" => string(0) "" "category_id" => string(2) "16" "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) "3094" "date" => string(19) "2018-11-08 10:59:00" "sef" => string(112) "eshtene_bilmeimin_bozimbaev_tagi_bir_vitseministrdin_karzhi_zhimkiruina_katisti_tusinikteme_berdi20181108_105900" "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) "1" "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) "435279" 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) "433354" "title" => string(157) "Бозымбаев Қарашығанақ консорциумы 1 млрд доллар өтемақыны бірден төлемейтінін айтты " "description" => string(723) "<p style="text-align: justify;">Осыған дейін Қазақстан Үкіметі мен Қарашығанақ жобасының акционерлері арасында келіспеушіліктер …" "text" => string(1981) "<blockquote> <p style="text-align: justify;">«Өтемақы мәселесіне тоқталайын. Қарашығанақ жобасының акционерлері Қазақстанға 1 мл …" "file" => string(6) "320556" "file_author" => string(29) "Нұржас Жақсыбай" "category_id" => string(2) "12" "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) "2981" "date" => string(19) "2018-10-02 17:36:00" "sef" => string(102) "bozimbaev_karashiganak_konsortsiumi_1_mlrd_dollar_otemakini_birden_toleimeitinin_aitti_20181002_171200" "redactor_id" => string(4) "1038" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "433354" "title" => string(157) "Бозымбаев Қарашығанақ консорциумы 1 млрд доллар өтемақыны бірден төлемейтінін айтты " "description" => string(723) "<p style="text-align: justify;">Осыған дейін Қазақстан Үкіметі мен Қарашығанақ жобасының акционерлері арасында келіспеушіліктер …" "text" => string(1981) "<blockquote> <p style="text-align: justify;">«Өтемақы мәселесіне тоқталайын. Қарашығанақ жобасының акционерлері Қазақстанға 1 мл …" "file" => string(6) "320556" "file_author" => string(29) "Нұржас Жақсыбай" "category_id" => string(2) "12" "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) "2981" "date" => string(19) "2018-10-02 17:36:00" "sef" => string(102) "bozimbaev_karashiganak_konsortsiumi_1_mlrd_dollar_otemakini_birden_toleimeitinin_aitti_20181002_171200" "redactor_id" => string(4) "1038" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "433354" 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) "433336" "title" => string(132) "Қарашығанақ жобасын дамыту мәселелері жөніндегі келісімге қол қойылды" "description" => string(763) "<p style="text-align: justify;">ҚР Үкіметі Энергетика министрлігі, Қаржы министрлігі және өкілетті орган — «PSA» атынан, сондай- …" "text" => string(6200) "<p style="text-align: justify;">Тараптар реттеудің негізгі шарттарын бекітетін Қағидаттар туралы келісімге қол қойды.</p> <p st …" "file" => string(6) "320515" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "1918" "date" => string(19) "2018-10-02 11:56:00" "sef" => string(86) "karashiganak_zhobasindamitu_maseleleri_zhonindegi_kelisimge_kol_koiildi20181002_115600" "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) "433336" "title" => string(132) "Қарашығанақ жобасын дамыту мәселелері жөніндегі келісімге қол қойылды" "description" => string(763) "<p style="text-align: justify;">ҚР Үкіметі Энергетика министрлігі, Қаржы министрлігі және өкілетті орган — «PSA» атынан, сондай- …" "text" => string(6200) "<p style="text-align: justify;">Тараптар реттеудің негізгі шарттарын бекітетін Қағидаттар туралы келісімге қол қойды.</p> <p st …" "file" => string(6) "320515" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "1918" "date" => string(19) "2018-10-02 11:56:00" "sef" => string(86) "karashiganak_zhobasindamitu_maseleleri_zhonindegi_kelisimge_kol_koiildi20181002_115600" "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) "433336" 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) "432259" "title" => string(101) "Елімізде жылу бағасы қымбаттай ма? Бозымбаевтың жауабы" "description" => string(439) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев Орталық коммуникациялар қызметінде өткен баспасөз мәслихатын …" "text" => string(2072) "<blockquote> <p style="text-align: justify;">«Солтүстік Қазақстан, әсіресе Павлодар облысында және Астанада ең төменгі жылу тари …" "file" => string(6) "318251" "file_author" => string(22) "интернеттен" "category_id" => string(3) "127" "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) "2128" "date" => string(19) "2018-09-11 18:37:00" "sef" => string(70) "elimizde_zhilu_bagasi_kimbattai_ma_bozimbaevtin_zhauabi20180911_183700" "redactor_id" => string(3) "969" "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) "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) "432259" "title" => string(101) "Елімізде жылу бағасы қымбаттай ма? Бозымбаевтың жауабы" "description" => string(439) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев Орталық коммуникациялар қызметінде өткен баспасөз мәслихатын …" "text" => string(2072) "<blockquote> <p style="text-align: justify;">«Солтүстік Қазақстан, әсіресе Павлодар облысында және Астанада ең төменгі жылу тари …" "file" => string(6) "318251" "file_author" => string(22) "интернеттен" "category_id" => string(3) "127" "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) "2128" "date" => string(19) "2018-09-11 18:37:00" "sef" => string(70) "elimizde_zhilu_bagasi_kimbattai_ma_bozimbaevtin_zhauabi20180911_183700" "redactor_id" => string(3) "969" "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) "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) "432259" 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) "432257" "title" => string(168) "Халықты көмірмен қамтуға ең алдымен жергілікті атқарушы органдар жауап береді – Бозымбаев" "description" => string(403) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев Орталық коммуникациялар қызметінде өткен баспасөз мәслихатын …" "text" => string(2794) "<blockquote> <p style="text-align: justify;">«Былтыр қыста тұрмыстық көмір бағасы көтерілгенде Энергетика министрлігі барлық жау …" "file" => string(6) "318249" "file_author" => string(7) "Satu.kz" "category_id" => string(3) "127" "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) "3597" "date" => string(19) "2018-09-11 17:56:00" "sef" => string(106) "halikti_komirmen_kamtuga_en_aldimen_zhergilikti_atkarushi_organdar_zhauap_beredi__bozimbaev20180911_175600" "redactor_id" => string(4) "1038" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "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) "432257" "title" => string(168) "Халықты көмірмен қамтуға ең алдымен жергілікті атқарушы органдар жауап береді – Бозымбаев" "description" => string(403) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев Орталық коммуникациялар қызметінде өткен баспасөз мәслихатын …" "text" => string(2794) "<blockquote> <p style="text-align: justify;">«Былтыр қыста тұрмыстық көмір бағасы көтерілгенде Энергетика министрлігі барлық жау …" "file" => string(6) "318249" "file_author" => string(7) "Satu.kz" "category_id" => string(3) "127" "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) "3597" "date" => string(19) "2018-09-11 17:56:00" "sef" => string(106) "halikti_komirmen_kamtuga_en_aldimen_zhergilikti_atkarushi_organdar_zhauap_beredi__bozimbaev20180911_175600" "redactor_id" => string(4) "1038" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "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) "432257" 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) "428570" "title" => string(145) "Қазақстандағы ядролық ғылым мен техника саласын зерттеу дамып келеді - министр" "description" => string(613) "<p style="text-align: justify;">Женева қаласында (Швейцария) қазақстандық делегацияның сапары шеңберінде Қазақстан Республикасын …" "text" => string(7206) "<p style="text-align: justify;">Құжатқа қазақстандық тараптан Қазақстан Республикасы Энергетика министрі Қанат Бозымбаев, CERN т …" "file" => string(6) "310420" "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) "2715" "date" => string(19) "2018-06-30 12:40:00" "sef" => string(122) "kazakstandagi_yadrolik_gilim_men_tehnika_salasinda_irgeli_zhane_koldanbali_zertteuler_damip_keledi__ministr20180630_124000" "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(1) "0" "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) "428570" "title" => string(145) "Қазақстандағы ядролық ғылым мен техника саласын зерттеу дамып келеді - министр" "description" => string(613) "<p style="text-align: justify;">Женева қаласында (Швейцария) қазақстандық делегацияның сапары шеңберінде Қазақстан Республикасын …" "text" => string(7206) "<p style="text-align: justify;">Құжатқа қазақстандық тараптан Қазақстан Республикасы Энергетика министрі Қанат Бозымбаев, CERN т …" "file" => string(6) "310420" "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) "2715" "date" => string(19) "2018-06-30 12:40:00" "sef" => string(122) "kazakstandagi_yadrolik_gilim_men_tehnika_salasinda_irgeli_zhane_koldanbali_zertteuler_damip_keledi__ministr20180630_124000" "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(1) "0" "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) "428570" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
12 => 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) "427897" "title" => string(95) "Астанада ең алдымен қай аудандарға газ жеткізіледі?" "description" => string(467) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев халық алдында есеп беру кездесуінде Қазақстанның солтүтік жә …" "text" => string(2603) "<p style="text-align: justify;">Бозымбаев газ өнеркәсібін дамыту және газдандыру мәселесі министрліктің күн тәртібіндегі маңызды …" "file" => string(6) "308830" "file_author" => string(22) "интернеттен" "category_id" => string(3) "315" "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) "2190" "date" => string(19) "2018-06-19 16:36:00" "sef" => string(66) "astanada_en_aldimen_kai_audandarga_gaz_zhetkiziledi20180619_162300" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "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) "427897" "title" => string(95) "Астанада ең алдымен қай аудандарға газ жеткізіледі?" "description" => string(467) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев халық алдында есеп беру кездесуінде Қазақстанның солтүтік жә …" "text" => string(2603) "<p style="text-align: justify;">Бозымбаев газ өнеркәсібін дамыту және газдандыру мәселесі министрліктің күн тәртібіндегі маңызды …" "file" => string(6) "308830" "file_author" => string(22) "интернеттен" "category_id" => string(3) "315" "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) "2190" "date" => string(19) "2018-06-19 16:36:00" "sef" => string(66) "astanada_en_aldimen_kai_audandarga_gaz_zhetkiziledi20180619_162300" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "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) "427897" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
13 => 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) "427031" "title" => string(141) "Бозымбаев үйқамаққа алынған орынбасары туралы: Бұл түсінбестік деп ойлаймын" "description" => string(305) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев өзінің орынбасары Бақытжан Жақсалиевтің үйқамаққа алынуы тур …" "text" => string(2318) "<blockquote> <p style="text-align: justify;">"Бізде бар мәлімттер бойынша вице-министр Жақсалиев Щучинск-Бурабай зонасына қатыст …" "file" => string(6) "306879" "file_author" => string(0) "" "category_id" => string(1) "6" "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) "2242" "date" => string(19) "2018-06-05 13:35:00" "sef" => string(89) "bozimbaev_uikamakka_alingan_orinbasari_turali_bul_tusinbestik_dep_oilaimin20180605_133500" "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) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "427031" "title" => string(141) "Бозымбаев үйқамаққа алынған орынбасары туралы: Бұл түсінбестік деп ойлаймын" "description" => string(305) "<p style="text-align: justify;">Энергетика министрі Қанат Бозымбаев өзінің орынбасары Бақытжан Жақсалиевтің үйқамаққа алынуы тур …" "text" => string(2318) "<blockquote> <p style="text-align: justify;">"Бізде бар мәлімттер бойынша вице-министр Жақсалиев Щучинск-Бурабай зонасына қатыст …" "file" => string(6) "306879" "file_author" => string(0) "" "category_id" => string(1) "6" "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) "2242" "date" => string(19) "2018-06-05 13:35:00" "sef" => string(89) "bozimbaev_uikamakka_alingan_orinbasari_turali_bul_tusinbestik_dep_oilaimin20180605_133500" "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) "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) "427031" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
14 => 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) "422574" "title" => string(149) "Әбу-Дабиде мұнай-химия саласындағы ынтымақтастық бойынша құжаттарға қол қойылды" "description" => string(714) "<p style="text-align: justify;"><strong>2018 жылғы 24 наурызда </strong>Қазақстан Республикасы Президенті Нұрсұлтан Назарбаевтың …" "text" => string(4233) "<p style="text-align: justify;">Атап айтқанда, ҚР Энергетика министрлігі, «Самұрық-Қазына» ҰӘҚ («Біріккен химия компаниясы» ЖШС) …" "file" => string(6) "297538" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "2304" "date" => string(19) "2018-03-24 17:21:00" "sef" => string(95) "abudabide_munaihimiya_salasindagi_intimaktastik_boiinsha_kuzhattarga_kol_koiildi20180324_172100" "redactor_id" => string(2) "16" "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) "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) "422574" "title" => string(149) "Әбу-Дабиде мұнай-химия саласындағы ынтымақтастық бойынша құжаттарға қол қойылды" "description" => string(714) "<p style="text-align: justify;"><strong>2018 жылғы 24 наурызда </strong>Қазақстан Республикасы Президенті Нұрсұлтан Назарбаевтың …" "text" => string(4233) "<p style="text-align: justify;">Атап айтқанда, ҚР Энергетика министрлігі, «Самұрық-Қазына» ҰӘҚ («Біріккен химия компаниясы» ЖШС) …" "file" => string(6) "297538" "file_author" => string(0) "" "category_id" => string(2) "12" "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) "2304" "date" => string(19) "2018-03-24 17:21:00" "sef" => string(95) "abudabide_munaihimiya_salasindagi_intimaktastik_boiinsha_kuzhattarga_kol_koiildi20180324_172100" "redactor_id" => string(2) "16" "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) "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) "422574" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
15 => 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) "421925" "title" => string(158) "Бозымбаев: «Сарыарқа» магистральдік газ құбырының құрылысы 2021 жылға дейін аяқталады " "description" => string(410) "<p>«Сарыарқа» магистральдік газ құбыры аясындағы құрылыс жұмыстары 2019-2021 жылдарға дейін аяқталады. Бұл жөнінде бүгінгі Үкіме …" "text" => string(3288) "<blockquote> <p>«Мемлекет басшысы Қазақстан халқына арналған үндеуде 1-1,5 жыл ішінде Қызылорда-Жезқазған-Қарағанды-Теміртау-Аст …" "file" => string(6) "296111" "file_author" => string(0) "" "category_id" => string(3) "315" "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-03-13 11:07:00" "sef" => string(98) "bozimbaev_sariarka_magistraldik_gaz_kubirinin_kurilisi_2021_zhilga_deiin_ayaktaladi20180313_110700" "redactor_id" => string(3) "670" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "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) "421925" "title" => string(158) "Бозымбаев: «Сарыарқа» магистральдік газ құбырының құрылысы 2021 жылға дейін аяқталады " "description" => string(410) "<p>«Сарыарқа» магистральдік газ құбыры аясындағы құрылыс жұмыстары 2019-2021 жылдарға дейін аяқталады. Бұл жөнінде бүгінгі Үкіме …" "text" => string(3288) "<blockquote> <p>«Мемлекет басшысы Қазақстан халқына арналған үндеуде 1-1,5 жыл ішінде Қызылорда-Жезқазған-Қарағанды-Теміртау-Аст …" "file" => string(6) "296111" "file_author" => string(0) "" "category_id" => string(3) "315" "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-03-13 11:07:00" "sef" => string(98) "bozimbaev_sariarka_magistraldik_gaz_kubirinin_kurilisi_2021_zhilga_deiin_ayaktaladi20180313_110700" "redactor_id" => string(3) "670" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "230" "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) "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) "421925" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
16 => 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) "420347" "title" => string(90) "Бозымбаев: Мен әр айтқан сөзім үшін жауап беремін" "description" => string(465) "<p style="text-align: justify;">Энергетика министрлігі құрған жұмыс тобы Қазақстандағы төртінші мұнай өңдеу зауытының құрылысы б …" "text" => string(5050) "<p style="text-align: justify;">Министр айтып өткендей, жұмыс тобы отандық мұнай өңдеу зауытын жаңғыртудан кейін <a href="http:/ …" "file" => string(6) "292760" "file_author" => string(16) "primeminister.kz" "category_id" => string(2) "16" "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) "2046" "date" => string(19) "2018-02-13 14:56:00" "sef" => string(24) "bozimbaev20180213_144500" "redactor_id" => string(3) "983" "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) "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) "420347" "title" => string(90) "Бозымбаев: Мен әр айтқан сөзім үшін жауап беремін" "description" => string(465) "<p style="text-align: justify;">Энергетика министрлігі құрған жұмыс тобы Қазақстандағы төртінші мұнай өңдеу зауытының құрылысы б …" "text" => string(5050) "<p style="text-align: justify;">Министр айтып өткендей, жұмыс тобы отандық мұнай өңдеу зауытын жаңғыртудан кейін <a href="http:/ …" "file" => string(6) "292760" "file_author" => string(16) "primeminister.kz" "category_id" => string(2) "16" "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) "2046" "date" => string(19) "2018-02-13 14:56:00" "sef" => string(24) "bozimbaev20180213_144500" "redactor_id" => string(3) "983" "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) "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) "420347" protected _table_names_plural => bool TRUE protected _reload_on_wakeup => bool TRUE protected _db => object Database_PDO_MySQL(5)
17 => 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) "420045" "title" => string(154) "Энергетика министрі халыққа көмір жеткізу жұмыстарындағы кемшіліктерді атап айтты" "description" => string(347) "<p>Бүгін ҚР Энергетика министрі Қанат Бозымбаев Павлодар облысына жұмыс сапарымен барып, нарықты көмірмен қамтамасыз етуге қатыс …" "text" => string(7187) "<p>Сапар барысында министрліктің, Павлодар облысы әкімдігінің өкілдері Екібастұз көмір алабын аралап өтті <em>(көмір разрездері: …" "file" => string(6) "292121" "file_author" => string(0) "" "category_id" => string(1) "6" "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) "2106" "date" => string(19) "2018-02-07 14:56:00" "sef" => string(103) "energetika_ministri_halikka_komir_zhetkizu_zhumistarindagi_kemshilikterdi_atap_korsetti_20180207_145600" "redactor_id" => string(3) "670" "tags" => NULL "type" => string(1) "1" "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) "420045" "title" => string(154) "Энергетика министрі халыққа көмір жеткізу жұмыстарындағы кемшіліктерді атап айтты" "description" => string(347) "<p>Бүгін ҚР Энергетика министрі Қанат Бозымбаев Павлодар облысына жұмыс сапарымен барып, нарықты көмірмен қамтамасыз етуге қатыс …" "text" => string(7187) "<p>Сапар барысында министрліктің, Павлодар облысы әкімдігінің өкілдері Екібастұз көмір алабын аралап өтті <em>(көмір разрездері: …" "file" => string(6) "292121" "file_author" => string(0) "" "category_id" => string(1) "6" "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) "2106" "date" => string(19) "2018-02-07 14:56:00" "sef" => string(103) "energetika_ministri_halikka_komir_zhetkizu_zhumistarindagi_kemshilikterdi_atap_korsetti_20180207_145600" "redactor_id" => string(3) "670" "tags" => NULL "type" => string(1) "1" "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