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) "12420" "tag" => string(37) "Мәжіліс депутаттары" "sef" => string(20) "mazhilis_deputattari" "text" => NULL "meta_title" => NULL "meta_description" => NULL "meta_keywords" => NULL ) protected _changed => array(0) protected _original_values => array(7) ( "id" => string(5) "12420" "tag" => string(37) "Мәжіліс депутаттары" "sef" => string(20) "mazhilis_deputattari" "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) "12420" 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) "437670" "title" => string(108) "Моңғолия астанасында халық жемқорлыққа қарсы шеруге шықты" "description" => string(241) "<p>Астана, BAQ.KZ. Бүгін Моңғолия астанасы Ұланбатырда 40 градус аязға қарамастан халық шеруге шықты. Бұл туралы жергілікті БАҚ …" "text" => string(1901) "<p>Ұланбатыр әлемдегі ең суық астаналардың бірі. Қазіргі уақытта қаладағы аяз 30 градустан асып, 40 градусқа таяу температура кө …" "file" => string(6) "328922" "file_author" => string(35) "Әлеуметтік желіден" "category_id" => string(2) "19" "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) "6152" "date" => string(19) "2018-12-27 12:32:00" "sef" => string(76) "mongoliya_astanasinda_halik_zhemkorlikka_karsi_sheruge_shikti20181227_123200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "author_id" => string(3) "117" "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) "437670" "title" => string(108) "Моңғолия астанасында халық жемқорлыққа қарсы шеруге шықты" "description" => string(241) "<p>Астана, BAQ.KZ. Бүгін Моңғолия астанасы Ұланбатырда 40 градус аязға қарамастан халық шеруге шықты. Бұл туралы жергілікті БАҚ …" "text" => string(1901) "<p>Ұланбатыр әлемдегі ең суық астаналардың бірі. Қазіргі уақытта қаладағы аяз 30 градустан асып, 40 градусқа таяу температура кө …" "file" => string(6) "328922" "file_author" => string(35) "Әлеуметтік желіден" "category_id" => string(2) "19" "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) "6152" "date" => string(19) "2018-12-27 12:32:00" "sef" => string(76) "mongoliya_astanasinda_halik_zhemkorlikka_karsi_sheruge_shikti20181227_123200" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "author_id" => string(3) "117" "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) "437670" 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) "437636" "title" => string(69) "Мәжіліс төрағасы жылды қорытындылады" "description" => string(149) "<p>Астана, BAQ.KZ тілшісі. Мәжіліс төрағасы Нұрлан Нығматулин жылды қорытындылады.</p> " "text" => string(2658) "<p>Алдымен ол Елбасы Нұрсұлтан Назарбаевтың парламент сессияның ашылуында және биылғы Жолдауда берген тапсырмаларын негізге алын …" "file" => string(6) "329144" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2784" "date" => string(19) "2018-12-26 18:51:00" "sef" => string(53) "mazhilis_toragasi_zhildi_koritindiladi20181226_185100" "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) "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) "437636" "title" => string(69) "Мәжіліс төрағасы жылды қорытындылады" "description" => string(149) "<p>Астана, BAQ.KZ тілшісі. Мәжіліс төрағасы Нұрлан Нығматулин жылды қорытындылады.</p> " "text" => string(2658) "<p>Алдымен ол Елбасы Нұрсұлтан Назарбаевтың парламент сессияның ашылуында және биылғы Жолдауда берген тапсырмаларын негізге алын …" "file" => string(6) "329144" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2784" "date" => string(19) "2018-12-26 18:51:00" "sef" => string(53) "mazhilis_toragasi_zhildi_koritindiladi20181226_185100" "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) "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) "437636" 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) "437597" "title" => string(78) "Мәжіліс Арменияға қатысты заңды мақұлдады" "description" => string(364) "<p>Астана. BAQ.KZ тілшісі. Мәжілістің жалпы отырысында «2014 жылғы 29 мамырдағы Еуразиялық экономикалық одақ туралы шартқа өзгер …" "text" => string(2342) "<p style="text-align: justify;">Аталған заң жобасын депутаттарға таныстарған ҚР Сыртқы істер министрі Қайрат Әбдірахманов 2015 ж …" "file" => string(6) "328800" "file_author" => string(31) "ашық дереккөзден" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2291" "date" => string(19) "2018-12-26 13:23:00" "sef" => string(58) "mazhilis_armeniyaga_katisti_zandi_makuldadi20181226_132300" "redactor_id" => string(4) "1123" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "437597" "title" => string(78) "Мәжіліс Арменияға қатысты заңды мақұлдады" "description" => string(364) "<p>Астана. BAQ.KZ тілшісі. Мәжілістің жалпы отырысында «2014 жылғы 29 мамырдағы Еуразиялық экономикалық одақ туралы шартқа өзгер …" "text" => string(2342) "<p style="text-align: justify;">Аталған заң жобасын депутаттарға таныстарған ҚР Сыртқы істер министрі Қайрат Әбдірахманов 2015 ж …" "file" => string(6) "328800" "file_author" => string(31) "ашық дереккөзден" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2291" "date" => string(19) "2018-12-26 13:23:00" "sef" => string(58) "mazhilis_armeniyaga_katisti_zandi_makuldadi20181226_132300" "redactor_id" => string(4) "1123" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "437597" 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) "437592" "title" => string(126) "Пікірін аяқ астынан өзгерткен министр Нығматулиннен сөз естіп қалды" "description" => string(331) "<p>Астана, BAQ.KZ тілшісі. ҚР Парламенті Мәжілісінің төрағасы Нұрлан Нығматулин ұлттық экономика және қаржы министрліктерінің за …" "text" => string(5796) "<p>Бүгін Мәжілістің жалпы отырысында Ұлттық экономика министрі Тимур Сүлейменов бірінші оқылымда «Қазақстан Республикасының кейб …" "file" => string(6) "328795" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "1" "views_count" => string(4) "6949" "date" => string(19) "2018-12-26 12:26:00" "sef" => string(82) "pikirin_ayak_astinan_ozgertken_ministr_nigmatulinnen_soz_etip_kaldi20181226_122600" "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) "0" "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) "437592" "title" => string(126) "Пікірін аяқ астынан өзгерткен министр Нығматулиннен сөз естіп қалды" "description" => string(331) "<p>Астана, BAQ.KZ тілшісі. ҚР Парламенті Мәжілісінің төрағасы Нұрлан Нығматулин ұлттық экономика және қаржы министрліктерінің за …" "text" => string(5796) "<p>Бүгін Мәжілістің жалпы отырысында Ұлттық экономика министрі Тимур Сүлейменов бірінші оқылымда «Қазақстан Республикасының кейб …" "file" => string(6) "328795" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "1" "views_count" => string(4) "6949" "date" => string(19) "2018-12-26 12:26:00" "sef" => string(82) "pikirin_ayak_astinan_ozgertken_ministr_nigmatulinnen_soz_etip_kaldi20181226_122600" "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) "0" "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) "437592" 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) "437253" "title" => string(104) "50 млн теңгеге 230 м² пәтер: Шенеуніктер қандай үйде тұрады?" "description" => string(362) "<p>Астана, BAQ.KZ тілшісі. Бүгін Мәжіліс депутаты Меруерт Қазбекова ҚР Премьер-министрі Бақытжан Сағынтаевқа шенеуніктер мен қар …" "text" => string(4854) "<blockquote> <p>«Ақ жол» фракциясы бұған дейін де шенеуніктердің асқан тәбеті мен олардың бақуатты өмір сүруге талпынысы жайлы, …" "file" => string(6) "328194" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "1" "views_count" => string(4) "2882" "date" => string(19) "2018-12-19 14:30:00" "sef" => string(73) "50_mln_tengege_230_m_pater_sheneunikter_kandai_uide_turadi20181219_143000" "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) "437253" "title" => string(104) "50 млн теңгеге 230 м² пәтер: Шенеуніктер қандай үйде тұрады?" "description" => string(362) "<p>Астана, BAQ.KZ тілшісі. Бүгін Мәжіліс депутаты Меруерт Қазбекова ҚР Премьер-министрі Бақытжан Сағынтаевқа шенеуніктер мен қар …" "text" => string(4854) "<blockquote> <p>«Ақ жол» фракциясы бұған дейін де шенеуніктердің асқан тәбеті мен олардың бақуатты өмір сүруге талпынысы жайлы, …" "file" => string(6) "328194" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "1" "views_count" => string(4) "2882" "date" => string(19) "2018-12-19 14:30:00" "sef" => string(73) "50_mln_tengege_230_m_pater_sheneunikter_kandai_uide_turadi20181219_143000" "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) "437253" 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) "435611" "title" => string(126) "Депутаттар мемқызметкерлердің қос азаматтығын тексеруді талап етті" "description" => string(436) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Мәжілістің жалпы отырысында «Ақжол» фрак …" "text" => string(6484) "<p style="text-align: justify;">Отырыста олар сауалды ҚР Бас прокурарына, ҚР Әділет министріне және ҚР Ішкі істер министріне жол …" "file" => string(6) "324774" "file_author" => string(8) " 365Info" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2448" "date" => string(19) "2018-11-14 14:32:00" "sef" => string(81) "deputattar_memkizmetkerlerdin_kos_azamattigin_tekserudi_talap_etti20181114_143200" "redactor_id" => string(4) "1152" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435611" "title" => string(126) "Депутаттар мемқызметкерлердің қос азаматтығын тексеруді талап етті" "description" => string(436) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Мәжілістің жалпы отырысында «Ақжол» фрак …" "text" => string(6484) "<p style="text-align: justify;">Отырыста олар сауалды ҚР Бас прокурарына, ҚР Әділет министріне және ҚР Ішкі істер министріне жол …" "file" => string(6) "324774" "file_author" => string(8) " 365Info" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2448" "date" => string(19) "2018-11-14 14:32:00" "sef" => string(81) "deputattar_memkizmetkerlerdin_kos_azamattigin_tekserudi_talap_etti20181114_143200" "redactor_id" => string(4) "1152" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435611" 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) "435580" "title" => string(119) "ІІМ синтетикалық есірткі сатушылармен жаңа әдіс арқылы күреспек" "description" => string(576) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Мәжілістің бірінші оқылымында «Қазақстан …" "text" => string(3145) "<p style="text-align: justify;">Аталған құжаттың маңызын депутаттарға ҚР Ішкі істер министрі Қалмұханбек Қасымов түсіндірді.</p> …" "file" => string(6) "324716" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1885" "date" => string(19) "2018-11-14 11:21:00" "sef" => string(81) "iim_sintetikalik_eskirtki_satushilarmen_zhana_adis_arkili_kurespek20181114_112100" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "435580" "title" => string(119) "ІІМ синтетикалық есірткі сатушылармен жаңа әдіс арқылы күреспек" "description" => string(576) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Мәжілістің бірінші оқылымында «Қазақстан …" "text" => string(3145) "<p style="text-align: justify;">Аталған құжаттың маңызын депутаттарға ҚР Ішкі істер министрі Қалмұханбек Қасымов түсіндірді.</p> …" "file" => string(6) "324716" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1885" "date" => string(19) "2018-11-14 11:21:00" "sef" => string(81) "iim_sintetikalik_eskirtki_satushilarmen_zhana_adis_arkili_kurespek20181114_112100" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "144" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "435580" 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) "435287" "title" => string(171) "Мұғалімдер мен дәрігерлердің тұрғын үй мәселесін шешетін Заң жобасын әзірлеу керек - сенатор" "description" => string(372) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Сенатор Бірғаным Әйтімова ҚР Премьер-министрі Бақытжан Сағынтаевқа жолда …" "text" => string(6429) "<blockquote> <p style="text-align: justify;">«Еліміздің тұрақты дамуы халықтың өмір сүру деңгейін одан әрі арттыруға үлкен үміт …" "file" => string(6) "324200" "file_author" => string(0) "" "category_id" => string(2) "16" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2414" "date" => string(19) "2018-11-08 12:15:00" "sef" => string(109) "mugalimder_men_darigerlerdin_turgin_ui_maselesin_sheshetin_zan_zhobasin_azirleu_kerek__senator20181108_121500" "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) "435287" "title" => string(171) "Мұғалімдер мен дәрігерлердің тұрғын үй мәселесін шешетін Заң жобасын әзірлеу керек - сенатор" "description" => string(372) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Сенатор Бірғаным Әйтімова ҚР Премьер-министрі Бақытжан Сағынтаевқа жолда …" "text" => string(6429) "<blockquote> <p style="text-align: justify;">«Еліміздің тұрақты дамуы халықтың өмір сүру деңгейін одан әрі арттыруға үлкен үміт …" "file" => string(6) "324200" "file_author" => string(0) "" "category_id" => string(2) "16" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "1" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2414" "date" => string(19) "2018-11-08 12:15:00" "sef" => string(109) "mugalimder_men_darigerlerdin_turgin_ui_maselesin_sheshetin_zan_zhobasin_azirleu_kerek__senator20181108_121500" "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) "435287" 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) "434742" "title" => string(149) "Нұртай Сабильянов: Мемлекеттік-жекеменшік әріптестік саласында жүйелі жұмыс жоқ" "description" => string(298) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Үкімет сағатында Мәжіліс депутаты Нұртай Сабильянов мемлекеттік-жекеменш …" "text" => string(8046) "<blockquote> <p style="text-align: justify;">«Өздеріңіз білесіздер, мемлекеттік-жекеменшік әріптестіктің мақсаты - қызмет саласы …" "file" => string(6) "323194" "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) "2867" "date" => string(19) "2018-10-29 11:58:00" "sef" => string(97) "nurtai_sabilyanov_memlekettikzhekemenshik_ariptestik_salasinda_zhuieli_zhumis_zhok20181029_115800" "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) "434742" "title" => string(149) "Нұртай Сабильянов: Мемлекеттік-жекеменшік әріптестік саласында жүйелі жұмыс жоқ" "description" => string(298) "<p style="text-align: justify;">Астана, BAQ.KZ тілшісі. Үкімет сағатында Мәжіліс депутаты Нұртай Сабильянов мемлекеттік-жекеменш …" "text" => string(8046) "<blockquote> <p style="text-align: justify;">«Өздеріңіз білесіздер, мемлекеттік-жекеменшік әріптестіктің мақсаты - қызмет саласы …" "file" => string(6) "323194" "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) "2867" "date" => string(19) "2018-10-29 11:58:00" "sef" => string(97) "nurtai_sabilyanov_memlekettikzhekemenshik_ariptestik_salasinda_zhuieli_zhumis_zhok20181029_115800" "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) "434742" 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) "434598" "title" => string(150) "Айыппұлды төлеген соң түбіртекті полицияға көрсетудің қажеті болмайды – депутат" "description" => string(652) "<p style="text-align: justify;">Алматы, BAQ.KZ тілшісі. Автокөлікке қатысты төленген айыппұлдар бірден ортақ базаға түседі, яғни …" "text" => string(2677) "<p style="text-align: justify;">Депутат осы жылдың 1 тамызынан бастап жылжымайтын мүлікті тіркеудің мемлекеттік қызметтері «Азам …" "file" => string(6) "322874" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1888" "date" => string(19) "2018-10-25 16:11:00" "sef" => string(96) "aiippuldi_tolegen_son_tubirtekti_politsiyaga_korsetudin_kazheti_bolmaidi__deputat20181025_160800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "238" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "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) "434598" "title" => string(150) "Айыппұлды төлеген соң түбіртекті полицияға көрсетудің қажеті болмайды – депутат" "description" => string(652) "<p style="text-align: justify;">Алматы, BAQ.KZ тілшісі. Автокөлікке қатысты төленген айыппұлдар бірден ортақ базаға түседі, яғни …" "text" => string(2677) "<p style="text-align: justify;">Депутат осы жылдың 1 тамызынан бастап жылжымайтын мүлікті тіркеудің мемлекеттік қызметтері «Азам …" "file" => string(6) "322874" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1888" "date" => string(19) "2018-10-25 16:11:00" "sef" => string(96) "aiippuldi_tolegen_son_tubirtekti_politsiyaga_korsetudin_kazheti_bolmaidi__deputat20181025_160800" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "238" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "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) "434598" 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) "434538" "title" => string(96) "Мәжіліс депутаттарының аймақтарға сапары жалғасуда" "description" => string(238) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> ҚР Парламенті Мәжілісінің депутаттары Маңғыстау …" "text" => string(7888) "<p style="text-align: justify;">Мәжіліс депутаттары М.Чирков, А.Тасболатов, Б.Ізмұхамбетов және А. Мурадов Маңғыстау облысының т …" "file" => string(6) "322775" "file_author" => string(22) "интернеттен" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1983" "date" => string(19) "2018-10-24 20:35:00" "sef" => string(67) "mazhilis_deputattarinin_aimaktarga_sapari_zhalgasuda20181024_203400" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _changed => array(0) protected _original_values => array(39) ( "id" => string(6) "434538" "title" => string(96) "Мәжіліс депутаттарының аймақтарға сапары жалғасуда" "description" => string(238) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ.</a> ҚР Парламенті Мәжілісінің депутаттары Маңғыстау …" "text" => string(7888) "<p style="text-align: justify;">Мәжіліс депутаттары М.Чирков, А.Тасболатов, Б.Ізмұхамбетов және А. Мурадов Маңғыстау облысының т …" "file" => string(6) "322775" "file_author" => string(22) "интернеттен" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1983" "date" => string(19) "2018-10-24 20:35:00" "sef" => string(67) "mazhilis_deputattarinin_aimaktarga_sapari_zhalgasuda20181024_203400" "redactor_id" => string(3) "969" "tags" => NULL "type" => string(1) "0" "author_id" => string(1) "0" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(1) "0" "center_id" => string(1) "0" "center_type" => string(1) "0" "is_main_in_category" => string(1) "0" "flash" => NULL "exclusive" => string(1) "0" "newspaper_id" => string(1) "0" "is_chosen" => string(1) "0" "is_interview" => string(1) "0" "old_file" => NULL "edition_id" => string(1) "0" "og_title" => string(0) "" "og_description" => string(0) "" "og_keywords" => NULL "is_article" => string(1) "0" "is_recommended" => string(1) "0" "broadcast_use" => string(1) "0" ) protected _related => array(0) protected _valid => bool TRUE protected _loaded => bool TRUE protected _saved => bool FALSE protected _sorting => NULL protected _foreign_key_suffix => string(3) "_id" protected _object_name => string(4) "news" protected _object_plural => string(4) "news" protected _table_columns => array(39) ( "id" => array(9) ( "column_name" => string(2) "id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 1 "comment" => string(0) "" "extra" => string(14) "auto_increment" "key" => string(3) "PRI" "privileges" => string(31) "select,insert,update,references" ) "title" => array(10) ( "type" => string(6) "string" "column_name" => string(5) "title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 2 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "description" => array(9) ( "column_name" => string(11) "description" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 3 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "text" => array(9) ( "column_name" => string(4) "text" "column_default" => NULL "data_type" => string(10) "mediumtext" "is_nullable" => bool TRUE "ordinal_position" => integer 4 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "file" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 5 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "file_author" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "file_author" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 6 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "category_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "category_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 7 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "meta_title" => array(10) ( "type" => string(6) "string" "column_name" => string(10) "meta_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 8 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_description" => array(10) ( "type" => string(6) "string" "column_name" => string(16) "meta_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 9 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "meta_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(13) "meta_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 10 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main" => array(9) ( "column_name" => string(7) "is_main" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 11 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_active" => array(9) ( "column_name" => string(9) "is_active" "column_default" => NULL "data_type" => string(7) "tinyint" "is_nullable" => bool TRUE "ordinal_position" => integer 12 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "is_key" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(6) "is_key" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 13 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "views_count" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "views_count" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 14 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "date" => array(9) ( "column_name" => string(4) "date" "column_default" => NULL "data_type" => string(8) "datetime" "is_nullable" => bool TRUE "ordinal_position" => integer 15 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "sef" => array(10) ( "type" => string(6) "string" "column_name" => string(3) "sef" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 16 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "redactor_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(11) "redactor_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 17 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "tags" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "tags" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 18 "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "type" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(4) "type" "column_default" => string(1) "0" "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 19 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(3) "MUL" "privileges" => string(31) "select,insert,update,references" ) "author_id" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(9) "author_id" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 20 "display" => string(2) "11" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "lang" => array(10) ( "type" => string(6) "string" "column_name" => string(4) "lang" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 21 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "audio_file" => array(9) ( "column_name" => string(10) "audio_file" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 22 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "city_id" => array(9) ( "column_name" => string(7) "city_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 23 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_id" => array(9) ( "column_name" => string(9) "center_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 24 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "center_type" => array(9) ( "column_name" => string(11) "center_type" "column_default" => NULL "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 25 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_main_in_category" => array(13) ( "type" => string(3) "int" "min" => string(11) "-2147483648" "max" => string(10) "2147483647" "column_name" => string(19) "is_main_in_category" "column_default" => NULL "data_type" => string(3) "int" "is_nullable" => bool TRUE "ordinal_position" => integer 26 "display" => string(1) "4" "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "flash" => array(9) ( "column_name" => string(5) "flash" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 27 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "exclusive" => array(9) ( "column_name" => string(9) "exclusive" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 28 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "newspaper_id" => array(9) ( "column_name" => string(12) "newspaper_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 29 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_chosen" => array(9) ( "column_name" => string(9) "is_chosen" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 30 "comment" => string(27) "Выбор редакции" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_interview" => array(9) ( "column_name" => string(12) "is_interview" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 31 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "old_file" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "old_file" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 32 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "edition_id" => array(9) ( "column_name" => string(10) "edition_id" "column_default" => NULL "data_type" => string(12) "int unsigned" "is_nullable" => bool TRUE "ordinal_position" => integer 33 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_title" => array(10) ( "type" => string(6) "string" "column_name" => string(8) "og_title" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 34 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_description" => array(10) ( "type" => string(6) "string" "column_name" => string(14) "og_description" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 35 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "og_keywords" => array(10) ( "type" => string(6) "string" "column_name" => string(11) "og_keywords" "column_default" => NULL "data_type" => string(7) "varchar" "is_nullable" => bool TRUE "ordinal_position" => integer 36 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_article" => array(9) ( "column_name" => string(10) "is_article" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 37 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "is_recommended" => array(9) ( "column_name" => string(14) "is_recommended" "column_default" => string(1) "0" "data_type" => string(16) "tinyint unsigned" "is_nullable" => bool FALSE "ordinal_position" => integer 38 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) "broadcast_use" => array(9) ( "column_name" => string(13) "broadcast_use" "column_default" => string(1) "0" "data_type" => string(7) "tinyint" "is_nullable" => bool FALSE "ordinal_position" => integer 39 "comment" => string(0) "" "extra" => string(0) "" "key" => string(0) "" "privileges" => string(31) "select,insert,update,references" ) ) protected _updated_column => NULL protected _created_column => NULL protected _serialize_columns => array(0) protected _primary_key => string(2) "id" protected _primary_key_value => string(6) "434538" 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) "434518" "title" => string(77) "Маңғыстауда депутаттар халықпен кездесті" "description" => string(276) "<p style="text-align: justify;">Ақтау, BAQ.KZ. Мәжіліс депутаттары М.Чирков, А.Тасболатов, Б. Ізмұхамбетов және А. Мурадов Маңғы …" "text" => string(2035) "<p style="text-align: justify;">Депутаттар облыстағы сапарлары барысында Мұнайлы ауданының Қызылтөбе ауылындағы «Шлюмберже» мега …" "file" => string(6) "322743" "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) "2288" "date" => string(19) "2018-10-24 14:59:00" "sef" => string(55) "mangistauda_deputattar_halikpen_kezdesti20181024_145900" "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) "38111" "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) "434518" "title" => string(77) "Маңғыстауда депутаттар халықпен кездесті" "description" => string(276) "<p style="text-align: justify;">Ақтау, BAQ.KZ. Мәжіліс депутаттары М.Чирков, А.Тасболатов, Б. Ізмұхамбетов және А. Мурадов Маңғы …" "text" => string(2035) "<p style="text-align: justify;">Депутаттар облыстағы сапарлары барысында Мұнайлы ауданының Қызылтөбе ауылындағы «Шлюмберже» мега …" "file" => string(6) "322743" "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) "2288" "date" => string(19) "2018-10-24 14:59:00" "sef" => string(55) "mangistauda_deputattar_halikpen_kezdesti20181024_145900" "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) "38111" "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) "434518" 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) "434160" "title" => string(73) "Мәжіліс депутаттары ауылдарды аралайды" "description" => string(410) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Мәжіліс депутаттары ертеңнен бастап 27 қ …" "text" => string(1386) "<blockquote> <p style="text-align: justify;">«Мәжіліс бюросының шешіміне сәйкес, депутаттар ертеңнен бастап 27 қазанға дейін өңі …" "file" => string(6) "322009" "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) "2209" "date" => string(19) "2018-10-17 12:36:00" "sef" => string(54) "mazhilis_deputattari_onirlerdi_aralaidi20181017_124700" "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) "434160" "title" => string(73) "Мәжіліс депутаттары ауылдарды аралайды" "description" => string(410) "<p style="text-align: justify;">Астана, <a href="https://baq.kz/kk">BAQ.KZ</a> тілшісі. Мәжіліс депутаттары ертеңнен бастап 27 қ …" "text" => string(1386) "<blockquote> <p style="text-align: justify;">«Мәжіліс бюросының шешіміне сәйкес, депутаттар ертеңнен бастап 27 қазанға дейін өңі …" "file" => string(6) "322009" "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) "2209" "date" => string(19) "2018-10-17 12:36:00" "sef" => string(54) "mazhilis_deputattari_onirlerdi_aralaidi20181017_124700" "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) "434160" 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) "434148" "title" => string(118) "Нығматулин вице-министрге: Қазақша үйренетін уақыт келген шығар" "description" => string(357) "<p style="text-align: justify;">Астана, BAQ.kz тілшісі. Білім және ғылым вице-министрі Бибігүл Асылова қазақша қойылған сұраққа …" "text" => string(2573) "<p style="text-align: justify;">Бүгін Мәжілісте «2018-2020 жылдарға арналған республикалық бюджет туралы» ҚР Заңына өзгерістер м …" "file" => string(6) "321996" "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(5) "27114" "date" => string(19) "2018-10-17 11:47:00" "sef" => string(79) "nigmatulin_vitseministrge_kazaksha_uirenetin_uakit_kelgen_shigar20181017_113100" "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) "434148" "title" => string(118) "Нығматулин вице-министрге: Қазақша үйренетін уақыт келген шығар" "description" => string(357) "<p style="text-align: justify;">Астана, BAQ.kz тілшісі. Білім және ғылым вице-министрі Бибігүл Асылова қазақша қойылған сұраққа …" "text" => string(2573) "<p style="text-align: justify;">Бүгін Мәжілісте «2018-2020 жылдарға арналған республикалық бюджет туралы» ҚР Заңына өзгерістер м …" "file" => string(6) "321996" "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(5) "27114" "date" => string(19) "2018-10-17 11:47:00" "sef" => string(79) "nigmatulin_vitseministrge_kazaksha_uirenetin_uakit_kelgen_shigar20181017_113100" "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) "434148" 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) "433622" "title" => string(112) "Депутат: Халықтың жанына батқан мәселе шешімін табатын болды" "description" => string(437) "<p style="text-align: justify;">ҚР Парламенті Мәжілісінің депутаты Сауытбек Абдрахманов Елбасы Нұрсұлтан Назарбаевтың Қазақстан …" "text" => string(5846) "<p style="text-align: justify;">Оның пікірінше, Елбасы Жолдауы елімізді жаңғырудың жаңа белесіне шығарады.</p> <p style="text-a …" "file" => string(6) "320994" "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) "1" "views_count" => string(4) "2179" "date" => string(19) "2018-10-06 16:57:00" "sef" => string(77) "deputat_haliktin_zhanina_batkan_masele_sheshimin_tabatin_boldi20181006_165400" "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) "433622" "title" => string(112) "Депутат: Халықтың жанына батқан мәселе шешімін табатын болды" "description" => string(437) "<p style="text-align: justify;">ҚР Парламенті Мәжілісінің депутаты Сауытбек Абдрахманов Елбасы Нұрсұлтан Назарбаевтың Қазақстан …" "text" => string(5846) "<p style="text-align: justify;">Оның пікірінше, Елбасы Жолдауы елімізді жаңғырудың жаңа белесіне шығарады.</p> <p style="text-a …" "file" => string(6) "320994" "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) "1" "views_count" => string(4) "2179" "date" => string(19) "2018-10-06 16:57:00" "sef" => string(77) "deputat_haliktin_zhanina_batkan_masele_sheshimin_tabatin_boldi20181006_165400" "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) "433622" 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) "433603" "title" => string(78) "Биылғы Жолдау бұрынғыдан өзгеше – депутат" "description" => string(740) "<p style="text-align: justify;">Кеше Елбасы халыққа Жолдауында бақытты өмір сүру үшін балаларға жақсы тәрбие, сапалы білім беру …" "text" => string(2394) "<p style="text-align: justify;">Қазақстан халықтары ассамблеясы кеңесінің мүшесі әрі Қазақстан ұйғырларының республикалық мәдени …" "file" => string(6) "320965" "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) "2077" "date" => string(19) "2018-10-06 16:47:00" "sef" => string(57) "biilgi_zholdau_buringidan_ozgeshe__deputat20181006_122600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "238" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "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) "433603" "title" => string(78) "Биылғы Жолдау бұрынғыдан өзгеше – депутат" "description" => string(740) "<p style="text-align: justify;">Кеше Елбасы халыққа Жолдауында бақытты өмір сүру үшін балаларға жақсы тәрбие, сапалы білім беру …" "text" => string(2394) "<p style="text-align: justify;">Қазақстан халықтары ассамблеясы кеңесінің мүшесі әрі Қазақстан ұйғырларының республикалық мәдени …" "file" => string(6) "320965" "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) "2077" "date" => string(19) "2018-10-06 16:47:00" "sef" => string(57) "biilgi_zholdau_buringidan_ozgeshe__deputat20181006_122600" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "0" "author_id" => string(3) "238" "lang" => NULL "audio_file" => string(1) "0" "city_id" => string(5) "36870" "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) "433603" 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) "433575" "title" => string(149) "Депутаттар Целиноград ауданындағы өрт сөндіру бөлімшелерінің жұмысымен танысты" "description" => string(301) "<p>Қазақстан Республикасы Парламент Мәжілісі депутаттары Ақмола облысы Целиноград ауданында жұмыс сапарымен барып қайтты, деп ха …" "text" => string(5438) "<p style="text-align: justify;">Іс-шарада ҚР Парламенті Мәжілісі Заңнама және сот-құқықтық реформа комитетіне мүше депутаттар В. …" "file" => string(6) "320919" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2684" "date" => string(19) "2018-10-06 10:17:00" "sef" => string(96) "deputattar_tselinograd_audanindagi_ort_sondiru_bolimshelerinin_zhumisimen_tanisti20181006_101700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "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) "433575" "title" => string(149) "Депутаттар Целиноград ауданындағы өрт сөндіру бөлімшелерінің жұмысымен танысты" "description" => string(301) "<p>Қазақстан Республикасы Парламент Мәжілісі депутаттары Ақмола облысы Целиноград ауданында жұмыс сапарымен барып қайтты, деп ха …" "text" => string(5438) "<p style="text-align: justify;">Іс-шарада ҚР Парламенті Мәжілісі Заңнама және сот-құқықтық реформа комитетіне мүше депутаттар В. …" "file" => string(6) "320919" "file_author" => string(0) "" "category_id" => string(2) "17" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "2684" "date" => string(19) "2018-10-06 10:17:00" "sef" => string(96) "deputattar_tselinograd_audanindagi_ort_sondiru_bolimshelerinin_zhumisimen_tanisti20181006_101700" "redactor_id" => string(4) "1122" "tags" => NULL "type" => string(1) "1" "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) "433575" 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) "433394" "title" => string(141) ""Өнімдері улы" деп танылған ет-консерві кəсіпорны депутаттардан көмек сұрады" "description" => string(289) "<p style="text-align: justify;">Төменгі палата отырысында Мәжіліс депутаты Кеңес Əбсаттаров қазақстандық кəсіпорынның проблемасы …" "text" => string(3482) "<blockquote> <p style="text-align: justify;">"Қазақстанның ауыл шаруашылығы өндірушілері бізден көмек сұрады. Олар өнімдерін Рес …" "file" => string(6) "320613" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1912" "date" => string(19) "2018-10-03 14:35:00" "sef" => string(87) "onimderi_uli_dep_tanilgan_etkonservi_ksiporni_deputattardan_komek_suradi20181003_143500" "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) "433394" "title" => string(141) ""Өнімдері улы" деп танылған ет-консерві кəсіпорны депутаттардан көмек сұрады" "description" => string(289) "<p style="text-align: justify;">Төменгі палата отырысында Мәжіліс депутаты Кеңес Əбсаттаров қазақстандық кəсіпорынның проблемасы …" "text" => string(3482) "<blockquote> <p style="text-align: justify;">"Қазақстанның ауыл шаруашылығы өндірушілері бізден көмек сұрады. Олар өнімдерін Рес …" "file" => string(6) "320613" "file_author" => string(0) "" "category_id" => string(1) "6" "meta_title" => string(0) "" "meta_description" => string(0) "" "meta_keywords" => string(0) "" "is_main" => string(1) "0" "is_active" => string(1) "1" "is_key" => string(1) "0" "views_count" => string(4) "1912" "date" => string(19) "2018-10-03 14:35:00" "sef" => string(87) "onimderi_uli_dep_tanilgan_etkonservi_ksiporni_deputattardan_komek_suradi20181003_143500" "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) ""