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(5) "16955" "tag" => string(25) "орташа жалақы" "sef" => string(15) "ortasha_zhalaki" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(5) "16955" "tag" => string(25) "орташа жалақы" "sef" => string(15) "ortasha_zhalaki" "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(5) "16955" 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(1515) "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) "437756" "title" => string(161) "Ешкім бір жалақыға өмір сүрмейді: Мұхамедиұлы әртістердің еңбекақысы жайлы айтып берді" "description" => string(300) "<p>Астана, BAQ.KZ тілшісі. Бүгін ҚР Мәдениет және спорт министрі Арыстанбек Мұхамедиұлы мәдениет саласындағы қызметкерлердің жал …" "text" => string(3168) "<p>Министрдің айтуынша, Астана мен Алматыдағы театр қызметкерлерінің жалақысы 70-80 мың теңгені құрайды.</p> <blockquote> <p>«Ж …" "file" => string(6) "329094" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "3889" "date" => string(19) "2018-12-28 17:47:00" "sef" => string(13) "ailyq_zhalaqy" "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(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) "437756" "title" => string(161) "Ешкім бір жалақыға өмір сүрмейді: Мұхамедиұлы әртістердің еңбекақысы жайлы айтып берді" "description" => string(300) "<p>Астана, BAQ.KZ тілшісі. Бүгін ҚР Мәдениет және спорт министрі Арыстанбек Мұхамедиұлы мәдениет саласындағы қызметкерлердің жал …" "text" => string(3168) "<p>Министрдің айтуынша, Астана мен Алматыдағы театр қызметкерлерінің жалақысы 70-80 мың теңгені құрайды.</p> <blockquote> <p>«Ж …" "file" => string(6) "329094" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "3889" "date" => string(19) "2018-12-28 17:47:00" "sef" => string(13) "ailyq_zhalaqy" "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(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) "437756" 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) "437330" "title" => string(109) "Еліміз бойынша ең жоғары жалақыны кімдер алатыны анықталды" "description" => string(391) "<p>Астана, BAQ.KZ. ҚР Ұлттық экономика министрлігінің сатистика комитетінің мәліметі бойынша, 2018 жылдың үшінші тоқсанында жала …" "text" => string(2622) "<p>Сонымен <strong>ең жоғарғы жалақы</strong> алатын мамандар:</p> <p>Теңіз және жағалау жүк көлігі - 683 234 теңге (100,8% өтк …" "file" => string(6) "328332" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "3432" "date" => string(19) "2018-12-20 20:12:00" "sef" => string(5) "ailyq" "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) "437330" "title" => string(109) "Еліміз бойынша ең жоғары жалақыны кімдер алатыны анықталды" "description" => string(391) "<p>Астана, BAQ.KZ. ҚР Ұлттық экономика министрлігінің сатистика комитетінің мәліметі бойынша, 2018 жылдың үшінші тоқсанында жала …" "text" => string(2622) "<p>Сонымен <strong>ең жоғарғы жалақы</strong> алатын мамандар:</p> <p>Теңіз және жағалау жүк көлігі - 683 234 теңге (100,8% өтк …" "file" => string(6) "328332" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "3432" "date" => string(19) "2018-12-20 20:12:00" "sef" => string(5) "ailyq" "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) "437330" 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) "437332" "title" => string(65) "2018 жылы қай салаларда жалақы азайды" "description" => string(320) "<p>Астана, BAQ.KZ. <strong>2018 жылдың үшінші тоқсанында өткен жылдың осы тоқсанымен салыстырғанда бірқатар салада жалақы өсті. …" "text" => string(3321) "<p>Сонымен осы жылы мына салаларда <strong>жалақы өсті:</strong></p> <p>Туроператорлар қызметінде, турагенттіктер мен туризм са …" "file" => string(6) "328337" "file_author" => string(0) "" "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) "2847" "date" => string(19) "2018-12-20 19:46:00" "sef" => string(54) "2018_zhili_kai_salalarda_zhalaki_azaidi20181220_194600" "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) "437332" "title" => string(65) "2018 жылы қай салаларда жалақы азайды" "description" => string(320) "<p>Астана, BAQ.KZ. <strong>2018 жылдың үшінші тоқсанында өткен жылдың осы тоқсанымен салыстырғанда бірқатар салада жалақы өсті. …" "text" => string(3321) "<p>Сонымен осы жылы мына салаларда <strong>жалақы өсті:</strong></p> <p>Туроператорлар қызметінде, турагенттіктер мен туризм са …" "file" => string(6) "328337" "file_author" => string(0) "" "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) "2847" "date" => string(19) "2018-12-20 19:46:00" "sef" => string(54) "2018_zhili_kai_salalarda_zhalaki_azaidi20181220_194600" "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) "437332" 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) "437323" "title" => string(92) "Астанада орташа жалақы 240 мың теңгеден жоғары - ҰЭМ" "description" => string(356) "<p>Астана, BAQ.KZ. ҚР Ұлттық экономика министрлігінің сатистика комитетінің мәліметі бойынша, 2018 жылдың үшінші тоқсанында жала …" "text" => string(1514) "<p>2018 жылдың үшінші тоқсанында кәсіпорындар мен ұйымдардың жұмысшылар тізім саны (кәсіпкерлікпен айналысып жүрген шағын кәсіпо …" "file" => string(6) "328320" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "3080" "date" => string(19) "2018-12-20 17:36:00" "sef" => string(69) "astanada_ortasha_zhalaki_240_min_tengeden_zhogari__uem20181220_174200" "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) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "437323" "title" => string(92) "Астанада орташа жалақы 240 мың теңгеден жоғары - ҰЭМ" "description" => string(356) "<p>Астана, BAQ.KZ. ҚР Ұлттық экономика министрлігінің сатистика комитетінің мәліметі бойынша, 2018 жылдың үшінші тоқсанында жала …" "text" => string(1514) "<p>2018 жылдың үшінші тоқсанында кәсіпорындар мен ұйымдардың жұмысшылар тізім саны (кәсіпкерлікпен айналысып жүрген шағын кәсіпо …" "file" => string(6) "328320" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "3080" "date" => string(19) "2018-12-20 17:36:00" "sef" => string(69) "astanada_ortasha_zhalaki_240_min_tengeden_zhogari__uem20181220_174200" "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) "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) "437323" 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) "436928" "title" => string(73) "Орташа жалақы 159 мың теңгені құрады - ҰЭМ" "description" => string(609) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. 2018 жылы қаңтар-қазанда елімізде орташа айлық жалақы 159,5 мың теңгеге …" "text" => string(1488) "<blockquote> <p style="text-align: justify;">«Еңбек нарығында жағдай тұрақты. 2018 жылдың басынан бері 468 мың адам жұмысқа орна …" "file" => string(6) "327487" "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) "1" "views_count" => string(4) "2827" "date" => string(19) "2018-12-11 10:57:00" "sef" => string(59) "ortasha_ailik_zhalaki_159_min_tengeni_kuradi20181211_105700" "redactor_id" => string(4) "1122" "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) "1" "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) "436928" "title" => string(73) "Орташа жалақы 159 мың теңгені құрады - ҰЭМ" "description" => string(609) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. 2018 жылы қаңтар-қазанда елімізде орташа айлық жалақы 159,5 мың теңгеге …" "text" => string(1488) "<blockquote> <p style="text-align: justify;">«Еңбек нарығында жағдай тұрақты. 2018 жылдың басынан бері 468 мың адам жұмысқа орна …" "file" => string(6) "327487" "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) "1" "views_count" => string(4) "2827" "date" => string(19) "2018-12-11 10:57:00" "sef" => string(59) "ortasha_ailik_zhalaki_159_min_tengeni_kuradi20181211_105700" "redactor_id" => string(4) "1122" "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) "1" "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) "436928" 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) "436808" "title" => string(89) "ШҚО-да 38 мыңға жуық қызметкердің жалақысы өседі " "description" => string(257) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. 2019 жылдың 1 қаңтарынан бастап ШҚО-да бюджет саласындағы 38 мыңға жуық …" "text" => string(1733) "<p style="text-align: justify;">Бұл жөнінде Орталық коммуникациялар қызметінде өткен брифинг барысында Шығыс Қазақстан облысында …" "file" => string(6) "327285" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "2453" "date" => string(19) "2018-12-07 17:18:00" "sef" => string(65) "shkoda_38_minga_zhuik_kizmetkerdin_zhalakisi_osedi20181207_171800" "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) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "436808" "title" => string(89) "ШҚО-да 38 мыңға жуық қызметкердің жалақысы өседі " "description" => string(257) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. 2019 жылдың 1 қаңтарынан бастап ШҚО-да бюджет саласындағы 38 мыңға жуық …" "text" => string(1733) "<p style="text-align: justify;">Бұл жөнінде Орталық коммуникациялар қызметінде өткен брифинг барысында Шығыс Қазақстан облысында …" "file" => string(6) "327285" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "2453" "date" => string(19) "2018-12-07 17:18:00" "sef" => string(65) "shkoda_38_minga_zhuik_kizmetkerdin_zhalakisi_osedi20181207_171800" "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) "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) "436808" 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) "436795" "title" => string(90) "Алматыда учаскелік дәрігерлердің жалақысы өседі" "description" => string(301) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Бұл жөнінде Орталық коммуникациялар қызметінде өткен брифинг барысында А …" "text" => string(3697) "<blockquote> <p style="text-align: justify;">«Медициналық қызмет сапасына қатысты әлеуметтік желілерде тұрғындар тарапынан нараз …" "file" => string(6) "327268" "file_author" => string(0) "" "category_id" => string(2) "28" "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) "2249" "date" => string(19) "2018-12-07 14:39:00" "sef" => string(64) "almatida_uchaskelik_darigerlerdin_zhalakisi_osedi20181207_143900" "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) "1" "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) "436795" "title" => string(90) "Алматыда учаскелік дәрігерлердің жалақысы өседі" "description" => string(301) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Бұл жөнінде Орталық коммуникациялар қызметінде өткен брифинг барысында А …" "text" => string(3697) "<blockquote> <p style="text-align: justify;">«Медициналық қызмет сапасына қатысты әлеуметтік желілерде тұрғындар тарапынан нараз …" "file" => string(6) "327268" "file_author" => string(0) "" "category_id" => string(2) "28" "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) "2249" "date" => string(19) "2018-12-07 14:39:00" "sef" => string(64) "almatida_uchaskelik_darigerlerdin_zhalakisi_osedi20181207_143900" "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) "1" "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) "436795" 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) "436356" "title" => string(86) "Келесі жылы 77 мың ақтөбеліктің жалақысы өседі " "description" => string(524) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Бұл жөнінде Орталық коммуникациялар қызметінде өңірде Мемлекет басшысыны …" "text" => string(2261) "<blockquote> <p style="text-align: justify;">«Ағымдағы жылдың 10 айында Ақтөбе облысынеда 1,3 трлн теңгенің өндіріс өнімдері шығ …" "file" => string(6) "326270" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1890" "date" => string(19) "2018-11-28 17:17:00" "sef" => string(63) "kelesi_zhili_77_min_aktobeliktin_zhalakisi_osedi20181128_171700" "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) "436356" "title" => string(86) "Келесі жылы 77 мың ақтөбеліктің жалақысы өседі " "description" => string(524) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Бұл жөнінде Орталық коммуникациялар қызметінде өңірде Мемлекет басшысыны …" "text" => string(2261) "<blockquote> <p style="text-align: justify;">«Ағымдағы жылдың 10 айында Ақтөбе облысынеда 1,3 трлн теңгенің өндіріс өнімдері шығ …" "file" => string(6) "326270" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1890" "date" => string(19) "2018-11-28 17:17:00" "sef" => string(63) "kelesi_zhili_77_min_aktobeliktin_zhalakisi_osedi20181128_171700" "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) "436356" 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) "435953" "title" => string(119) "Павлодарда аграрлық кәсіпорын жұмысшыларының жалақысы 30% өседі " "description" => string(577) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Павлодар облысындағы кәсіпорындарда жұмысшылардың еңекақысы көтеріле бас …" "text" => string(2253) "<p style="text-align: justify;">Облыс әкімі Мемлекет басшысының Қазақстан халқына Жолдауынан кейін аймақтағы барлық кәсіпорындар …" "file" => string(6) "325519" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1901" "date" => string(19) "2018-11-21 12:55:00" "sef" => string(86) "pavlodarda_agrarlik_kasiporin_zhumisshilarinin_zhalakisi_30_deiin_osedi20181121_125500" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435953" "title" => string(119) "Павлодарда аграрлық кәсіпорын жұмысшыларының жалақысы 30% өседі " "description" => string(577) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Павлодар облысындағы кәсіпорындарда жұмысшылардың еңекақысы көтеріле бас …" "text" => string(2253) "<p style="text-align: justify;">Облыс әкімі Мемлекет басшысының Қазақстан халқына Жолдауынан кейін аймақтағы барлық кәсіпорындар …" "file" => string(6) "325519" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1901" "date" => string(19) "2018-11-21 12:55:00" "sef" => string(86) "pavlodarda_agrarlik_kasiporin_zhumisshilarinin_zhalakisi_30_deiin_osedi20181121_125500" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "221" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435953" 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) "435730" "title" => string(105) "Атырауда жүргізушілер мен кондукторлардың жалақысы өсті" "description" => string(295) "<p>Атырау, BAQ.KZ. Жолсеріктер мен жүргізушілердің жалақысын өсірудегі мақсат -қалалық автобустарда электронды билет жүйесінің …" "text" => string(2157) "<p style="text-align: justify;">Бұл туралы "Смарт-Атырау" КММ басшысы Әділбек Танкиев мәлімдеді.</p> <p style="text-align: just …" "file" => string(6) "325009" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1955" "date" => string(19) "2018-11-16 14:45:00" "sef" => string(73) "atirauda_zhurgizushiler_men_konduktorlardin_zhalakisi_osti20181116_144500" "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) "35700" "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) "435730" "title" => string(105) "Атырауда жүргізушілер мен кондукторлардың жалақысы өсті" "description" => string(295) "<p>Атырау, BAQ.KZ. Жолсеріктер мен жүргізушілердің жалақысын өсірудегі мақсат -қалалық автобустарда электронды билет жүйесінің …" "text" => string(2157) "<p style="text-align: justify;">Бұл туралы "Смарт-Атырау" КММ басшысы Әділбек Танкиев мәлімдеді.</p> <p style="text-align: just …" "file" => string(6) "325009" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1955" "date" => string(19) "2018-11-16 14:45:00" "sef" => string(73) "atirauda_zhurgizushiler_men_konduktorlardin_zhalakisi_osti20181116_144500" "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) "35700" "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) "435730" 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) "435609" "title" => string(121) "2019 жылдан бастап қай санаттағы дәрігерлердің жалақысы көтеріледі" "description" => string(413) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Денсаулық сақтау вице-министрі Ләззат Ақтаева 2019 жылдан бастап алашқы …" "text" => string(1006) "<blockquote> <p style="text-align: justify;">«Біріншіден, ауруларды басқарудың жаңа технологиясын меңгергені жөнінде сертификаты …" "file" => string(6) "324772" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "2825" "date" => string(19) "2018-11-14 14:19:00" "sef" => string(83) "2019_zhildan_bastap_kai_sanattagi_darigerlerdin_zhalakisi_koteriledi20181114_141900" "redactor_id" => string(4) "1122" "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) "435609" "title" => string(121) "2019 жылдан бастап қай санаттағы дәрігерлердің жалақысы көтеріледі" "description" => string(413) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Денсаулық сақтау вице-министрі Ләззат Ақтаева 2019 жылдан бастап алашқы …" "text" => string(1006) "<blockquote> <p style="text-align: justify;">«Біріншіден, ауруларды басқарудың жаңа технологиясын меңгергені жөнінде сертификаты …" "file" => string(6) "324772" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "2825" "date" => string(19) "2018-11-14 14:19:00" "sef" => string(83) "2019_zhildan_bastap_kai_sanattagi_darigerlerdin_zhalakisi_koteriledi20181114_141900" "redactor_id" => string(4) "1122" "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) "435609" 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) "435521" "title" => string(115) "Премьер-министр Үкімет мүшелеріне: Халықтың табысы неге төмен?" "description" => string(442) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Үкімет отырысында ҚР премьер-министрі Бақытжан Сағынтаев еңбек және халы …" "text" => string(3651) "<blockquote> <p style="text-align: justify;">«Бәрі сол «статистиканың мәліметі дұрыс емес» деген әңгімеге тіреледі. Болмаса, орт …" "file" => string(6) "324618" "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) "1" "views_count" => string(4) "2485" "date" => string(19) "2018-11-13 12:02:00" "sef" => string(74) "premerministr_ukimet_mushelerine_haliktin_tabisi_nege_tomen20181113_120200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "1" "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) "435521" "title" => string(115) "Премьер-министр Үкімет мүшелеріне: Халықтың табысы неге төмен?" "description" => string(442) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Үкімет отырысында ҚР премьер-министрі Бақытжан Сағынтаев еңбек және халы …" "text" => string(3651) "<blockquote> <p style="text-align: justify;">«Бәрі сол «статистиканың мәліметі дұрыс емес» деген әңгімеге тіреледі. Болмаса, орт …" "file" => string(6) "324618" "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) "1" "views_count" => string(4) "2485" "date" => string(19) "2018-11-13 12:02:00" "sef" => string(74) "premerministr_ukimet_mushelerine_haliktin_tabisi_nege_tomen20181113_120200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "1" "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) "435521" 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) "435487" "title" => string(131) "Атырау облысында 1720 кәсіпорын өз қызметкерлерінің жалақысын ұлғайтады" "description" => string(435) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. 2019 жылдың 1 қаңтарынан бастап өңірдің он мыңнан астам тұрғынының еңбек …" "text" => string(2514) "<p style="text-align: justify;">Өңір басшысы "Мемлекет Басшысының Жолдауын іске асыру аясында 2018 жылдың 9 айындағы Атырау облы …" "file" => string(6) "324566" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1974" "date" => string(19) "2018-11-12 17:34:00" "sef" => string(87) "atirau_oblisinda_1720_kasiporin_oz_kizmetkerlerinin_zhalakisin_ulgaitadi20181112_172100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "240" "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) "435487" "title" => string(131) "Атырау облысында 1720 кәсіпорын өз қызметкерлерінің жалақысын ұлғайтады" "description" => string(435) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. 2019 жылдың 1 қаңтарынан бастап өңірдің он мыңнан астам тұрғынының еңбек …" "text" => string(2514) "<p style="text-align: justify;">Өңір басшысы "Мемлекет Басшысының Жолдауын іске асыру аясында 2018 жылдың 9 айындағы Атырау облы …" "file" => string(6) "324566" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1974" "date" => string(19) "2018-11-12 17:34:00" "sef" => string(87) "atirau_oblisinda_1720_kasiporin_oz_kizmetkerlerinin_zhalakisin_ulgaitadi20181112_172100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "240" "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) "435487" 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) "435481" "title" => string(105) "ТЖК қызметкерлерінің жалақысы кемінде 10% өседі – Қасымов" "description" => string(440) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Парламент Мәжілісінің депутаттары өрт сөндірушілердің жалақысын көтеруді …" "text" => string(3461) "<blockquote> <p style="text-align: justify;">«Әр төртінші аттестатталған қызметкердің баспанасы жоқ. Бұндай жалақымен «7-20-25» …" "file" => string(6) "324559" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "2700" "date" => string(19) "2018-11-12 16:09:00" "sef" => string(98) "totenshe_zhagdailar_komiteti_kizmetkerlerinin_zhalakisi_keminde_10ga_osedi__kasimov20181112_160900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "142" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435481" "title" => string(105) "ТЖК қызметкерлерінің жалақысы кемінде 10% өседі – Қасымов" "description" => string(440) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Парламент Мәжілісінің депутаттары өрт сөндірушілердің жалақысын көтеруді …" "text" => string(3461) "<blockquote> <p style="text-align: justify;">«Әр төртінші аттестатталған қызметкердің баспанасы жоқ. Бұндай жалақымен «7-20-25» …" "file" => string(6) "324559" "file_author" => string(0) "" "category_id" => string(2) "11" "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) "2700" "date" => string(19) "2018-11-12 16:09:00" "sef" => string(98) "totenshe_zhagdailar_komiteti_kizmetkerlerinin_zhalakisi_keminde_10ga_osedi__kasimov20181112_160900" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "142" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "35188" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "1" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "1" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435481" 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) "435451" "title" => string(126) "Елімізде қай мамандық иелерінің жоғары жалақы алатыны белгілі болды" "description" => string(286) "<p style="text-align: justify;">Астана, BAQ.KZ. 2018 жылдың үшінші тоқсанында қазақстандықтардың орташа жалақысы 161783 теңге бо …" "text" => string(2291) "<blockquote> <p align="justify">"2018 жылғы ІІІ тоқсанда бір қызметкердің орташа айлығы 161783 теңгені құрады. Атаулы жалақы инд …" "file" => string(6) "324514" "file_author" => string(0) "" "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) "2730" "date" => string(19) "2018-11-12 11:15:00" "sef" => string(84) "elimizde_kai_mamandik_ielerinin_zhogari_zhalaki_alatini_belgili_boldi20181112_110700" "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) "435451" "title" => string(126) "Елімізде қай мамандық иелерінің жоғары жалақы алатыны белгілі болды" "description" => string(286) "<p style="text-align: justify;">Астана, BAQ.KZ. 2018 жылдың үшінші тоқсанында қазақстандықтардың орташа жалақысы 161783 теңге бо …" "text" => string(2291) "<blockquote> <p align="justify">"2018 жылғы ІІІ тоқсанда бір қызметкердің орташа айлығы 161783 теңгені құрады. Атаулы жалақы инд …" "file" => string(6) "324514" "file_author" => string(0) "" "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) "2730" "date" => string(19) "2018-11-12 11:15:00" "sef" => string(84) "elimizde_kai_mamandik_ielerinin_zhogari_zhalaki_alatini_belgili_boldi20181112_110700" "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) "435451" 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) "435162" "title" => string(148) "Архимед Мұхамбетов Қостанай облысында қанша жұмысшының жалақысы өсетінін айтты" "description" => string(471) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Орталық коммуникациялар қызметінде өткен баспасөз конференциясында Қоста …" "text" => string(2043) "<blockquote> <p style="text-align: justify;">"Еңбекақыны ұлғайту барлық меншік нысанындағы кәсіпорындардың 36 мыңнан астам адамы …" "file" => string(6) "323937" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1833" "date" => string(19) "2018-11-06 13:07:00" "sef" => string(97) "arhimed_muhambetov_kostanai_oblisinda_kansha_zhumisshinin_zhalakisi_osetinin_aitti20181106_130100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "237" "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) "435162" "title" => string(148) "Архимед Мұхамбетов Қостанай облысында қанша жұмысшының жалақысы өсетінін айтты" "description" => string(471) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Орталық коммуникациялар қызметінде өткен баспасөз конференциясында Қоста …" "text" => string(2043) "<blockquote> <p style="text-align: justify;">"Еңбекақыны ұлғайту барлық меншік нысанындағы кәсіпорындардың 36 мыңнан астам адамы …" "file" => string(6) "323937" "file_author" => string(0) "" "category_id" => string(3) "295" "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) "1833" "date" => string(19) "2018-11-06 13:07:00" "sef" => string(97) "arhimed_muhambetov_kostanai_oblisinda_kansha_zhumisshinin_zhalakisi_osetinin_aitti20181106_130100" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "237" "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) "435162" 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) "434124" "title" => string(158) "Келесі жылдан бастап балдық бағалау негізінде еңбекақы төлеу жүйесі енгізіледі – СІМ" "description" => string(635) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ. </a>Сыртқы істер министрі Қайрат Әбдірахманов Мемлек …" "text" => string(3768) "<div> <blockquote> <p style="text-align: justify;">«Келесі жылдан бастап, факторлық-баллдық бағалау негізінде еңбекақы төлеу жүй …" "file" => string(6) "321961" "file_author" => string(0) "" "category_id" => string(3) "311" "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) "3049" "date" => string(19) "2018-10-16 18:52:00" "sef" => string(101) "kelesi_zhildan_bastap_balldik_bagalau_negizinde_enbekaki_toleu_zhuiesi_engiziledi__sim20181016_185200" "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) "1" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434124" "title" => string(158) "Келесі жылдан бастап балдық бағалау негізінде еңбекақы төлеу жүйесі енгізіледі – СІМ" "description" => string(635) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ. </a>Сыртқы істер министрі Қайрат Әбдірахманов Мемлек …" "text" => string(3768) "<div> <blockquote> <p style="text-align: justify;">«Келесі жылдан бастап, факторлық-баллдық бағалау негізінде еңбекақы төлеу жүй …" "file" => string(6) "321961" "file_author" => string(0) "" "category_id" => string(3) "311" "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) "3049" "date" => string(19) "2018-10-16 18:52:00" "sef" => string(101) "kelesi_zhildan_bastap_balldik_bagalau_negizinde_enbekaki_toleu_zhuiesi_engiziledi__sim20181016_185200" "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) "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) "434124" 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) "434080" "title" => string(109) "Қазақстандықтардың орташа жалақысы 158 мың теңге – министр " "description" => string(431) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Үкімет отырысында Ұлттық экономика минис …" "text" => string(1196) "<p style="text-align: justify;">Отырыста министр 2018 жылғы қаңтар-қыркүйек айларындағы еліміздің әлеуметтік экономикалық даму қ …" "file" => string(6) "321878" "file_author" => string(0) "" "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) "1" "views_count" => string(4) "3927" "date" => string(19) "2018-10-16 10:36:00" "sef" => string(73) "kazaktandiktardin_ortasha_zhalakisi_158_min_tenge__ministr20181016_103200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "1" "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) "434080" "title" => string(109) "Қазақстандықтардың орташа жалақысы 158 мың теңге – министр " "description" => string(431) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Үкімет отырысында Ұлттық экономика минис …" "text" => string(1196) "<p style="text-align: justify;">Отырыста министр 2018 жылғы қаңтар-қыркүйек айларындағы еліміздің әлеуметтік экономикалық даму қ …" "file" => string(6) "321878" "file_author" => string(0) "" "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) "1" "views_count" => string(4) "3927" "date" => string(19) "2018-10-16 10:36:00" "sef" => string(73) "kazaktandiktardin_ortasha_zhalakisi_158_min_tenge__ministr20181016_103200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "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) "1" "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" => int